Argument Types

Various argument types that are found in native conditions

Regular

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.

conditions:
# Array of game mode types
- gamemode { gm = creative, survival, adventure }
# Array of material types
- standingon { mat = grass_block, dirt_block }
# Array of furniture id strings
- lookingatfurniture { id = table, chair }

Last updated