mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-02-07 11:19:42 +00:00
76 lines
1.8 KiB
JSON
76 lines
1.8 KiB
JSON
{
|
|
"format_version": "1.12.0",
|
|
"minecraft:entity": {
|
|
"description": {
|
|
"identifier": "minecraft:ender_pearl",
|
|
"is_spawnable": false,
|
|
"is_summonable": false,
|
|
"is_experimental": false
|
|
},
|
|
"component_groups": {
|
|
"minecraft:no_spawn": {
|
|
"minecraft:projectile": {
|
|
"on_hit": {
|
|
"teleport_owner": { },
|
|
"remove_on_hit": { }
|
|
},
|
|
"power": 1.5,
|
|
"gravity": 0.025,
|
|
"angle_offset": 0.0,
|
|
"inertia": 1,
|
|
"liquid_inertia": 1
|
|
}
|
|
}
|
|
},
|
|
|
|
"components": {
|
|
"minecraft:collision_box": {
|
|
"width": 0.25,
|
|
"height": 0.25
|
|
},
|
|
"minecraft:projectile": {
|
|
"on_hit": {
|
|
"teleport_owner": { },
|
|
"spawn_chance": {
|
|
"first_spawn_percent_chance": 5.0,
|
|
"first_spawn_count": 1,
|
|
"spawn_definition": "minecraft:endermite"
|
|
},
|
|
"remove_on_hit": { }
|
|
},
|
|
"power": 1.5,
|
|
"gravity": 0.025,
|
|
"angle_offset": 0.0,
|
|
"inertia": 1,
|
|
"liquid_inertia": 1
|
|
},
|
|
"minecraft:physics": {
|
|
},
|
|
"minecraft:pushable": {
|
|
"is_pushable": true,
|
|
"is_pushable_by_piston": true
|
|
},
|
|
"minecraft:conditional_bandwidth_optimization": {
|
|
"default_values": {
|
|
"max_optimized_distance": 80.0,
|
|
"max_dropped_ticks": 7,
|
|
"use_motion_prediction_hints": true
|
|
}
|
|
}
|
|
},
|
|
|
|
"events": {
|
|
"minecraft:entity_spawned": {
|
|
"sequence": [
|
|
{
|
|
"filters": {"test": "is_game_rule", "domain": "domobspawning", "value": false},
|
|
"add": {
|
|
"component_groups": [ "minecraft:no_spawn" ]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|