ConditionLocation

cuboid

since v4.5

Whether the target is within the given cuboid between location1 x location2

Aliases

incuboid

Configuration Fields (3)

NameTypeDefaultDescription
location1
loc1, l1, a
Stringx,y,z coordinates for the 1st point
location2
loc2, l2, b
Stringx,y,z coordinates for the 2nd point
relative
r
BooleanWhether or not the coordinates should be relative to the caster

Examples & Notes

Examples

  TargetConditions:
  - cuboid{location1=x,y,z;location2=x,y,z;relative=true}

Universal Condition Options

Author:
jaylawl
Community-maintained documentation for the Mythic plugin ecosystem.