java.lang.Object
net.minestom.server.command.builder.arguments.ArgumentType
Convenient class listing all the basics
Argument
.
Please see the specific class documentation for further info.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ArgumentBlockState
BlockState
(String id) static ArgumentBoolean
static ArgumentColor
static ArgumentCommand
static ArgumentComponent
static ArgumentDouble
static ArgumentEntity
Deprecated.static ArgumentEntity
static ArgumentEntityType
EntityType
(String id) static <E extends Enum>
ArgumentEnum<E> static ArgumentFloat
static ArgumentFloatRange
FloatRange
(String id) static Argument<?>[]
Generates arguments from a string format.static ArgumentGroup
static ArgumentInteger
static ArgumentIntRange
static ArgumentItemStack
static ArgumentLiteral
static ArgumentLong
static <T> ArgumentLoop
<T> static ArgumentNbtTag
static ArgumentNbtCompoundTag
NbtCompound
(String id) static ArgumentParticle
static ArgumentRelativeVec2
RelativeVec2
(String id) static ArgumentRelativeVec3
RelativeVec3
(String id) static ArgumentResource
static ArgumentResourceLocation
static ArgumentResourceOrTag
ResourceOrTag
(String id, String identifier) static ArgumentString
static ArgumentStringArray
StringArray
(String id) static ArgumentTime
static ArgumentUUID
static ArgumentWord
-
Constructor Details
-
ArgumentType
public ArgumentType()
-
-
Method Details
-
Literal
- See Also:
-
Group
- See Also:
-
Loop
- See Also:
-
Boolean
- See Also:
-
Integer
- See Also:
-
Double
- See Also:
-
Float
- See Also:
-
String
- See Also:
-
Word
- See Also:
-
StringArray
- See Also:
-
Command
- See Also:
-
Enum
- See Also:
-
Color
- See Also:
-
Time
- See Also:
-
Particle
- See Also:
-
Resource
- See Also:
-
ResourceLocation
- See Also:
-
ResourceOrTag
- See Also:
-
EntityType
- See Also:
-
BlockState
- See Also:
-
IntRange
- See Also:
-
FloatRange
- See Also:
-
Entity
- See Also:
-
ItemStack
- See Also:
-
Component
- See Also:
-
UUID
- See Also:
-
NBT
- See Also:
-
NbtCompound
- See Also:
-
RelativeBlockPosition
- See Also:
-
RelativeVec3
- See Also:
-
RelativeVec2
- See Also:
-
generate
Generates arguments from a string format.Example: "Entity<targets> Integer<number>"
Note: this feature is in beta and is very likely to change depending on feedback.
-
Long
- See Also:
-
Entities
Deprecated.useEntity(String)
- See Also:
-
Entity(String)