Add recipes, translations, etc for the mysterious egg and spikes

This commit is contained in:
Sollace 2023-10-15 16:53:19 +01:00
parent 8ab12318f7
commit 17a5924fca
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB
6 changed files with 95 additions and 2 deletions

View file

@ -96,5 +96,4 @@ public class PileBlock extends Block implements Waterloggable {
} }
return super.getStateForNeighborUpdate(state, direction, neighborState, world, pos, neighborPos); return super.getStateForNeighborUpdate(state, direction, neighborState, world, pos, neighborPos);
} }
} }

View file

@ -207,6 +207,7 @@
"block.unicopia.sour_apple_sprout": "Sour Apple Sprout", "block.unicopia.sour_apple_sprout": "Sour Apple Sprout",
"block.unicopia.surface_chitin": "Surface Chitin", "block.unicopia.surface_chitin": "Surface Chitin",
"block.unicopia.mysterious_egg": "Mysterious Egg",
"block.unicopia.hive": "Hive", "block.unicopia.hive": "Hive",
"block.unicopia.chitin": "Chitin", "block.unicopia.chitin": "Chitin",
"block.unicopia.chitin_spikes": "Chitin Spikes", "block.unicopia.chitin_spikes": "Chitin Spikes",

View file

@ -1,3 +1,16 @@
{ {
"parent": "unicopia:block/mysterious_egg_1" "parent": "unicopia:block/mysterious_egg_1",
"gui_light": "side",
"display": {
"gui": {
"rotation": [ 30, 225, 0 ],
"translation": [ 0, 0, 0],
"scale":[ 0.625, 0.625, 0.625 ]
},
"fixed": {
"rotation": [ 0, 0, 0 ],
"translation": [ 0, 0, 0],
"scale":[ 0.5, 0.5, 0.5 ]
}
}
} }

View file

@ -0,0 +1,64 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1.0,
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"name": "unicopia:mysterious_egg",
"functions": [
{
"add": false,
"count": 1,
"function": "minecraft:set_count",
"conditions": [
{
"block": "unicopia:mysterious_egg",
"condition": "minecraft:block_state_property",
"properties": {
"count": "1"
}
}
]
},
{
"add": false,
"count": 2,
"function": "minecraft:set_count",
"conditions": [
{
"block": "unicopia:mysterious_egg",
"condition": "minecraft:block_state_property",
"properties": {
"count": "2"
}
}
]
},
{
"add": false,
"count": 3,
"function": "minecraft:set_count",
"conditions": [
{
"block": "unicopia:mysterious_egg",
"condition": "minecraft:block_state_property",
"properties": {
"count": "3"
}
}
]
}
]
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}

View file

@ -0,0 +1,13 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
" # ",
"###"
],
"key": {
"#": [
{ "item": "unicopia:chitin" }
]
},
"result": { "item": "unicopia:chitin_spikes", "count": 1 }
}

View file

@ -8,6 +8,9 @@
"unicopia:chiselled_chitin_slab", "unicopia:chiselled_chitin_slab",
"unicopia:chiselled_chitin_stairs", "unicopia:chiselled_chitin_stairs",
"unicopia:chiselled_chitin_hull", "unicopia:chiselled_chitin_hull",
"unicopia:chitin_spikes",
"unicopia:mysterious_egg",
"unicopia:hive",
"#unicopia:food_types/cooked_meat", "#unicopia:food_types/cooked_meat",
"#unicopia:food_types/raw_meat", "#unicopia:food_types/raw_meat",
"#unicopia:food_types/raw_insect", "#unicopia:food_types/raw_insect",