Class FabricOnlyPlayerContext<P extends net.minecraft.entity.player.PlayerEntity>

java.lang.Object
dev.rollczi.litecommands.fabric.context.FabricOnlyPlayerContext<P>
All Implemented Interfaces:
dev.rollczi.litecommands.context.ContextChainedProvider<net.minecraft.server.command.ServerCommandSource,P>, dev.rollczi.litecommands.context.ContextProvider<net.minecraft.server.command.ServerCommandSource,P>

public class FabricOnlyPlayerContext<P extends net.minecraft.entity.player.PlayerEntity> extends Object implements dev.rollczi.litecommands.context.ContextProvider<net.minecraft.server.command.ServerCommandSource,P>
  • Constructor Summary

    Constructors
    Constructor
    Description
    FabricOnlyPlayerContext(dev.rollczi.litecommands.message.MessageRegistry<net.minecraft.server.command.ServerCommandSource> messageRegistry)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    dev.rollczi.litecommands.context.ContextResult<P>
    provide(dev.rollczi.litecommands.invocation.Invocation<net.minecraft.server.command.ServerCommandSource> invocation)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface dev.rollczi.litecommands.context.ContextProvider

    provide
  • Constructor Details

    • FabricOnlyPlayerContext

      public FabricOnlyPlayerContext(dev.rollczi.litecommands.message.MessageRegistry<net.minecraft.server.command.ServerCommandSource> messageRegistry)
  • Method Details

    • provide

      public dev.rollczi.litecommands.context.ContextResult<P> provide(dev.rollczi.litecommands.invocation.Invocation<net.minecraft.server.command.ServerCommandSource> invocation)
      Specified by:
      provide in interface dev.rollczi.litecommands.context.ContextProvider<net.minecraft.server.command.ServerCommandSource,P extends net.minecraft.entity.player.PlayerEntity>