fix(heyhe): correct egg spawn, fix taming, skinny model, wonky eyes, persistent
All checks were successful
Deploy Addons / deploy (push) Successful in 14s

- heyhe_egg: rebuild spawn mechanism with component groups (spawn_entity/die
  can't live in event sequences — follow dragon_egg pattern exactly)
- heyhe_chicken: move interact to base components so taming always works
  regardless of spawn method; add persistent to stop vanishing
- Geometry: skinny tall body, thin neck, proper UV coordinates throughout
- Texture: fill whole atlas white first (no dark gaps), matched UV regions,
  wonky asymmetric eyes (one big+high, one small+low)
- Animation: neck peck 3x per cycle at 22deg, body sway on walk, wing flutter

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-05 09:37:25 +01:00
parent 56ed7d76ee
commit 86950012e9
5 changed files with 307 additions and 286 deletions

View File

@@ -8,58 +8,69 @@
"is_experimental": false
},
"components": {
"minecraft:type_family": {
"family": ["heyhe_egg"]
},
"minecraft:collision_box": {
"width": 0.5,
"height": 0.6
},
"minecraft:physics": {
"has_gravity": true,
"has_collision": true
},
"minecraft:pushable": {
"is_pushable": false,
"is_pushable_by_piston": false
},
"minecraft:health": {
"value": 5,
"max": 5
},
"minecraft:timer": {
"looping": false,
"time": 10,
"time_down_event": {
"event": "silverlabs:hatch",
"target": "self"
"component_groups": {
"silverlabs:egg_waiting": {
"minecraft:timer": {
"looping": false,
"time": 10,
"time_down_event": {
"event": "silverlabs:start_hatching",
"target": "self"
}
}
},
"minecraft:ambient_sound_interval": {
"event_name": "mob.chicken.egg",
"range": 0,
"value": 8
"silverlabs:egg_hatching": {
"minecraft:spawn_entity": {
"entities": [
{
"min_wait_time": 0,
"max_wait_time": 1,
"spawn_sound": "mob.chicken.egg",
"spawn_entity": "silverlabs:heyhe_chicken",
"spawn_event": "silverlabs:hatched",
"num_to_spawn": 1,
"single_use": true
}
]
},
"minecraft:timer": {
"looping": false,
"time": 2,
"time_down_event": {
"event": "silverlabs:despawn_egg",
"target": "self"
}
}
},
"silverlabs:egg_despawning": {
"minecraft:instant_despawn": {}
}
},
"components": {
"minecraft:type_family": { "family": ["heyhe_egg"] },
"minecraft:physics": { "has_gravity": true, "has_collision": true },
"minecraft:collision_box": { "width": 0.5, "height": 0.6 },
"minecraft:pushable": { "is_pushable": false, "is_pushable_by_piston": false },
"minecraft:knockback_resistance": { "value": 1.0 },
"minecraft:persistent": {},
"minecraft:health": { "value": 5, "max": 5 }
},
"events": {
"silverlabs:hatch": {
"sequence": [
{
"spawn_entity": {
"entities_to_spawn": [
{
"entity_type": "silverlabs:heyhe_chicken",
"num_to_spawn": 1
}
]
}
},
{
"die": {}
}
]
"minecraft:entity_spawned": {
"add": { "component_groups": ["silverlabs:egg_waiting"] }
},
"silverlabs:start_hatching": {
"remove": { "component_groups": ["silverlabs:egg_waiting"] },
"add": { "component_groups": ["silverlabs:egg_hatching"] }
},
"silverlabs:despawn_egg": {
"add": { "component_groups": ["silverlabs:egg_despawning"] }
}
}
}