So lately I've been trying to make a tamable chicken with the new addons update (because who wouldn't want a chicken companion) but I can't get it to work. I'm not sure what I'm doing wrong. I'll put the code below so hopefully someone can help me (I removed the some of the baby and breeding code. I don't know why. I can put it back if I need to.) P.S I'm also curious how to make it big and rideable, if you know how
So lately I've been trying to make a tamable chicken with the new addons update (because who wouldn't want a chicken companion) but I can't get it to work. I'm not sure what I'm doing wrong. I'll put the code below so hopefully someone can help me (I removed the some of the baby and breeding code. I don't know why. I can put it back if I need to.) P.S I'm also curious how to make it big and rideable, if you know how
{ "minecraft:entity": { "format_version": 0.1, "component_groups": { "minecraft:chicken_adult": { "minecraft:loot": { "table": "loot_tables/entities/chicken.json" }, "minecraft:chicken_tame": { "minecraft:is_tamed": { }, "minecraft:health": { "value": 20, "max": 20 }, "minecraft:color": { "value": 14 }, "minecraft:behavior.follow_owner": { "priority": 1, "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": { "other_with_families": "skeleton" }, "max_dist": 16 } ], "must_see": true }, "minecraft:breedable": { "requireTame": false, "breedsWith": { "mateType": "minecraft:chicken", "babyType": "minecraft:chicken", "breed_event": { "event": "minecraft:entity_born", "target": "baby" } }, "breedItems": [ "wheat_seeds", "beetroot_seeds", "melon_seeds", "pumpkin_seeds" ] }, "minecraft:behavior.breed": { "priority": 3, "speed_multiplier": 1.0 }, "minecraft:rideable": { "seat_count": 1, "family_types": [ "player" ], "seats": { "position": [0.0, 0.4, 0.0] } } }, "minecraft:chicken_leashed": { "minecraft:behavior.move_towards_restriction": { "priority": 2, "speed_multiplier": 1.0 } } }, "components": { "minecraft:identifier": { "id": "minecraft:chicken" }, "minecraft:tameable": { "probability": 0.93, "tameItems": "bone", "tame_event": { "event": "minecraft:on_tame", "target": "self" } }, "minecraft:type_family": { "family": [ "chicken" ] }, "minecraft:collision_box": { "width": 0.6, "height": 0.8 }, "minecraft:nameable": { }, "minecraft:health": { "value": 4, "max": 4 }, "minecraft:movement": { "value": 0.25 }, "minecraft:fall_damage": { "value": 0.0 }, "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:behavior.float": { "priority": 0 }, "minecraft:behavior.panic": { "priority": 9, "speed_multiplier": 1.5 }, "minecraft:behavior.mount_pathing": { "priority": 2, "speed_multiplier": 1.0, "target_dist": 0.0, "track_target": true }, "minecraft:behavior.tempt": { "priority": 4, "speed_multiplier": 1.0, "items": [ "wheat_seeds", "beetroot_seeds", "melon_seeds", "pumpkin_seeds" ] }, "minecraft:behavior.random_stroll": { "priority": 6, "speed_multiplier": 1.0 }, "minecraft:behavior.look_at_player": { "priority": 7, "look_distance": 6.0, "probability": 0.02 }, "minecraft:behavior.random_look_around": { "priority": 8 } }, "events": { "from_egg": { "add": { "component_groups": [ "minecraft:chicken_adult" ] } }, "minecraft:on_tame": { "add": { "component_groups": [ "minecraft:chicken_tame" "minecraft:entity_spawned": { "randomize": [ { "weight": 95, "remove": { }, "add": { "component_groups": [ "minecraft:chicken_adult" ] } }, { "weight": 5, "remove": { }, "add": { "component_groups": [ "minecraft:chicken_baby" ] } } ] }, "minecraft:entity_born": { "remove": { }, "add": { "component_groups": [ "minecraft:chicken_baby" ] } }, "minecraft:on_leash": { "add": { "component_groups": [ "minecraft:chicken_leashed" ] } }, "minecraft:on_unleash": { "remove": { "component_groups": [ "minecraft:chicken_leashed" ] } } } } }-
View User Profile
-
View Posts
-
Send Message
Curse Premium{ "minecraft:entity": { "version": 1, "component_groups": { "minecraft:chicken_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:chicken_adult": { "minecraft:loot": { "table": "loot_tables/entities/chicken.json" }, "minecraft:breedable": { "requireTame": true, "breedsWith": { "mateType": "minecraft:chicken", "babyType": "minecraft:chicken", "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:boostable": { "speed_multiplier": 2.2, "duration": 10.0, "boost_items": [ { "item": "stick", "item_damage": 2, "replaceItem": "stick" } ] }, "minecraft:rideable": { "seat_count": 1, "interact_text": "action.interact.mount", "speed_multiplier": 2 }, "minecraft:item_controllable": { "control_items": "stick" }, "minecraft:behavior.controlled_by_player": { "priority": 0 } }, "minecraft:chicken_angry": { "minecraft:angry": { "duration": 25, "broadcastAnger": true, "broadcastRange": 20, "calm_event": { "event": "minecraft:on_calm", "target": "self" } }, "minecraft:on_hurt_by_player": { }, "minecraft:on_target_acquired": { } }, "minecraft:chicken_wild": { "minecraft:tameable": { "probability": 0.33, "tameItems": "bone", "tame_event": { "event": "minecraft:on_tame", "target": "self" } }, "minecraft:behavior.nearest_attackable_target": { "priority": 4, "attack_interval": 200, "entity_types": [ { "entity_filter": [ "skeleton", "sheep", "rabbit" ], "max_dist": 16, "must_see": true } ] }, "minecraft:on_hurt_by_player": { "event": "minecraft:become_angry", "target": "self" }, "minecraft:on_target_acquired": { "event": "minecraft:become_angry", "target": "self" }, "minecraft:rideable": { "seat_count": 1, "family_types": [ "zombie" ] } }, "minecraft:chicken_tame": { "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": 200, "entity_types": [ { "entity_filter": [ "skeleton" ], "max_dist": 16, "must_see": true } ] }, "minecraft:sittable": { }, "minecraft:is_dyeable": { "interact_text": "action.interact.chickencollar" }, "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:chicken_leashed": { "minecraft:behavior.move_towards_restriction": { "priority": 2, "speed_multiplier": 1.0 } } }, "components": { "minecraft:identifier": { "id": "minecraft:chicken" }, "minecraft:nameable": { }, "minecraft:type_family": { "family": [ "chicken" ] }, "minecraft:collision_box": { "width": 0.6, "height": 0.8 }, "minecraft:on_calm": { "event": "minecraft:on_calm", "target": "self" }, "minecraft:health": { "value": 8, "max": 8 }, "minecraft:movement": { "value": 0.3 }, "minecraft:attack": { "damage": 3 }, "minecraft:healable": { "items": [ "porkchop", "cooked_porkchop", "fish", "salmon", "clownfish", "pufferfish", "cooked_fish", "cooked_salmon", "beef", "cooked_beef", "chicken", "cooked_chicken", "muttonRaw", "muttonCooked", "rotten_flesh", "rabbit", "cooked_rabbit", "rabbit_stew" ] }, "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.beg": { "priority": 9, "look_distance": 8, "look_time": [ 2, 4 ], "items": [ "bone" ] }, "minecraft:behavior.hurt_by_target": { "priority": 3 } }, "events": { "minecraft:entity_spawned": { "randomize": [ { "weight": 9, "remove": { }, "add": { "component_groups": [ "minecraft:chicken_adult", "minecraft:chicken_wild" ] } }, { "weight": 1, "remove": { }, "add": { "component_groups": [ "minecraft:chicken_baby", "minecraft:chicken_wild" ] } } ] }, "minecraft:entity_born": { "remove": { }, "add": { "component_groups": [ "minecraft:chicken_baby", "minecraft:chicken_tame" ] } }, "minecraft:ageable_grow_up": { "remove": { "component_groups": [ "minecraft:chicken_baby" ] }, "add": { "component_groups": [ "minecraft:chicken_adult" ] } }, "minecraft:ageable_set_baby": { "remove": { "component_groups": [ "minecraft:chicken_adult" ] }, "add": { "component_groups": [ "minecraft:chicken_baby" ] } }, "minecraft:on_tame": { "remove": { "component_groups": [ "minecraft:chicken_wild" ] }, "add": { "component_groups": [ "minecraft:chicken_tame" ] } }, "minecraft:become_angry": { "remove": { "component_groups": [ "minecraft:chicken_wild" ] }, "add": { "component_groups": [ "minecraft:chicken_angry" ] } }, "minecraft:on_calm": { "remove": { "component_groups": [ "minecraft:chicken_angry" ] }, "add": { "component_groups": [ "minecraft:chicken_wild" ] } }, "minecraft:on_leash": { "add": { "component_groups": [ "minecraft:chicken_leashed" ] } }, "minecraft:on_unleash": { "remove": { "component_groups": [ "minecraft:chicken_leashed" ] } } } } }Here this will work
Check out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015