Pos rule test

Helpers that build a minecraft:pos_rule_test object, one for each of its types. Where a field takes one, write the helper's call; its name is the type it makes. Click a type to see what it accepts.

AlwaysTrue

AlwaysTrue
AlwaysTrue()

AxisAlignedLinearPos

AxisAlignedLinearPos
AxisAlignedLinearPos(axis?, min_dist?, max_dist?, min_chance?, max_chance?)
axisoptional
Axis

Defaults to y.

min_distoptional
int 0..255
max_distoptional
int 0..255
min_chanceoptional
number 0..1
max_chanceoptional
number 0..1

LinearPos

LinearPos
LinearPos(min_dist?, max_dist?, min_chance?, max_chance?)
min_distoptional
int 0..255
max_distoptional
int 0..255
min_chanceoptional
number 0..1
max_chanceoptional
number 0..1