mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-01-31 06:01:26 +00:00
62 lines
1.3 KiB
JSON
62 lines
1.3 KiB
JSON
{
|
|
"format_version": "1.21.40",
|
|
"minecraft:entity": {
|
|
"description": {
|
|
"identifier": "minecraft:fishing_hook",
|
|
"is_spawnable": false,
|
|
"is_summonable": false
|
|
},
|
|
|
|
"component_groups": {
|
|
"loot_jungle": {
|
|
"minecraft:loot": {
|
|
"table": "loot_tables/gameplay/jungle_fishing.json"
|
|
}
|
|
}
|
|
},
|
|
|
|
"components": {
|
|
"minecraft:collision_box": {
|
|
"width": 0.15,
|
|
"height": 0.15
|
|
},
|
|
"minecraft:projectile": {
|
|
"on_hit": { "stick_in_ground": {} }
|
|
},
|
|
"minecraft:loot": {
|
|
"table": "loot_tables/gameplay/fishing.json"
|
|
},
|
|
"minecraft:physics": {
|
|
},
|
|
"minecraft:dimension_bound": {
|
|
},
|
|
"minecraft:transient": {
|
|
},
|
|
"minecraft:pushable": {
|
|
"is_pushable": false,
|
|
"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_biome", "value": "jungle"
|
|
},
|
|
"add": { "component_groups": [ "loot_jungle" ] }
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|