ConditionLocation

onBlock

Matches the block the target entity is standing on

Configuration Fields (1)

NameTypeDefaultDescription
types
block, b, type, t, material, mat, m
AbstractBlockMatcherA list of materials to check

Examples & Notes

Examples

  TargetConditions:
  - onblock{m=BEDROCK,OAK_LEAVES,ACACIA_FENCE} false
  TargetConditions:
  - onblock{m=DIRT,STONE,GRAVEL} true

Universal Condition Options

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