Bedrock Snippets

Dummy Entity

View Source

dummy_entity > bp > entities > dummy.json

{
    "format_version": "1.21.90",
    "minecraft:entity": {
        "description": {
            "identifier": "wiki:dummy",
            "is_spawnable": false,
            "is_summonable": true,
            "is_experimental": false
        },
        "components": {
            "minecraft:breathable": {
                "breathes_water": true
            },
            "minecraft:physics": { 
                "has_gravity": false,
                "has_collision": false
            },
            "minecraft:custom_hit_test": {
                "hitboxes": [
                    {
                        "pivot": [0, 100, 0],
                        "width": 0,
                        "height": 0
                    }
                ]
            },
            "minecraft:damage_sensor": {
                "triggers": {
                    "deals_damage": "no"
                }
            },
            "minecraft:pushable": {
                "is_pushable": false,
                "is_pushable_by_piston": false
            },
            "minecraft:collision_box": {
                "width": 0.0001,
                "height": 0.0001
            }
        }
    }
}
Copied to Clipboard