ConditionLocation

blockType

Tests the material type present at the target location

Aliases

inblockinsideblock

Configuration Fields (1)

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

Examples & Notes

Examples

  Conditions:
  - blocktype{type=dirt} true
  Conditions:
  - blockType{type=#leaves,*_log,redstone_torch[lit=true]}

Universal Condition Options

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