Mojira Archive
MCPE-154726

minecraft:on_player_placing

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"]
                }
            }
        }
    }
} 

 

Incomplete

Boothe

2022-04-25, 07:45 AM

2022-08-07, 02:55 AM

2022-08-01, 02:53 PM

0

1

Unconfirmed

1.18.30

-