Argument Types
Various argument types that are found in native conditions
Regular
Name | Description | Value examples | Concrete examples |
---|---|---|---|
Integer | A real number |
|
|
String | Regular text. Some may support PAPI placeholders |
|
|
Boolean | true or false |
|
|
Type | Specific type (clarified in the condition list) |
|
|
Operation | Operation to perform on two variables |
|
|
Location | A location in the players current world |
|
|
Slot | A players slot | found here |
|
Arrays
Some arguments support an array of specific types. For example the gamemode
condition can define multiple game modes like so: gamemode{gm=creative,survival}
which will trigger the condition if the players gamemode is either creative or survival. Array options are separated with a comma " , ". It's optional to specify multiple values in an array, it can just as well consist of a single value.
Last updated