feat: add recipes

This commit is contained in:
xtex 2023-07-30 12:23:04 +08:00
parent df6a14f2b1
commit 4d5559a27d
Signed by: xtex
GPG Key ID: B918086ED8045B91
12 changed files with 205 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import net.minecraft.world.item.CreativeModeTab
import net.minecraft.world.item.ItemStack import net.minecraft.world.item.ItemStack
import org.slf4j.LoggerFactory import org.slf4j.LoggerFactory
import quaedam.config.QuaedamConfig import quaedam.config.QuaedamConfig
import quaedam.misc.CraftingMaterials
import quaedam.misc.causality.CausalityAnchor import quaedam.misc.causality.CausalityAnchor
import quaedam.misc.reality.RealityStabler import quaedam.misc.reality.RealityStabler
import quaedam.projection.ProjectionCommand import quaedam.projection.ProjectionCommand
@ -60,6 +61,7 @@ object Quaedam {
ProjectionShell ProjectionShell
CausalityAnchor CausalityAnchor
RealityStabler RealityStabler
CraftingMaterials
creativeModeTabs.register() creativeModeTabs.register()
items.register() items.register()

View File

@ -0,0 +1,16 @@
package quaedam.misc
import net.minecraft.world.item.Item
import quaedam.Quaedam
object CraftingMaterials {
val ironCopperMetal = Quaedam.items.register("iron_copper_metal") {
Item(Item.Properties().`arch$tab`(Quaedam.creativeModeTab))
}!!
val projectionMetal = Quaedam.items.register("projection_metal") {
Item(Item.Properties().`arch$tab`(Quaedam.creativeModeTab))
}!!
}

View File

@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "minecraft:iron_ingot"
},
{
"item": "minecraft:iron_ingot"
},
{
"item": "minecraft:copper_ingot"
}
],
"result": {
"item": "quaedam:iron_copper_metal"
}
}

View File

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"---",
"-.-",
"---"
],
"key": {
"-": {
"item": "quaedam:projection_metal"
},
".": {
"item": "minecraft:note_block"
}
},
"result": {
"item": "quaedam:music_projection"
}
}

View File

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"---",
"-.-",
"---"
],
"key": {
"-": {
"item": "quaedam:projection_metal"
},
".": {
"item": "minecraft:sand"
}
},
"result": {
"item": "quaedam:noise_projection"
}
}

View File

@ -0,0 +1,9 @@
{
"type": "minecraft:smelting",
"ingredient": {
"item": "quaedam:iron_copper_metal"
},
"result": "quaedam:projection_metal",
"experience": 0.2,
"cookingtime": 600
}

View File

@ -0,0 +1,22 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"...",
"!-!",
"!!!"
],
"key": {
"-": {
"item": "minecraft:glass_pane"
},
"!": {
"item": "minecraft:iron_ingot"
},
".": {
"item": "minecraft:copper_ingot"
}
},
"result": {
"item": "quaedam:projection_shell"
}
}

View File

@ -0,0 +1,22 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"I-I",
"-C-",
"I-I"
],
"key": {
"-": {
"item": "minecraft:ice"
},
"I": {
"item": "minecraft:iron_ingot"
},
"C": {
"item": "minecraft:copper_ingot"
}
},
"result": {
"item": "quaedam:projector"
}
}

View File

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"---",
"-.-",
"---"
],
"key": {
"-": {
"item": "quaedam:projection_metal"
},
".": {
"item": "minecraft:glowstone"
}
},
"result": {
"item": "quaedam:skylight_projection"
}
}

View File

@ -0,0 +1,22 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
" ! ",
".-.",
"..."
],
"key": {
"-": {
"item": "minecraft:note_block"
},
"!": {
"item": "minecraft:redstone"
},
".": {
"item": "minecraft:copper_ingot"
}
},
"result": {
"item": "quaedam:smart_instrument"
}
}

View File

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"---",
"-.-",
"---"
],
"key": {
"-": {
"item": "quaedam:projection_metal"
},
".": {
"item": "minecraft:stick"
}
},
"result": {
"item": "quaedam:swarm_projection"
}
}

View File

@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"---",
"-.-",
"---"
],
"key": {
"-": {
"item": "quaedam:projection_metal"
},
".": {
"item": "minecraft:ender_pearl"
}
},
"result": {
"item": "quaedam:swarm_projection"
}
}