Matches Trigger Block
Description
A comparison condition that compares the block that triggered the skill with the block at the targeted location. It passes when both blocks share the same block data.
The trigger block is provided by block triggers such as onBlockBreak, onStartDestroyBlock and onStopDestroyBlock. Because it is a comparison condition, it needs a location target.
This condition takes no attributes.
Examples
Skills:
- message{m="Same block type"} @self ~onBlockBreak ?matchesTriggerBlock @Origin
Aliases
- matchesTriggeringBlock