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.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
ConstructorsConstructorDescriptionFabricOnlyPlayerContext(dev.rollczi.litecommands.message.MessageRegistry<net.minecraft.server.command.ServerCommandSource> messageRegistry) -
Method Summary
-
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:
providein interfacedev.rollczi.litecommands.context.ContextProvider<net.minecraft.server.command.ServerCommandSource,P extends net.minecraft.entity.player.PlayerEntity>
-