mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftLegends.git
synced 2026-10-22 13:22:20 +01:00
188 lines
4.4 KiB
JSON
188 lines
4.4 KiB
JSON
{
|
|
"minecraft:entity": {
|
|
"format_version": "1.2.0",
|
|
|
|
"component_groups": {
|
|
"minecraft:pig_zombie_baby": {
|
|
"minecraft:is_baby": {
|
|
},
|
|
"minecraft:scale": {
|
|
"value": 0.5
|
|
}
|
|
},
|
|
|
|
"minecraft:pig_zombie_adult": {
|
|
},
|
|
"minecraft:pig_zombie_angry": {
|
|
"minecraft:angry": {
|
|
"duration": 25,
|
|
"broadcastAnger": true,
|
|
"broadcastRange": 20,
|
|
"calm_event": {
|
|
"event": "minecraft:on_calm",
|
|
"target": "self"
|
|
}
|
|
}
|
|
},
|
|
"minecraft:pig_zombie_calm": {
|
|
"minecraft:on_target_acquired": {
|
|
"event": "minecraft:become_angry",
|
|
"target": "self"
|
|
}
|
|
}
|
|
},
|
|
|
|
"components": {
|
|
"minecraft:breathable": {
|
|
"totalSupply": 15,
|
|
"suffocateTime": 0
|
|
},
|
|
"minecraft:collision_box": {
|
|
"width": 0.6,
|
|
"height": 1.8
|
|
},
|
|
"minecraft:nameable": {
|
|
},
|
|
"minecraft:navigation.walk": {
|
|
"can_float": true,
|
|
"can_pass_doors": true,
|
|
"can_open_doors": true,
|
|
"avoid_portals": true
|
|
},
|
|
"minecraft:movement.basic": {
|
|
},
|
|
"minecraft:jump.static": {
|
|
},
|
|
"minecraft:can_climb": {
|
|
},
|
|
"minecraft:fire_immune": true,
|
|
"minecraft:burns_in_daylight": false,
|
|
"minecraft:identifier": {
|
|
"id": "minecraft:zombie_pigman"
|
|
},
|
|
"minecraft:type_family": {
|
|
"family": [ "zombie_pigman", "undead", "monster" ]
|
|
},
|
|
"minecraft:loot": {
|
|
"table": "loot_tables/entities/zombie_pigman.json"
|
|
},
|
|
"minecraft:equipment": {
|
|
"table": "loot_tables/entities/zombie_pigman_gear.json"
|
|
},
|
|
"minecraft:health": {
|
|
"value": 20,
|
|
"max": 20
|
|
},
|
|
"minecraft:movement": {
|
|
"value": 0.23
|
|
},
|
|
"minecraft:attack": {
|
|
"damage": 5
|
|
},
|
|
"minecraft:behavior.float": {
|
|
"priority": 0
|
|
},
|
|
"minecraft:behavior.break_door": {
|
|
"priority": 1
|
|
},
|
|
"minecraft:behavior.mount_pathing": {
|
|
"priority": 2,
|
|
"speed_multiplier": 1.25,
|
|
"target_dist": 0,
|
|
"track_target": true
|
|
},
|
|
"minecraft:behavior.melee_attack": {
|
|
"priority": 3,
|
|
"speed_multiplier": 1.5,
|
|
"track_target": false
|
|
},
|
|
"minecraft:behavior.move_towards_restriction": {
|
|
"priority": 4
|
|
},
|
|
"minecraft:behavior.random_stroll": {
|
|
"priority": 7,
|
|
"speed_multiplier": 1.0
|
|
},
|
|
"minecraft:behavior.look_at_player": {
|
|
"priority": 8,
|
|
"look_distance": 6.0,
|
|
"probability": 0.02
|
|
},
|
|
"minecraft:behavior.random_look_around": {
|
|
"priority": 9
|
|
},
|
|
"minecraft:behavior.hurt_by_target": {
|
|
"priority": 1
|
|
},
|
|
"minecraft:physics": {
|
|
}
|
|
|
|
},
|
|
|
|
|
|
"events": {
|
|
"minecraft:entity_transformed": {
|
|
"remove": {
|
|
},
|
|
"add": {
|
|
"component_groups": [
|
|
"minecraft:pig_zombie_adult",
|
|
"minecraft:pig_zombie_calm"
|
|
]
|
|
}
|
|
},
|
|
"minecraft:entity_spawned": {
|
|
"randomize": [
|
|
{
|
|
"weight": 95,
|
|
"remove": {
|
|
},
|
|
"add": {
|
|
"component_groups": [
|
|
"minecraft:pig_zombie_adult",
|
|
"minecraft:pig_zombie_calm"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"weight": 5,
|
|
"remove": {
|
|
},
|
|
"add": {
|
|
"component_groups": [
|
|
"minecraft:pig_zombie_baby",
|
|
"minecraft:pig_zombie_calm"
|
|
]
|
|
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"minecraft:on_calm": {
|
|
"remove": {
|
|
"component_groups": [
|
|
"minecraft:pig_zombie_angry"
|
|
]
|
|
},
|
|
"add": {
|
|
"component_groups": [
|
|
"minecraft:pig_zombie_calm"
|
|
]
|
|
}
|
|
},
|
|
"minecraft:become_angry": {
|
|
"remove": {
|
|
"component_groups": [
|
|
"minecraft:pig_zombie_calm"
|
|
]
|
|
},
|
|
"add": {
|
|
"component_groups": [
|
|
"minecraft:pig_zombie_angry"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|