Package net.minestom.server.command
Enum Class ArgumentParserType
- All Implemented Interfaces:
Serializable,Comparable<ArgumentParserType>,Constable,net.kyori.adventure.key.Keyed,Holder,RegistryKey,StaticProtocolObject
AUTOGENERATED by GenericEnumGenerator
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minestom.server.registry.Holder
Holder.Direct<T> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Codec<ArgumentParserType> static final NetworkBuffer.Type<ArgumentParserType> -
Method Summary
Modifier and TypeMethodDescriptionintid()@NotNull net.kyori.adventure.key.Keykey()static ArgumentParserTypeReturns the enum constant of this class with the specified name.static ArgumentParserType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface net.minestom.server.registry.Holder
asKey, asValue, isDirect, resolve, unwrapMethods inherited from interface net.minestom.server.registry.StaticProtocolObject
name, registry
-
Enum Constant Details
-
BOOL
-
FLOAT
-
DOUBLE
-
INTEGER
-
LONG
-
STRING
-
ENTITY
-
GAME_PROFILE
-
BLOCK_POS
-
COLUMN_POS
-
VEC3
-
VEC2
-
BLOCK_STATE
-
BLOCK_PREDICATE
-
ITEM_STACK
-
ITEM_PREDICATE
-
COLOR
-
COMPONENT
-
STYLE
-
MESSAGE
-
NBT_COMPOUND_TAG
-
NBT_TAG
-
NBT_PATH
-
OBJECTIVE
-
OBJECTIVE_CRITERIA
-
OPERATION
-
PARTICLE
-
ANGLE
-
ROTATION
-
SCOREBOARD_SLOT
-
SCORE_HOLDER
-
SWIZZLE
-
TEAM
-
ITEM_SLOT
-
ITEM_SLOTS
-
RESOURCE_LOCATION
-
FUNCTION
-
ENTITY_ANCHOR
-
INT_RANGE
-
FLOAT_RANGE
-
DIMENSION
-
GAMEMODE
-
TIME
-
RESOURCE_OR_TAG
-
RESOURCE_OR_TAG_KEY
-
RESOURCE
-
RESOURCE_KEY
-
RESOURCE_SELECTOR
-
TEMPLATE_MIRROR
-
TEMPLATE_ROTATION
-
HEIGHTMAP
-
LOOT_TABLE
-
LOOT_PREDICATE
-
LOOT_MODIFIER
-
UUID
-
-
Field Details
-
NETWORK_TYPE
-
CODEC
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
key
@NotNull public @NotNull net.kyori.adventure.key.Key key()- Specified by:
keyin interfacenet.kyori.adventure.key.Keyed- Specified by:
keyin interfaceStaticProtocolObject
-
id
public int id()- Specified by:
idin interfaceStaticProtocolObject
-