Class LocationContext

java.lang.Object
cn.ycraft.limbo.command.context.LocationContext
All Implemented Interfaces:
dev.rollczi.litecommands.context.ContextChainedProvider<CommandSender,Location>, dev.rollczi.litecommands.context.ContextProvider<CommandSender,Location>

public class LocationContext extends Object implements dev.rollczi.litecommands.context.ContextProvider<CommandSender,Location>
  • Constructor Details

    • LocationContext

      public LocationContext(Supplier<Object> errorMessage)
  • Method Details

    • provide

      public dev.rollczi.litecommands.context.ContextResult<Location> provide(dev.rollczi.litecommands.invocation.Invocation<CommandSender> invocation)
      Specified by:
      provide in interface dev.rollczi.litecommands.context.ContextProvider<CommandSender,Location>