?blockat condition to evaluate the block material at a location beyond inherited skill context.
For example, a TriggerCondition using
blockat{b=STONE;yo=-1}would check the block 1 below the trigger's location, while a TargetCondition ofblockat{b=DIRT;yo=1}would check the block one above the inherited target location.
types | type | t | material | mat | m | block | b blockmatcher to check for
x | y | z coordinate inputs, default to 0
relative | r defaults to true, if true evaluates xyz offsets from the evaluating scope. If false, treats x/y/z as absolute coordinates.
targetlocation | location | loc accepts "world,x,y,z" string input for Mythic parity, and location targeters such as @selfLocation{fo=2;so=1}. If set overrides x/y/z and relative attributes.
buried_treasure:
Conditions:
- blockat{b=SAND;loc=@self{fo=2}}
TargetConditions:
- blockat{b=SANDSTONE;y=-1}
TriggerConditions:
- onblock{b=SAND}
- blockat{b=SAND;y=-2}
Skills:
- idk bury treasure here ig