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

618 lines
15 KiB
JSON

{
"minecraft:entity": {
"format_version": "1.2.0",
"component_groups": {
"minecraft:llama_baby": {
"minecraft:is_baby": {
},
"minecraft:scale": {
"value": 0.5
},
"minecraft:ageable": {
"duration": 1200,
"feedItems": [
{
"item": "wheat",
"growth": 0.1
},
{
"item": "tile.hay_block",
"growth": 0.9
}
],
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
},
"minecraft:behavior.follow_parent": {
"priority": 5,
"speed_multiplier": 1.0
}
},
"minecraft:llama_adult": {
"minecraft:loot": {
"table": "loot_tables/entities/llama.json"
},
"minecraft:collision_box": {
"width": 0.9,
"height": 1.87
},
"minecraft:behavior.breed": {
"priority": 4,
"speed_multiplier": 1.0
},
"minecraft:breedable": {
"requireTame": true,
"inheritTamed": false,
"breedsWith": {
"mateType": "minecraft:llama",
"babyType": "minecraft:llama",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
},
"breedItems": [ "tile.hay_block" ]
}
},
"minecraft:strength_1": {
"minecraft:strength": {
"value": 1,
"max": 5
}
},
"minecraft:strength_2": {
"minecraft:strength": {
"value": 2,
"max": 5
}
},
"minecraft:strength_3": {
"minecraft:strength": {
"value": 3,
"max": 5
}
},
"minecraft:strength_4": {
"minecraft:strength": {
"value": 4,
"max": 5
}
},
"minecraft:strength_5": {
"minecraft:strength": {
"value": 5,
"max": 5
}
},
"minecraft:llama_creamy": {
"minecraft:variant": {
"value": 0
}
},
"minecraft:llama_white": {
"minecraft:variant": {
"value": 1
}
},
"minecraft:llama_brown": {
"minecraft:variant": {
"value": 2
}
},
"minecraft:llama_gray": {
"minecraft:variant": {
"value": 3
}
},
"minecraft:llama_wild": {
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"player"
],
"interact_text": "action.interact.mount",
"seats": {
"position": [ 0.0, 1.25, -0.3 ]
}
},
"minecraft:tamemount": {
"minTemper": 0,
"maxTemper": 30,
"feed_text": "action.interact.feed",
"ride_text": "action.interact.mount",
"feedItems": [
{
"item": "wheat",
"temperMod": 3
},
{
"item": "tile.hay_block",
"temperMod": 6
}
],
"autoRejectItems": [
{
"item": "horsearmorleather"
},
{
"item": "horsearmoriron"
},
{
"item": "horsearmorgold"
},
{
"item": "horsearmordiamond"
},
{
"item": "saddle"
}
],
"tame_event": {
"event": "minecraft:on_tame",
"target": "self"
}
}
},
"minecraft:llama_tamed": {
"minecraft:is_tamed": {
},
"minecraft:rideable": {
"priority": 0,
"seat_count": 1,
"crouching_skip_interact": true,
"family_types": [
"player"
],
"interact_text": "action.interact.ride.horse",
"seats": {
"position": [ 0.0, 1.1, -0.2 ]
}
},
"minecraft:inventory": {
"inventory_size": 16,
"container_type": "horse",
"additional_slots_per_strength": 3
},
"minecraft:equippable": {
"slots": [
{
"slot": 1,
"item": "carpet",
"accepted_items": [ "carpet" ]
}
]
}
},
"minecraft:llama_unchested": {
"minecraft:interact": [
{
"on_interact": {
"filters": {
"all_of": [
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "has_equipment", "domain": "hand","subject" : "other", "value" : "chest:0"}
]
},
"event": "minecraft:on_chest",
"target": "self"
},
"use_item": true,
"interact_text": "action.interact.attachchest"
}
]
},
"minecraft:llama_chested": {
"minecraft:is_chested": {
}
},
"minecraft:llama_leashed": {
"minecraft:behavior.move_towards_restriction": {
"priority": 2,
"speed_multiplier": 1.0
}
},
"minecraft:llama_angry": {
"minecraft:angry": {
"duration": 4,
"broadcastAnger": false,
"calm_event": {
"event": "minecraft:on_calm",
"target": "self"
}
},
"minecraft:behavior.ranged_attack": {
"priority": 2,
"attack_radius": 64,
"charge_shoot_trigger": 2,
"charge_charged_trigger": 1
}
},
"minecraft:llama_angry_wolf": {
"minecraft:angry": {
"duration": -1,
"broadcastAnger": false,
"calm_event": {
"event": "minecraft:on_calm",
"target": "self"
}
},
"minecraft:behavior.ranged_attack": {
"priority": 2,
"attack_radius": 64,
"charge_shoot_trigger": 2,
"charge_charged_trigger": 1
}
},
"minecraft:in_caravan": {
"minecraft:damage_sensor": [
{
"cause": "all",
"deals_damage": true
}
]
}
},
"components": {
"minecraft:identifier": {
"id": "minecraft:llama"
},
"minecraft:type_family": {
"family": [ "llama" ]
},
"minecraft:breathable": {
"totalSupply": 15,
"suffocateTime": 0
},
"minecraft:nameable": {
},
"minecraft:health": {
"value": {
"range_min": 15,
"range_max": 30
}
},
"minecraft:movement": {
"value": 0.25
},
"minecraft:navigation.walk": {
"can_float": true,
"avoid_damage_blocks": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:follow_range": {
"value": 40,
"max": 40
},
"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:shooter": {
"type": "llamaspit",
"def": "minecraft:llama_spit"
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.run_around_like_crazy": {
"priority": 1,
"speed_multiplier": 1.2
},
"minecraft:behavior.follow_caravan": {
"priority": 3,
"speed_multiplier": 2.1,
"entity_count": 10,
"entity_types": {
"filters": { "test" : "is_family", "subject" : "other", "value" : "llama"}
}
},
"minecraft:behavior.panic": {
"priority": 4,
"speed_multiplier": 1.2
},
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 0.7
},
"minecraft:behavior.look_at_player": {
"priority": 7,
"look_distance": 6.0,
"probability": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 8
},
"minecraft:behavior.mount_pathing": {
"priority": 1,
"speed_multiplier": 1.25,
"target_dist": 0.0,
"track_target": true
},
"minecraft:behavior.hurt_by_target": {
"priority": 1,
"hurt_owner": true
},
"minecraft:damage_sensor": [
{
"cause": "all",
"deals_damage": true,
"on_damage": {
"filters": { "test": "in_caravan", "value": false },
"event": "minecraft:become_angry"
}
}
],
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"attack_interval": 16,
"entity_types": [
{
"filters": {
"all_of": [
{ "test" : "is_family", "subject" : "other", "value" : "wolf"},
{ "test" : "has_component","subject" : "other", "operator": "!=", "value" : "minecraft:is_tamed"}
]
},
"max_dist": 10
}
],
"must_see": false,
"must_reach": true
},
"minecraft:on_target_acquired": {
"filters": {
"all_of": [
{ "test" : "is_family", "subject" : "target", "value" : "wolf"},
{ "test" : "has_component","subject" : "target", "operator": "!=", "value" : "minecraft:is_tamed"}
]
},
"event": "minecraft:mad_at_wolf",
"target": "self"
},
"minecraft:on_target_escape": {
"filters": {
"all_of": [
{ "test" : "is_family", "subject" : "target", "value" : "wolf"},
{ "test" : "has_component","subject" : "target", "operator": "!=", "value" : "minecraft:is_tamed"}
]
},
"event": "minecraft:on_calm",
"target": "self"
},
"minecraft:physics": {
}
},
"events": {
"minecraft:entity_spawned": {
"sequence": [
{
"add": {
"component_groups": [
"minecraft:llama_adult",
"minecraft:llama_tamed"
]
}
},
{
"randomize": [
{
"weight": 32,
"add": {
"component_groups": [
"minecraft:strength_1"
]
}
},
{
"weight": 32,
"add": {
"component_groups": [
"minecraft:strength_2"
]
}
},
{
"weight": 32,
"add": {
"component_groups": [
"minecraft:strength_3"
]
}
},
{
"weight": 2,
"add": {
"component_groups": [
"minecraft:strength_4"
]
}
},
{
"weight": 2,
"add": {
"component_groups": [
"minecraft:strength_5"
]
}
}
]
},
{
"randomize": [
{
"weight": 25,
"add": {
"component_groups": [
"minecraft:llama_creamy"
]
}
},
{
"weight": 25,
"add": {
"component_groups": [
"minecraft:llama_white"
]
}
},
{
"weight": 25,
"add": {
"component_groups": [
"minecraft:llama_brown"
]
}
},
{
"weight": 25,
"add": {
"component_groups": [
"minecraft:llama_gray"
]
}
}
]
}
]
},
"minecraft:entity_born": {
"add": {
"component_groups": [
"minecraft:llama_baby"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:llama_baby"
]
},
"add": {
"component_groups": [
"minecraft:llama_adult",
"minecraft:llama_wild"
]
}
},
"minecraft:on_tame": {
"remove": {
"component_groups": [
"minecraft:llama_wild"
]
},
"add": {
"component_groups": [
"minecraft:llama_tamed",
"minecraft:llama_unchested"
]
}
},
"minecraft:on_leash": {
"add": {
"component_groups": [
"minecraft:llama_leashed"
]
}
},
"minecraft:on_unleash": {
"remove": {
"component_groups": [
"minecraft:llama_leashed"
]
}
},
"minecraft:join_caravan": {
"add": {
"component_groups": [
"minecraft:in_caravan"
]
}
},
"minecraft:leave_caravan": {
"remove": {
"component_groups": [
"minecraft:in_caravan"
]
}
},
"minecraft:mad_at_wolf": {
"add": {
"component_groups": [
"minecraft:llama_angry_wolf"
]
}
},
"minecraft:become_angry": {
"add": {
"component_groups": [
"minecraft:llama_angry"
]
}
},
"minecraft:on_calm": {
"remove": {
"component_groups": [
"minecraft:llama_angry",
"minecraft:llama_angry_wolf"
]
}
},
"minecraft:on_chest": {
"remove": {
"component_groups": [
"minecraft:llama_unchested"
]
},
"add": {
"component_groups": [
"minecraft:llama_chested"
]
}
}
}
}
}