mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Add recipes, translations, etc for the mysterious egg and spikes
This commit is contained in:
parent
8ab12318f7
commit
17a5924fca
6 changed files with 95 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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 ]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
13
src/main/resources/data/unicopia/recipes/chitin_spikes.json
Normal file
13
src/main/resources/data/unicopia/recipes/chitin_spikes.json
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:crafting_shaped",
|
||||||
|
"pattern": [
|
||||||
|
" # ",
|
||||||
|
"###"
|
||||||
|
],
|
||||||
|
"key": {
|
||||||
|
"#": [
|
||||||
|
{ "item": "unicopia:chitin" }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"result": { "item": "unicopia:chitin_spikes", "count": 1 }
|
||||||
|
}
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue