mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftLegends.git
synced 2026-10-22 13:22:20 +01:00
201 lines
4.7 KiB
JSON
201 lines
4.7 KiB
JSON
{
|
|
"minecraft:entity": {
|
|
"format_version": "1.2.0",
|
|
|
|
"component_groups": {
|
|
"minecraft:zombie_baby": {
|
|
"minecraft:is_baby": { },
|
|
"minecraft:scale": {
|
|
"value": 0.5
|
|
},
|
|
"minecraft:movement": {
|
|
"value": 0.35
|
|
}
|
|
},
|
|
|
|
"minecraft:zombie_adult": {
|
|
"minecraft:movement": {
|
|
"value": 0.23
|
|
},
|
|
"minecraft:burns_in_daylight": {
|
|
},
|
|
"minecraft:rideable": {
|
|
"seat_count": 1,
|
|
"family_types": [
|
|
"zombie"
|
|
],
|
|
"seats": {
|
|
"position": [ 0.0, 1.1, -0.35 ],
|
|
"lock_rider_rotation": 0
|
|
}
|
|
},
|
|
"minecraft:behavior.mount_pathing": {
|
|
"priority": 2,
|
|
"speed_multiplier": 1.25,
|
|
"target_dist": 0.0,
|
|
"track_target": true
|
|
}
|
|
},
|
|
|
|
"minecraft:zombie_jockey": {
|
|
"minecraft:behavior.find_mount": {
|
|
"priority": 1,
|
|
"within_radius": 16
|
|
}
|
|
}
|
|
},
|
|
|
|
"components": {
|
|
"minecraft:identifier": {
|
|
"id": "minecraft:zombie"
|
|
},
|
|
"minecraft:nameable": {
|
|
},
|
|
|
|
// Zombie Components
|
|
"minecraft:type_family": {
|
|
"family": [ "zombie", "undead", "monster" ]
|
|
},
|
|
"minecraft:collision_box": {
|
|
"width": 0.6,
|
|
"height": 1.8
|
|
},
|
|
"minecraft:equipment": {
|
|
"table": "loot_tables/entities/zombie_equipment.json"
|
|
},
|
|
"minecraft:navigation.walk": {
|
|
"can_float": true,
|
|
"can_pass_doors": true,
|
|
"can_open_doors": true
|
|
},
|
|
"minecraft:movement.basic": {
|
|
},
|
|
"minecraft:jump.static": {
|
|
},
|
|
"minecraft:can_climb": {
|
|
},
|
|
"minecraft:health": {
|
|
"value": 20,
|
|
"max": 20
|
|
},
|
|
"minecraft:breathable": {
|
|
"totalSupply": 15,
|
|
"suffocateTime": 0
|
|
},
|
|
"minecraft:attack": {
|
|
"damage": 3
|
|
},
|
|
"minecraft:loot": {
|
|
"table": "loot_tables/entities/zombie.json"
|
|
},
|
|
|
|
// Zombie Behaviors
|
|
"minecraft:behavior.float": {
|
|
"priority": 0
|
|
},
|
|
"minecraft:behavior.break_door": {
|
|
"priority": 1
|
|
},
|
|
"minecraft:behavior.melee_attack": {
|
|
"priority": 3,
|
|
"speed_multiplier": 1,
|
|
"track_target": false
|
|
},
|
|
"minecraft:behavior.move_towards_restriction": {
|
|
"priority": 4,
|
|
"speed_multiplier": 1
|
|
},
|
|
"minecraft:behavior.random_stroll": {
|
|
"priority": 6,
|
|
"speed_multiplier": 1
|
|
},
|
|
"minecraft:behavior.look_at_player": {
|
|
"priority": 7,
|
|
"look_distance": 6,
|
|
"probability": 0.02
|
|
},
|
|
"minecraft:behavior.random_look_around": {
|
|
"priority": 7
|
|
},
|
|
"minecraft:behavior.hurt_by_target": {
|
|
"priority": 1
|
|
},
|
|
"minecraft:behavior.nearest_attackable_target": {
|
|
"priority": 2,
|
|
"within_radius": 25,
|
|
"entity_types": [
|
|
{
|
|
"filters": {
|
|
"any_of": [
|
|
{
|
|
"test": "is_family",
|
|
"subject": "other",
|
|
"value": "player"
|
|
},
|
|
{
|
|
"test": "is_family",
|
|
"subject": "other",
|
|
"value": "snowgolem"
|
|
},
|
|
{
|
|
"test": "is_family",
|
|
"subject": "other",
|
|
"value": "irongolem"
|
|
},
|
|
{
|
|
"test": "is_family",
|
|
"subject": "other",
|
|
"value": "villager"
|
|
}
|
|
]
|
|
},
|
|
"max_dist": 35
|
|
}
|
|
],
|
|
"must_see": true
|
|
},
|
|
"minecraft:physics": {
|
|
}
|
|
},
|
|
|
|
"events": {
|
|
"minecraft:entity_spawned": {
|
|
"randomize": [
|
|
{
|
|
"weight": 380,
|
|
"remove": {
|
|
},
|
|
"add": {
|
|
"component_groups": [
|
|
"minecraft:zombie_adult"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"weight": 17,
|
|
"remove": {
|
|
},
|
|
"add": {
|
|
"component_groups": [
|
|
"minecraft:zombie_baby"
|
|
]
|
|
|
|
}
|
|
},
|
|
{
|
|
"weight": 3,
|
|
"remove": {
|
|
},
|
|
"add": {
|
|
"component_groups": [
|
|
"minecraft:zombie_baby",
|
|
"minecraft:zombie_jockey"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|