Class FabricAbstractCommand<SOURCE>

java.lang.Object
dev.rollczi.litecommands.fabric.FabricAbstractCommand<SOURCE>
Direct Known Subclasses:
FabricClientCommand, FabricServerCommand

public abstract class FabricAbstractCommand<SOURCE> extends Object
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    FabricAbstractCommand(dev.rollczi.litecommands.command.CommandRoute<SOURCE> baseRoute, dev.rollczi.litecommands.platform.PlatformInvocationListener<SOURCE> invocationHook, dev.rollczi.litecommands.platform.PlatformSuggestionListener<SOURCE> suggestionHook)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract dev.rollczi.litecommands.platform.PlatformSender
     
    com.mojang.brigadier.builder.LiteralArgumentBuilder<SOURCE>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FabricAbstractCommand

      protected FabricAbstractCommand(dev.rollczi.litecommands.command.CommandRoute<SOURCE> baseRoute, dev.rollczi.litecommands.platform.PlatformInvocationListener<SOURCE> invocationHook, dev.rollczi.litecommands.platform.PlatformSuggestionListener<SOURCE> suggestionHook)
  • Method Details

    • toLiteral

      public com.mojang.brigadier.builder.LiteralArgumentBuilder<SOURCE> toLiteral()
    • createSender

      protected abstract dev.rollczi.litecommands.platform.PlatformSender createSender(SOURCE source)