Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Verifies whether the entity is inside any of the listed blocks.
Inside Block Notifier Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| block_list | not set | Array of Block List items | List of blocks, with certain block states, that we are monitoring to see if the entity is inside. | Boat: [{"block":{"name":"minecraft:bubble_column","states":{"drag_down":true}},"entered_block_event":{"event":"minecraft:entered_bubble_column_down","target":"self"},"exited_block_event":{"event":"minecraft:exited_bubble_column","target":"self"}},{"block":{"name":"minecraft:bubble_column","states":{"drag_down":false}},"entered_block_event":{"event":"minecraft:entered_bubble_column_up","target":"self"},"exited_block_event":{"event":"minecraft:exited_bubble_column","target":"self"}}] |
Block List
Block Entry Properties
JSON path: block_list
| Name | Default Value | Type | Description |
|---|---|---|---|
| block | not set | Block item | The block to monitor, including name and optional states. |
| entered_block_event | not set | Minecraft Event Trigger | Event to fire when the entity enters the block. |
| exited_block_event | not set | Minecraft Event Trigger | Event to fire when the entity exits the block. |
Block
Block Descriptor Properties
JSON path: block_list > block
| Name | Default Value | Type | Description |
|---|---|---|---|
| name | not set | String | The block identifier. |
| states | not set | Keyed collection of boolean values | Block states to match. |
Samples
Boat
"minecraft:inside_block_notifier": {
"block_list": [
{
"block": {
"name": "minecraft:bubble_column",
"states": {
"drag_down": true
}
},
"entered_block_event": {
"event": "minecraft:entered_bubble_column_down",
"target": "self"
},
"exited_block_event": {
"event": "minecraft:exited_bubble_column",
"target": "self"
}
},
{
"block": {
"name": "minecraft:bubble_column",
"states": {
"drag_down": false
}
},
"entered_block_event": {
"event": "minecraft:entered_bubble_column_up",
"target": "self"
},
"exited_block_event": {
"event": "minecraft:exited_bubble_column",
"target": "self"
}
}
]
}