register Hit Block
Registers a new trigger that runs whenever a block is left clicked
Note: this is not continuously called while the block is being broken, only once when first left clicked.
Passes through two arguments:
The com.chattriggers.ctjs.minecraft.wrappers.world.block.Block being hit
The event, which can be cancelled
Available modifications:
Trigger.setPriority Sets the priority
Return
The trigger for additional modification
Parameters
method
The method to call when the event is fired