On Entity - on Collide With Block (Event) — Lusk
Addon: Lusk · Category: Event · Since: 1.1.1
Syntax
[on] entity ((collide with|in[side]) [a] block)Description
Called when an entity enters the hitbox of a block. Only called for blocks that react when an entity is inside. If cancelled, any action that would have resulted from that entity being in the block will not happen (such as extinguishing an entity in a cauldron). Blocks this is currently called for:
Big dripleaf Bubble column Buttons Cactus Campfire Cauldron Crops Ender Portal Fires Frogspawn Honey Hopper Detector rails Nether portals Powdered snow Pressure plates Sweet berry bush Tripwire Waterlily Web Wither rose
Event Values
- event-block
- event-command sender
- event-entity
- event-entity type
- event-location
- event-world
Examples