Class PlayerContext
java.lang.Object
dev.rollczi.litecommands.minestom.context.PlayerContext
- All Implemented Interfaces:
dev.rollczi.litecommands.context.ContextProvider<net.minestom.server.command.CommandSender,net.minestom.server.entity.Player>
public class PlayerContext
extends Object
implements dev.rollczi.litecommands.context.ContextProvider<net.minestom.server.command.CommandSender,net.minestom.server.entity.Player>
-
Constructor Summary
ConstructorsConstructorDescriptionPlayerContext(dev.rollczi.litecommands.message.MessageRegistry<net.minestom.server.command.CommandSender> messageRegistry) -
Method Summary
Modifier and TypeMethodDescriptiondev.rollczi.litecommands.context.ContextResult<net.minestom.server.entity.Player> provide(dev.rollczi.litecommands.invocation.Invocation<net.minestom.server.command.CommandSender> invocation)
-
Constructor Details
-
PlayerContext
public PlayerContext(dev.rollczi.litecommands.message.MessageRegistry<net.minestom.server.command.CommandSender> messageRegistry)
-
-
Method Details
-
provide
public dev.rollczi.litecommands.context.ContextResult<net.minestom.server.entity.Player> provide(dev.rollczi.litecommands.invocation.Invocation<net.minestom.server.command.CommandSender> invocation) - Specified by:
providein interfacedev.rollczi.litecommands.context.ContextProvider<net.minestom.server.command.CommandSender,net.minestom.server.entity.Player>
-