Class FabricServerPlatform

java.lang.Object
dev.rollczi.litecommands.platform.AbstractPlatform<net.minecraft.server.command.ServerCommandSource,dev.rollczi.litecommands.platform.PlatformSettings>
dev.rollczi.litecommands.fabric.FabricAbstractPlatform<net.minecraft.server.command.ServerCommandSource>
dev.rollczi.litecommands.fabric.server.FabricServerPlatform
All Implemented Interfaces:
dev.rollczi.litecommands.platform.Platform<net.minecraft.server.command.ServerCommandSource,dev.rollczi.litecommands.platform.PlatformSettings>

public class FabricServerPlatform extends FabricAbstractPlatform<net.minecraft.server.command.ServerCommandSource>
  • Field Summary

    Fields inherited from class dev.rollczi.litecommands.fabric.FabricAbstractPlatform

    COMMAND_API_V2, fabricCommands

    Fields inherited from class dev.rollczi.litecommands.platform.AbstractPlatform

    commandRoutes, senderFactory, settings
  • Constructor Summary

    Constructors
    Constructor
    Description
    FabricServerPlatform(dev.rollczi.litecommands.platform.PlatformSettings settings)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected FabricAbstractCommand<net.minecraft.server.command.ServerCommandSource>
    createCommand(dev.rollczi.litecommands.command.CommandRoute<net.minecraft.server.command.ServerCommandSource> commandRoute, dev.rollczi.litecommands.platform.PlatformInvocationListener<net.minecraft.server.command.ServerCommandSource> invocationHook, dev.rollczi.litecommands.platform.PlatformSuggestionListener<net.minecraft.server.command.ServerCommandSource> suggestionHook)
     
    protected void
     

    Methods inherited from class dev.rollczi.litecommands.fabric.FabricAbstractPlatform

    hook, unhook

    Methods inherited from class dev.rollczi.litecommands.platform.AbstractPlatform

    createSender, getConfiguration, getSenderFactory, register, setConfiguration, unregister, unregisterAll

    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.platform.Platform

    createSender, getConfiguration, getSenderFactory, register, register, setConfiguration, start, stop, unregister, unregisterAll
  • Constructor Details

    • FabricServerPlatform

      public FabricServerPlatform(dev.rollczi.litecommands.platform.PlatformSettings settings)
  • Method Details

    • registerEvents

      protected void registerEvents()
      Specified by:
      registerEvents in class FabricAbstractPlatform<net.minecraft.server.command.ServerCommandSource>
    • createCommand

      protected FabricAbstractCommand<net.minecraft.server.command.ServerCommandSource> createCommand(dev.rollczi.litecommands.command.CommandRoute<net.minecraft.server.command.ServerCommandSource> commandRoute, dev.rollczi.litecommands.platform.PlatformInvocationListener<net.minecraft.server.command.ServerCommandSource> invocationHook, dev.rollczi.litecommands.platform.PlatformSuggestionListener<net.minecraft.server.command.ServerCommandSource> suggestionHook)
      Specified by:
      createCommand in class FabricAbstractPlatform<net.minecraft.server.command.ServerCommandSource>