Skip to content

Commit

Permalink
Recipes are important.
Browse files Browse the repository at this point in the history
  • Loading branch information
SirLyle committed Nov 19, 2019
1 parent d44c662 commit d5cdc7e
Show file tree
Hide file tree
Showing 31 changed files with 340 additions and 11 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fabric_kotlin = 1.3.50+build.1


# Mod Properties
mod-version = 0.1
mod-version = 0.1.1
local-build = false
archive-base-name = ExNihiloFabrico

Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/exnihilofabrico/ExNihiloFabrico.kt
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ object ExNihiloFabrico: ModInitializer {
// Mesh Crafting
ModBlocks.SIEVES.forEach { (k, sieve) -> builder.addShapedRecipe(k) { sieve.generateRecipe(it) } }
// Crucible Crafting
ModBlocks.CRUCIBLES.forEach { (k, crucible) -> builder.addShapedRecipe(k) { crucible.generateRecipe(it) } }
ModBlocks.CRUCIBLES.filter{ it.key.path != "unfired_crucible" }.forEach { (k, crucible) -> builder.addShapedRecipe(k) { crucible.generateRecipe(it) } }
// Barrel Crafting
ModBlocks.BARRELS.forEach { (k, barrel) -> builder.addShapedRecipe(k) { barrel.generateRecipe(it) } }
}
Expand Down
4 changes: 3 additions & 1 deletion src/main/kotlin/exnihilofabrico/modules/ModItems.kt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ object ModItems {
id("pebble_andesite") to BaseItem(Item.Settings().maxCount(64)),
id("pebble_diorite") to BaseItem(Item.Settings().maxCount(64)),
id("pebble_granite") to BaseItem(Item.Settings().maxCount(64)),
id("pebble_stone") to BaseItem(Item.Settings().maxCount(64))
id("pebble_stone") to BaseItem(Item.Settings().maxCount(64)),
id("porcelain") to BaseItem(Item.Settings().maxCount(64)),
id("unfired_crucible") to BaseItem(Item.Settings().maxCount(64))
)

init {
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/assets/exnihilofabrico/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"block.exnihilofabrico.jungle_crucible": "Jungle Crucible",
"block.exnihilofabrico.oak_crucible": "Oak Crucible",
"block.exnihilofabrico.spruce_crucible": "Spruce Crucible",
"block.exnihilofabrico.stone_crucible": "Stone Crucible",
"block.exnihilofabrico.stone_crucible": "Porcelain Crucible",
"item.exnihilofabrico.unfired_crucible": "Unfired Porcelain Crucible",

"block.exnihilofabrico.acacia_sieve": "Acacia Sieve",
"block.exnihilofabrico.birch_sieve": "Birch Sieve",
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"parent": "item/generated",
"textures": {"layer0": "exnihilofabrico:item/porcelain"}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"parent": "exnihilofabrico:block/crucible",
"textures": {"all": "exnihilofabrico:block/unfired_crucible"}
}
6 changes: 6 additions & 0 deletions src/main/resources/data/c/tags/items/porcelain.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"exnihilofabrico:porcelain"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shaped",
"group": "exnihilofabrico:crook",
"pattern": [
"##",
" #",
" #"
],
"key": {
"#": {
"item": "exnihilofabrico:pebble_andesite"
}
},
"result": {
"item": "exnihilofabrico:crook_andesite"
}
}
17 changes: 17 additions & 0 deletions src/main/resources/data/exnihilofabrico/recipes/crook_blaze.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shaped",
"group": "exnihilofabrico:crook",
"pattern": [
"##",
" #",
" #"
],
"key": {
"#": {
"item": "minecraft:blaze_rod"
}
},
"result": {
"item": "exnihilofabrico:crook_blaze"
}
}
17 changes: 17 additions & 0 deletions src/main/resources/data/exnihilofabrico/recipes/crook_bone.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shaped",
"group": "exnihilofabrico:crook",
"pattern": [
"##",
" #",
" #"
],
"key": {
"#": {
"item": "minecraft:bone"
}
},
"result": {
"item": "exnihilofabrico:crook_bone"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "minecraft:smelting",
"ingredient": {
"item": "exnihilofabrico:crook_clay_uncooked"
},
"result": "exnihilofabrico:crook_clay",
"experience": 0.15,
"cookingtime": 200
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shaped",
"group": "exnihilofabrico:crook",
"pattern": [
"##",
" #",
" #"
],
"key": {
"#": {
"item": "minecraft:clay_ball"
}
},
"result": {
"item": "exnihilofabrico:crook_clay_uncooked"
}
}
17 changes: 17 additions & 0 deletions src/main/resources/data/exnihilofabrico/recipes/crook_diorite.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shaped",
"group": "exnihilofabrico:crook",
"pattern": [
"##",
" #",
" #"
],
"key": {
"#": {
"item": "exnihilofabrico:pebble_diorite"
}
},
"result": {
"item": "exnihilofabrico:crook_diorite"
}
}
17 changes: 17 additions & 0 deletions src/main/resources/data/exnihilofabrico/recipes/crook_granite.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shaped",
"group": "exnihilofabrico:crook",
"pattern": [
"##",
" #",
" #"
],
"key": {
"#": {
"item": "exnihilofabrico:pebble_granite"
}
},
"result": {
"item": "exnihilofabrico:crook_granite"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shaped",
"group": "exnihilofabrico:crook",
"pattern": [
"##",
" #",
" #"
],
"key": {
"#": {
"item": "minecraft:prismarine_shard"
}
},
"result": {
"item": "exnihilofabrico:crook_prismarine"
}
}
17 changes: 17 additions & 0 deletions src/main/resources/data/exnihilofabrico/recipes/crook_purpur.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shaped",
"group": "exnihilofabrico:crook",
"pattern": [
"##",
" #",
" #"
],
"key": {
"#": {
"item": "minecraft:popped_chorus_fruit"
}
},
"result": {
"item": "exnihilofabrico:crook_purpur"
}
}
17 changes: 17 additions & 0 deletions src/main/resources/data/exnihilofabrico/recipes/crook_stone.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shaped",
"group": "exnihilofabrico:crook",
"pattern": [
"##",
" #",
" #"
],
"key": {
"#": {
"item": "exnihilofabrico:pebble_stone"
}
},
"result": {
"item": "exnihilofabrico:crook_stone"
}
}
17 changes: 17 additions & 0 deletions src/main/resources/data/exnihilofabrico/recipes/crook_wood.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shaped",
"group": "exnihilofabrico:crook",
"pattern": [
"##",
" #",
" #"
],
"key": {
"#": {
"item": "minecraft:stick"
}
},
"result": {
"item": "exnihilofabrico:crook_wood"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"type": "minecraft:crafting_shaped",
"group": "exnihilofabrico:hammer",
"pattern": [
" # ",
" /#",
"/ "
],
"key": {
"/": {
"item": "minecraft:stick"
},
"#": {
"item": "minecraft:diamond"
}
},
"result": {
"item": "exnihilofabrico:hammer_diamond"
}
}
20 changes: 20 additions & 0 deletions src/main/resources/data/exnihilofabrico/recipes/hammer_gold.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"type": "minecraft:crafting_shaped",
"group": "exnihilofabrico:hammer",
"pattern": [
" # ",
" /#",
"/ "
],
"key": {
"/": {
"item": "minecraft:stick"
},
"#": {
"item": "minecraft:gold_ingot"
}
},
"result": {
"item": "exnihilofabrico:hammer_gold"
}
}
20 changes: 20 additions & 0 deletions src/main/resources/data/exnihilofabrico/recipes/hammer_iron.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"type": "minecraft:crafting_shaped",
"group": "exnihilofabrico:hammer",
"pattern": [
" # ",
" /#",
"/ "
],
"key": {
"/": {
"item": "minecraft:stick"
},
"#": {
"item": "minecraft:iron_ingot"
}
},
"result": {
"item": "exnihilofabrico:hammer_iron"
}
}
20 changes: 20 additions & 0 deletions src/main/resources/data/exnihilofabrico/recipes/hammer_stone.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"type": "minecraft:crafting_shaped",
"group": "exnihilofabrico:hammer",
"pattern": [
" # ",
" /#",
"/ "
],
"key": {
"/": {
"item": "minecraft:stick"
},
"#": {
"item": "minecraft:cobblestone"
}
},
"result": {
"item": "exnihilofabrico:hammer_stone"
}
}
20 changes: 20 additions & 0 deletions src/main/resources/data/exnihilofabrico/recipes/hammer_wood.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"type": "minecraft:crafting_shaped",
"group": "exnihilofabrico:hammer",
"pattern": [
" # ",
" /#",
"/ "
],
"key": {
"/": {
"item": "minecraft:stick"
},
"#": {
"tag": "minecraft:planks"
}
},
"result": {
"item": "exnihilofabrico:hammer_wood"
}
}
15 changes: 15 additions & 0 deletions src/main/resources/data/exnihilofabrico/recipes/porcelain.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "minecraft:clay_ball"
},
{
"item": "minecraft:bone_meal"
}
],
"result": {
"item": "exnihilofabrico:porcelain",
"count": 2
}
}
Loading

0 comments on commit d5cdc7e

Please sign in to comment.