Class ContentParser.Unit<C>

java.lang.Object
com.xpdustry.distributor.command.cloud.parser.ContentParser<C,mindustry.type.UnitType>
com.xpdustry.distributor.command.cloud.parser.ContentParser.Unit<C>
All Implemented Interfaces:
org.incendo.cloud.parser.ArgumentParser<C,mindustry.type.UnitType>, org.incendo.cloud.suggestion.SuggestionProviderHolder<C>
Enclosing class:
ContentParser<C,T extends mindustry.ctype.MappableContent>

public static final class ContentParser.Unit<C> extends ContentParser<C,mindustry.type.UnitType>
  • Constructor Details

    • Unit

      public Unit()
  • Method Details

    • unitParser

      public static <C> org.incendo.cloud.parser.ParserDescriptor<C,mindustry.type.UnitType> unitParser()
    • unitComponent

      public static <C> org.incendo.cloud.component.CommandComponent.Builder<C,mindustry.type.UnitType> unitComponent()