Class InstanceContext
java.lang.Object
dev.rollczi.litecommands.minestom.context.InstanceContext
- All Implemented Interfaces:
dev.rollczi.litecommands.context.ContextChainedProvider<net.minestom.server.command.CommandSender,,net.minestom.server.instance.Instance> dev.rollczi.litecommands.context.ContextProvider<net.minestom.server.command.CommandSender,net.minestom.server.instance.Instance>
public class InstanceContext
extends Object
implements dev.rollczi.litecommands.context.ContextProvider<net.minestom.server.command.CommandSender,net.minestom.server.instance.Instance>
-
Constructor Summary
ConstructorsConstructorDescriptionInstanceContext(dev.rollczi.litecommands.message.MessageRegistry<net.minestom.server.command.CommandSender> messageRegistry) -
Method Summary
Modifier and TypeMethodDescriptiondev.rollczi.litecommands.context.ContextResult<net.minestom.server.instance.Instance> provide(dev.rollczi.litecommands.invocation.Invocation<net.minestom.server.command.CommandSender> invocation) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.rollczi.litecommands.context.ContextProvider
provide
-
Constructor Details
-
InstanceContext
public InstanceContext(dev.rollczi.litecommands.message.MessageRegistry<net.minestom.server.command.CommandSender> messageRegistry)
-
-
Method Details
-
provide
public dev.rollczi.litecommands.context.ContextResult<net.minestom.server.instance.Instance> 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.instance.Instance>
-