Argument Types
Various argument types that are found in native conditions
Regular
Integer
A real number
1
2
1000...
{distance = 10}
String
Regular text. Some may support PAPI placeholders
hello
%player_name%...
{first=%player_name%}
Boolean
true or false
true
false
{value=true}
Type
Specific type (clarified in the condition list)
creative
survival
grass_block
{gm=creative}
Operation
Operation to perform on two variables
==
<=
>=
<
>
{oper= <=}
{o==}
Location
A location in the players current world
[ x, y, z]
[ 43, 64, -43]
{ l = [43, 64, -43] }
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