-
Bug
-
Resolution: Incomplete
-
None
-
1.18.30
-
None
-
Unconfirmed
-
Windows
| minecraft:on_player_placing |
does nothing when a player places down an experimental block
Yes I have exp toggles on, here is example block code:
{
"format_version": "1.16.100",
"minecraft:block": {
"description": {
"identifier": "5fs:example",
"register_to_creative_menu": true,
"category": "Nature"
},
"components": {
"minecraft:geometry": "geometry.example",
"minecraft:entity_collision": true,
"minecraft:block_light_absorption": 0,
"minecraft:destroy_time": 99999,
"minecraft:explosion_resistance": 100,
"minecraft:loot": "loot_tables/empty.json",
"minecraft:map_color": "#ffffff",
"minecraft:material_instances": {
"*": {
"texture": "example",
"render_method": "alpha_test"
}
},
"minecraft:ticking": { // THIS WORKS
"looping": true,
"range": [30, 60],
"on_tick": {
"event": "will_replace",
"target": "self"
}
},
"minecraft:on_player_placing": { // THIS DOES NOT WORK
"event": "player_placed"
}
},
"events": {
"will_replace": { // THIS PART WORKS
"set_block_at_pos": {
"block_type": "5fs:example1",
"block_offset": [0, 1, 0]
}
},
"player_placed": { // THIS PART DOES NOT WORK
"run_command": {
"command": ["function example"]
}
}
}
}
}