Files
MinecraftLegends/Win32.DX11.Release/data/behavior_packs/vanilla/entities/wolf.json
T
2026-03-08 15:34:38 -05:00

483 lines
11 KiB
JSON

{
"minecraft:entity": {
"format_version": "1.2.0",
"component_groups": {
"minecraft:wolf_baby": {
"minecraft:is_baby": {
},
"minecraft:scale": {
"value": 0.5
},
"minecraft:ageable": {
"duration": 1200,
"feedItems": [
"chicken",
"cooked_chicken",
"beef",
"cooked_beef",
"muttonRaw",
"muttonCooked",
"porkchop",
"cooked_porkchop",
"rabbit",
"cooked_rabbit",
"rotten_flesh"
],
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
}
},
"minecraft:wolf_adult": {
"minecraft:loot": {
"table": "loot_tables/entities/wolf.json"
},
"minecraft:breedable": {
"requireTame": true,
"breedsWith": {
"mateType": "minecraft:wolf",
"babyType": "minecraft:wolf",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
},
"breedItems": [
"chicken",
"cooked_chicken",
"beef",
"cooked_beef",
"muttonRaw",
"muttonCooked",
"porkchop",
"cooked_porkchop",
"rabbit",
"cooked_rabbit",
"rotten_flesh"
]
}
},
"minecraft:wolf_angry": {
"minecraft:angry": {
"duration": 25,
"broadcastAnger": true,
"broadcastRange": 20,
"calm_event": {
"event": "minecraft:on_calm",
"target": "self"
}
},
"minecraft:on_target_acquired": {
}
},
"minecraft:wolf_wild": {
"minecraft:behavior.avoid_mob_type": {
"priority": 3,
"entity_types": [
{
"filters": { "test": "is_family", "subject": "other", "value": "llama" },
"max_dist": 24,
"walk_speed_multiplier": 1.5,
"sprint_speed_multiplier": 1.5
}
],
"probability_per_strength": 0.14
},
"minecraft:tameable": {
"probability": 0.33,
"tameItems": "bone",
"tame_event": {
"event": "minecraft:on_tame",
"target": "self"
}
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 4,
"attack_interval": 10,
"entity_types": [
{
"filters": {
"any_of": [
{ "test" : "is_family", "subject" : "other", "value" : "skeleton"},
{ "test" : "is_family", "subject" : "other", "value" : "sheep"},
{ "test" : "is_family", "subject" : "other", "value" : "rabbit"}
]
},
"max_dist": 16
}
],
"must_see": true
},
"minecraft:on_target_acquired": {
"event": "minecraft:become_angry",
"target": "self"
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"zombie"
],
"seats": {
"position": [ 0.0, 0.675, -0.1 ]
}
}
},
"minecraft:wolf_tame": {
"minecraft:is_tamed": {
},
"minecraft:health": {
"value": 20,
"max": 20
},
"minecraft:color": {
"value": 14
},
"minecraft:behavior.follow_owner": {
"priority": 6,
"speed_multiplier": 1.0,
"start_distance": 10,
"stop_distance": 2
},
"minecraft:attack": {
"damage": 4
},
"minecraft:behavior.breed": {
"priority": 7
},
"minecraft:behavior.owner_hurt_by_target": {
"priority": 1
},
"minecraft:behavior.owner_hurt_target": {
"priority": 2
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 5,
"attack_interval": 10,
"entity_types": [
{
"filters": { "test" : "is_family", "subject" : "other", "value" : "skeleton"},
"max_dist": 16
}
],
"must_see": true
},
"minecraft:sittable": {
},
"minecraft:is_dyeable": {
"interact_text": "action.interact.dye"
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0,
"on_leash": {
"event": "minecraft:on_leash",
"target": "self"
},
"on_unleash": {
"event": "minecraft:on_unleash",
"target": "self"
}
}
},
"minecraft:wolf_leashed": {
"minecraft:behavior.move_towards_restriction": {
"priority": 2,
"speed_multiplier": 1.0
}
}
},
"components": {
"minecraft:identifier": {
"id": "minecraft:wolf"
},
"minecraft:nameable": {
},
"minecraft:type_family": {
"family": [ "wolf" ]
},
"minecraft:breathable": {
"totalSupply": 15,
"suffocateTime": 0
},
"minecraft:collision_box": {
"width": 0.6,
"height": 0.8
},
"minecraft:health": {
"value": 8,
"max": 8
},
"minecraft:movement": {
"value": 0.3
},
"minecraft:navigation.walk": {
"can_float": true,
"avoid_damage_blocks": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:attack": {
"damage": 3
},
"minecraft:healable": {
"items": [
{
"item": "porkchop",
"heal_amount": 3
},
{
"item": "cooked_porkchop",
"heal_amount": 8
},
{
"item": "fish",
"heal_amount": 2
},
{
"item": "salmon",
"heal_amount": 2
},
{
"item": "clownfish",
"heal_amount": 1
},
{
"item": "pufferfish",
"heal_amount": 1
},
{
"item": "cooked_fish",
"heal_amount": 5
},
{
"item": "cooked_salmon",
"heal_amount": 6
},
{
"item": "beef",
"heal_amount": 3
},
{
"item": "cooked_beef",
"heal_amount": 8
},
{
"item": "chicken",
"heal_amount": 2
},
{
"item": "cooked_chicken",
"heal_amount": 6
},
{
"item": "muttonRaw",
"heal_amount": 2
},
{
"item": "muttonCooked",
"heal_amount": 6
},
{
"item": "rotten_flesh",
"heal_amount": 4
},
{
"item": "rabbit",
"heal_amount": 3
},
{
"item": "cooked_rabbit",
"heal_amount": 5
},
{
"item": "rabbit_stew",
"heal_amount": 10
}
]
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.mount_pathing": {
"priority": 1,
"speed_multiplier": 1.25,
"target_dist": 0,
"track_target": true
},
"minecraft:behavior.stay_while_sitting": {
"priority": 3
},
"minecraft:behavior.leap_at_target": {
"priority": 4,
"target_dist": 0.4
},
"minecraft:behavior.melee_attack": {
"priority": 5,
"target_dist": 1.2,
"track_target": true,
"reach_multiplier": 1.0
},
"minecraft:behavior.random_stroll": {
"priority": 8,
"speed_multiplier": 1.0
},
"minecraft:behavior.look_at_player": {
"priority": 6,
"target_distance": 6.0,
"probability": 0.02
},
"minecraft:behavior.beg": {
"priority": 9,
"look_distance": 8,
"look_time": [ 2, 4 ],
"items": [ "bone" ]
},
"minecraft:behavior.hurt_by_target": {
"priority": 3
},
"minecraft:physics": {
}
},
"events": {
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 9,
"remove": {
},
"add": {
"component_groups": [
"minecraft:wolf_adult",
"minecraft:wolf_wild"
]
}
},
{
"weight": 1,
"remove": {
},
"add": {
"component_groups": [
"minecraft:wolf_baby",
"minecraft:wolf_wild"
]
}
}
]
},
"minecraft:entity_born": {
"remove": {
},
"add": {
"component_groups": [
"minecraft:wolf_baby",
"minecraft:wolf_tame"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:wolf_baby"
]
},
"add": {
"component_groups": [
"minecraft:wolf_adult"
]
}
},
"minecraft:ageable_set_baby": {
"remove": {
"component_groups": [
"minecraft:wolf_adult"
]
},
"add": {
"component_groups": [
"minecraft:wolf_baby"
]
}
},
"minecraft:on_tame": {
"remove": {
"component_groups": [
"minecraft:wolf_wild"
]
},
"add": {
"component_groups": [
"minecraft:wolf_tame"
]
}
},
"minecraft:become_angry": {
"remove": {
"component_groups": [
"minecraft:wolf_wild"
]
},
"add": {
"component_groups": [
"minecraft:wolf_angry"
]
}
},
"minecraft:on_calm": {
"remove": {
"component_groups": [
"minecraft:wolf_angry"
]
},
"add": {
"component_groups": [
"minecraft:wolf_wild"
]
}
},
"minecraft:on_leash": {
"add": {
"component_groups": [
"minecraft:wolf_leashed"
]
}
},
"minecraft:on_unleash": {
"remove": {
"component_groups": [
"minecraft:wolf_leashed"
]
}
}
}
}
}