Description
Matches the block the target entity is standing on.
A list of available materials can be found on the Spigot Javadoc
Attributes
Attribute | Aliases | Description | Default |
---|---|---|---|
material | types, type, t, mat, m, block, b | A list of materials. The condition will match if one is found | STONE |
Examples
TargetConditions:
- onblock{m=BEDROCK,OAK_LEAVES,ACACIA_FENCE} false
TargetConditions:
- onblock{m=DIRT,STONE,GRAVEL} true