1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-01-31 06:01:26 +00:00
bedrock-samples/behavior_pack/entities/elder_guardian.json
Mike Ammerlaan e304be6ab8 v1.20.80.5
2024-04-23 09:20:49 -07:00

120 lines
3.1 KiB
JSON

{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:elder_guardian",
"spawn_category": "monster",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 10 : 0"
},
"minecraft:collision_box": {
"width": 1.99,
"height": 1.99
},
"minecraft:nameable": {
},
"minecraft:loot": {
"table": "loot_tables/entities/elder_guardian.json"
},
"minecraft:navigation.generic": {
"is_amphibious": true,
"can_path_over_water": false,
"can_swim": true,
"can_walk": false,
"can_breach": true
},
"minecraft:movement.sway": {
},
"minecraft:jump.static": {
},
"minecraft:health": {
"value": 80,
"max": 80
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.3
},
"minecraft:underwater_movement": {
"value": 0.3
},
"minecraft:attack": {
"damage": 5
},
"minecraft:follow_range": {
"value": 16,
"max": 16
},
"minecraft:breathable": {
"breathes_water": true
},
"minecraft:home": {
"restriction_radius": 16
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 1,
"entity_types": [
{
"filters": {
"any_of": [
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "is_family", "subject" : "other", "value" : "squid"},
{ "test" : "is_family", "subject" : "other", "value" : "axolotl"}
]
},
"max_dist": 16
}
],
"attack_interval_min": 1.0,
"must_see": true
},
"minecraft:behavior.guardian_attack": {
"priority": 4
},
"minecraft:behavior.move_towards_home_restriction": {
"priority": 5,
"speed_multiplier": 1.0
},
"minecraft:behavior.random_swim": {
"priority": 7,
"speed_multiplier": 0.5,
"avoid_surface": false
},
"minecraft:behavior.look_at_player": {
"priority": 8,
"look_distance": 12.0,
"probability": 0.01
},
"minecraft:behavior.random_look_around": {
"priority": 9
},
"minecraft:type_family": {
"family": [ "guardian_elder", "monster", "mob" ]
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
}
}
}
}