Class FabricServerPlatform

java.lang.Object
dev.rollczi.litecommands.platform.AbstractPlatform<net.minecraft.server.command.ServerCommandSource,LiteFabricSettings>
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,LiteFabricSettings>

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, settings
  • Constructor Summary

    Constructors
    Constructor
    Description
    FabricServerPlatform(LiteFabricSettings settings, dev.rollczi.litecommands.permission.PermissionService permissionService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    dev.rollczi.litecommands.platform.PlatformSender
    createSender(net.minecraft.server.command.ServerCommandSource nativeSender)
     
    dev.rollczi.litecommands.platform.PlatformSenderFactory<net.minecraft.server.command.ServerCommandSource>
     
    protected void
     

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

    createCommand, hook, registerAllCommands, unhook

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

    getConfiguration, 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

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

    • FabricServerPlatform

      public FabricServerPlatform(LiteFabricSettings settings, dev.rollczi.litecommands.permission.PermissionService permissionService)
  • Method Details

    • registerEvents

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

      public dev.rollczi.litecommands.platform.PlatformSenderFactory<net.minecraft.server.command.ServerCommandSource> getSenderFactory()
    • createSender

      public dev.rollczi.litecommands.platform.PlatformSender createSender(net.minecraft.server.command.ServerCommandSource nativeSender)