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>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.xpdustry.distributor.command.cloud.parser.ContentParser
ContentParser.Block<C>, ContentParser.ContentParseException, ContentParser.Item<C>, ContentParser.Liquid<C>, ContentParser.Planet<C>, ContentParser.Status<C>, ContentParser.Unit<C>, ContentParser.Weather<C> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <C> org.incendo.cloud.component.CommandComponent.Builder<C,mindustry.type.UnitType> static <C> org.incendo.cloud.parser.ParserDescriptor<C,mindustry.type.UnitType> Methods inherited from class com.xpdustry.distributor.command.cloud.parser.ContentParser
parseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.incendo.cloud.parser.ArgumentParser
flatMap, flatMapSuccess, mapSuccess, parseFuture, suggestionProvider
-
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()
-