feat(spark_pet): major overhaul — traits, animations, riding, fire, coloured hatching
All checks were successful
Deploy Addons / deploy (push) Successful in 24s
All checks were successful
Deploy Addons / deploy (push) Successful in 24s
- 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>
This commit is contained in:
12
addon/spark_pet_BP/recipes/dragon_egg_crimson.json
Normal file
12
addon/spark_pet_BP/recipes/dragon_egg_crimson.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": "1.21.0",
|
||||
"minecraft:recipe_shapeless": {
|
||||
"description": { "identifier": "silverlabs:dragon_egg_crimson_recipe" },
|
||||
"tags": ["crafting_table"],
|
||||
"ingredients": [
|
||||
{ "item": "silverlabs:dragon_egg" },
|
||||
{ "item": "silverlabs:dragon_nest_crimson" }
|
||||
],
|
||||
"result": { "item": "silverlabs:dragon_egg_crimson" }
|
||||
}
|
||||
}
|
||||
12
addon/spark_pet_BP/recipes/dragon_egg_jungle.json
Normal file
12
addon/spark_pet_BP/recipes/dragon_egg_jungle.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": "1.21.0",
|
||||
"minecraft:recipe_shapeless": {
|
||||
"description": { "identifier": "silverlabs:dragon_egg_jungle_recipe" },
|
||||
"tags": ["crafting_table"],
|
||||
"ingredients": [
|
||||
{ "item": "silverlabs:dragon_egg" },
|
||||
{ "item": "silverlabs:dragon_nest_jungle" }
|
||||
],
|
||||
"result": { "item": "silverlabs:dragon_egg_jungle" }
|
||||
}
|
||||
}
|
||||
12
addon/spark_pet_BP/recipes/dragon_egg_oak.json
Normal file
12
addon/spark_pet_BP/recipes/dragon_egg_oak.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": "1.21.0",
|
||||
"minecraft:recipe_shapeless": {
|
||||
"description": { "identifier": "silverlabs:dragon_egg_oak_recipe" },
|
||||
"tags": ["crafting_table"],
|
||||
"ingredients": [
|
||||
{ "item": "silverlabs:dragon_egg" },
|
||||
{ "item": "silverlabs:dragon_nest_oak" }
|
||||
],
|
||||
"result": { "item": "silverlabs:dragon_egg_oak" }
|
||||
}
|
||||
}
|
||||
12
addon/spark_pet_BP/recipes/dragon_egg_obsidian.json
Normal file
12
addon/spark_pet_BP/recipes/dragon_egg_obsidian.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": "1.21.0",
|
||||
"minecraft:recipe_shapeless": {
|
||||
"description": { "identifier": "silverlabs:dragon_egg_obsidian_recipe" },
|
||||
"tags": ["crafting_table"],
|
||||
"ingredients": [
|
||||
{ "item": "silverlabs:dragon_egg" },
|
||||
{ "item": "silverlabs:dragon_nest_obsidian" }
|
||||
],
|
||||
"result": { "item": "silverlabs:dragon_egg_obsidian" }
|
||||
}
|
||||
}
|
||||
12
addon/spark_pet_BP/recipes/dragon_egg_spruce.json
Normal file
12
addon/spark_pet_BP/recipes/dragon_egg_spruce.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": "1.21.0",
|
||||
"minecraft:recipe_shapeless": {
|
||||
"description": { "identifier": "silverlabs:dragon_egg_spruce_recipe" },
|
||||
"tags": ["crafting_table"],
|
||||
"ingredients": [
|
||||
{ "item": "silverlabs:dragon_egg" },
|
||||
{ "item": "silverlabs:dragon_nest_spruce" }
|
||||
],
|
||||
"result": { "item": "silverlabs:dragon_egg_spruce" }
|
||||
}
|
||||
}
|
||||
12
addon/spark_pet_BP/recipes/dragon_egg_warped.json
Normal file
12
addon/spark_pet_BP/recipes/dragon_egg_warped.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": "1.21.0",
|
||||
"minecraft:recipe_shapeless": {
|
||||
"description": { "identifier": "silverlabs:dragon_egg_warped_recipe" },
|
||||
"tags": ["crafting_table"],
|
||||
"ingredients": [
|
||||
{ "item": "silverlabs:dragon_egg" },
|
||||
{ "item": "silverlabs:dragon_nest_warped" }
|
||||
],
|
||||
"result": { "item": "silverlabs:dragon_egg_warped" }
|
||||
}
|
||||
}
|
||||
19
addon/spark_pet_BP/recipes/dragon_nest_crimson.json
Normal file
19
addon/spark_pet_BP/recipes/dragon_nest_crimson.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"format_version": "1.21.0",
|
||||
"minecraft:recipe_shaped": {
|
||||
"description": { "identifier": "silverlabs:dragon_nest_crimson_recipe" },
|
||||
"tags": ["crafting_table"],
|
||||
"pattern": [
|
||||
"S S",
|
||||
"WLW",
|
||||
"PPP"
|
||||
],
|
||||
"key": {
|
||||
"S": { "item": "minecraft:stick" },
|
||||
"W": { "item": "minecraft:red_wool" },
|
||||
"L": { "item": "minecraft:leather" },
|
||||
"P": { "item": "minecraft:crimson_planks" }
|
||||
},
|
||||
"result": { "item": "silverlabs:dragon_nest_crimson" }
|
||||
}
|
||||
}
|
||||
19
addon/spark_pet_BP/recipes/dragon_nest_jungle.json
Normal file
19
addon/spark_pet_BP/recipes/dragon_nest_jungle.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"format_version": "1.21.0",
|
||||
"minecraft:recipe_shaped": {
|
||||
"description": { "identifier": "silverlabs:dragon_nest_jungle_recipe" },
|
||||
"tags": ["crafting_table"],
|
||||
"pattern": [
|
||||
"S S",
|
||||
"WLW",
|
||||
"PPP"
|
||||
],
|
||||
"key": {
|
||||
"S": { "item": "minecraft:stick" },
|
||||
"W": { "item": "minecraft:lime_wool" },
|
||||
"L": { "item": "minecraft:leather" },
|
||||
"P": { "item": "minecraft:jungle_planks" }
|
||||
},
|
||||
"result": { "item": "silverlabs:dragon_nest_jungle" }
|
||||
}
|
||||
}
|
||||
19
addon/spark_pet_BP/recipes/dragon_nest_oak.json
Normal file
19
addon/spark_pet_BP/recipes/dragon_nest_oak.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"format_version": "1.21.0",
|
||||
"minecraft:recipe_shaped": {
|
||||
"description": { "identifier": "silverlabs:dragon_nest_oak_recipe" },
|
||||
"tags": ["crafting_table"],
|
||||
"pattern": [
|
||||
"S S",
|
||||
"WLW",
|
||||
"PPP"
|
||||
],
|
||||
"key": {
|
||||
"S": { "item": "minecraft:stick" },
|
||||
"W": { "item": "minecraft:white_wool" },
|
||||
"L": { "item": "minecraft:leather" },
|
||||
"P": { "item": "minecraft:oak_planks" }
|
||||
},
|
||||
"result": { "item": "silverlabs:dragon_nest_oak" }
|
||||
}
|
||||
}
|
||||
18
addon/spark_pet_BP/recipes/dragon_nest_obsidian.json
Normal file
18
addon/spark_pet_BP/recipes/dragon_nest_obsidian.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"format_version": "1.21.0",
|
||||
"minecraft:recipe_shaped": {
|
||||
"description": { "identifier": "silverlabs:dragon_nest_obsidian_recipe" },
|
||||
"tags": ["crafting_table"],
|
||||
"pattern": [
|
||||
"O O",
|
||||
"WLW",
|
||||
"OOO"
|
||||
],
|
||||
"key": {
|
||||
"O": { "item": "minecraft:obsidian" },
|
||||
"W": { "item": "minecraft:black_wool" },
|
||||
"L": { "item": "minecraft:leather" }
|
||||
},
|
||||
"result": { "item": "silverlabs:dragon_nest_obsidian" }
|
||||
}
|
||||
}
|
||||
19
addon/spark_pet_BP/recipes/dragon_nest_spruce.json
Normal file
19
addon/spark_pet_BP/recipes/dragon_nest_spruce.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"format_version": "1.21.0",
|
||||
"minecraft:recipe_shaped": {
|
||||
"description": { "identifier": "silverlabs:dragon_nest_spruce_recipe" },
|
||||
"tags": ["crafting_table"],
|
||||
"pattern": [
|
||||
"S S",
|
||||
"WLW",
|
||||
"PPP"
|
||||
],
|
||||
"key": {
|
||||
"S": { "item": "minecraft:stick" },
|
||||
"W": { "item": "minecraft:brown_wool" },
|
||||
"L": { "item": "minecraft:leather" },
|
||||
"P": { "item": "minecraft:spruce_planks" }
|
||||
},
|
||||
"result": { "item": "silverlabs:dragon_nest_spruce" }
|
||||
}
|
||||
}
|
||||
19
addon/spark_pet_BP/recipes/dragon_nest_warped.json
Normal file
19
addon/spark_pet_BP/recipes/dragon_nest_warped.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"format_version": "1.21.0",
|
||||
"minecraft:recipe_shaped": {
|
||||
"description": { "identifier": "silverlabs:dragon_nest_warped_recipe" },
|
||||
"tags": ["crafting_table"],
|
||||
"pattern": [
|
||||
"S S",
|
||||
"WLW",
|
||||
"PPP"
|
||||
],
|
||||
"key": {
|
||||
"S": { "item": "minecraft:stick" },
|
||||
"W": { "item": "minecraft:cyan_wool" },
|
||||
"L": { "item": "minecraft:leather" },
|
||||
"P": { "item": "minecraft:warped_planks" }
|
||||
},
|
||||
"result": { "item": "silverlabs:dragon_nest_warped" }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user