Files
minecraft-aiworld/addon/spark_pet_RP/entity/spark_dragon.entity.json
SysAdmin 4bd9efc081
All checks were successful
Deploy Addons / deploy (push) Successful in 24s
feat(spark_pet): major overhaul — traits, animations, riding, fire, coloured hatching
- Movement: slower follow (speed 0.3, stop_dist 5), near-zero teleport chance
- Scales: baby 0.65, juvenile 0.9, adult 1.3 (up from 0.4/0.7/1.0)
- Personality traits (0–4): set by feeding specific foods while sneaking;
  affects stroll range, follow distance, look-at-player frequency
- Passtime animations driven by pure Molang lifecycle math (no timer components):
  groom, sniff, stretch, happy_bounce cycling ~every 3 min per dragon
- Rideable adults: minecraft:rideable + input_ground_controlled, seat at [0,0.9,-0.3]
- Fire breathing: autonomous vs monsters (radius 16) + player-triggered (sneak + fire_charge)
- New hatching system: 6 nest block variants (oak/spruce/jungle/crimson/warped/obsidian),
  craft nest + dragon_egg → coloured egg item; place egg, bonemeal + blaze powder → hatch;
  dragon colour matches nest type via 6 separate egg entity types + born_color events
- 18 new PNG textures: 6 dragon colours, 6 nest blocks, 6 egg items (HSV hue rotation)
- Render controller updated to use texture array indexed by silverlabs:dragon_color property

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 02:12:44 +00:00

53 lines
1.8 KiB
JSON

{
"format_version": "1.10.0",
"minecraft:client_entity": {
"description": {
"identifier": "silverlabs:spark_dragon",
"materials": {
"default": "entity_alphatest"
},
"textures": {
"color_0": "textures/entity/spark_dragon_white",
"color_1": "textures/entity/spark_dragon_brown",
"color_2": "textures/entity/spark_dragon_green",
"color_3": "textures/entity/spark_dragon_red",
"color_4": "textures/entity/spark_dragon_teal",
"color_5": "textures/entity/spark_dragon_black"
},
"geometry": {
"default": "geometry.spark_dragon"
},
"render_controllers": [
"controller.render.spark_dragon"
],
"animations": {
"idle": "animation.spark_dragon.idle",
"walk": "animation.spark_dragon.walk",
"sit": "animation.spark_dragon.sit",
"sleep": "animation.spark_dragon.sleep",
"fly": "animation.spark_dragon.fly",
"groom": "animation.spark_dragon.groom",
"sniff": "animation.spark_dragon.sniff",
"stretch": "animation.spark_dragon.stretch",
"happy_bounce": "animation.spark_dragon.happy_bounce",
"fire_breath": "animation.spark_dragon.fire_breath",
"controller": "controller.animation.spark_dragon",
"beacon_controller": "controller.animation.spark_dragon.beacon",
"mood_controller": "controller.animation.spark_dragon.mood"
},
"scripts": {
"animate": ["controller", "beacon_controller", "mood_controller"]
},
"particle_effects": {
"beacon_beam": "minecraft:endrod",
"mood_happy": "minecraft:villager_happy",
"mood_needy": "minecraft:large_smoke"
},
"spawn_egg": {
"base_color": "#7B2FBE",
"overlay_color": "#F5A623"
}
}
}
}