Compare commits

...

2 Commits

Author SHA1 Message Date
467a22af35
feat: add lang and models for new materials 2023-07-30 12:24:57 +08:00
4d5559a27d
feat: add recipes 2023-07-30 12:23:04 +08:00
16 changed files with 221 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import net.minecraft.world.item.CreativeModeTab
import net.minecraft.world.item.ItemStack
import org.slf4j.LoggerFactory
import quaedam.config.QuaedamConfig
import quaedam.misc.CraftingMaterials
import quaedam.misc.causality.CausalityAnchor
import quaedam.misc.reality.RealityStabler
import quaedam.projection.ProjectionCommand
@ -60,6 +61,7 @@ object Quaedam {
ProjectionShell
CausalityAnchor
RealityStabler
CraftingMaterials
creativeModeTabs.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

@ -11,6 +11,8 @@
"block.quaedam.reality_stabler": "Reality Stabler",
"entity.quaedam.projected_person": "Virtual Person",
"item.quaedam.projection_shell": "Projection Shell",
"item.quaedam.iron_copper_metal": "Copper-iron Alloy",
"item.quaedam.projection_metal": "Projection Metal",
"quaedam.screen.projection_shell": "Projection Shell",
"quaedam.screen.projection_shell.lock_revoked": "Timeout! Connection Lost",
"quaedam.screen.projection_shell.lock_failed": "Permission denied!",

View File

@ -11,6 +11,8 @@
"block.quaedam.smart_instrument": "智能乐器",
"entity.quaedam.projected_person": "虚拟个体",
"item.quaedam.projection_shell": "投影操作面板",
"item.quaedam.iron_copper_metal": "铜铁合金",
"item.quaedam.projection_metal": "投影金属",
"quaedam.screen.projection_shell": "投影操作",
"quaedam.screen.projection_shell.lock_revoked": "超时!连接丢失",
"quaedam.screen.projection_shell.lock_failed": "正被使用",

View File

@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "quaedam:item/iron_copper_metal"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "quaedam:item/projection_metal"
}
}

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"
}
}