From 6f55282537e7f9f3d2e9a26b9d8323e38f48e384 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Mon, 8 Mar 2021 18:32:20 -0500 Subject: [PATCH] Add Screen and Serial Cable and Console recipe --- .../net/shadowfacts/phycon/init/PhyItems.kt | 4 ++ .../resources/assets/phycon/lang/en_us.json | 2 + .../assets/phycon/models/item/screen.json | 6 +++ .../phycon/models/item/serial_cable.json | 6 +++ .../assets/phycon/textures/item/screen.png | Bin 0 -> 688 bytes .../phycon/textures/item/serial_cable.png | Bin 0 -> 828 bytes .../phycon/advancements/recipes/console.json | 32 ++++++++++++++++ .../phycon/advancements/recipes/screen.json | 32 ++++++++++++++++ .../advancements/recipes/serial_cable.json | 35 ++++++++++++++++++ .../data/phycon/recipes/console.json | 16 ++++++++ .../resources/data/phycon/recipes/screen.json | 16 ++++++++ .../data/phycon/recipes/serial_cable.json | 16 ++++++++ 12 files changed, 165 insertions(+) create mode 100644 src/main/resources/assets/phycon/models/item/screen.json create mode 100644 src/main/resources/assets/phycon/models/item/serial_cable.json create mode 100644 src/main/resources/assets/phycon/textures/item/screen.png create mode 100644 src/main/resources/assets/phycon/textures/item/serial_cable.png create mode 100644 src/main/resources/data/phycon/advancements/recipes/console.json create mode 100644 src/main/resources/data/phycon/advancements/recipes/screen.json create mode 100644 src/main/resources/data/phycon/advancements/recipes/serial_cable.json create mode 100644 src/main/resources/data/phycon/recipes/console.json create mode 100644 src/main/resources/data/phycon/recipes/screen.json create mode 100644 src/main/resources/data/phycon/recipes/serial_cable.json diff --git a/src/main/kotlin/net/shadowfacts/phycon/init/PhyItems.kt b/src/main/kotlin/net/shadowfacts/phycon/init/PhyItems.kt index 704d196..76913fe 100644 --- a/src/main/kotlin/net/shadowfacts/phycon/init/PhyItems.kt +++ b/src/main/kotlin/net/shadowfacts/phycon/init/PhyItems.kt @@ -37,6 +37,8 @@ object PhyItems { val SCREWDRIVER = ScrewdriverItem() val CONSOLE = ConsoleItem() val TWISTED_PAIR = Item(Item.Settings()) + val SCREEN = Item(Item.Settings()) + val SERIAL_CABLE = Item(Item.Settings()) fun init() { register(InterfaceBlock.ID, INTERFACE) @@ -52,6 +54,8 @@ object PhyItems { register(ScrewdriverItem.ID, SCREWDRIVER) register(ConsoleItem.ID, CONSOLE) register(Identifier(PhysicalConnectivity.MODID, "twisted_pair"), TWISTED_PAIR) + register(Identifier(PhysicalConnectivity.MODID, "screen"), SCREEN) + register(Identifier(PhysicalConnectivity.MODID, "serial_cable"), SERIAL_CABLE) } private fun register(id: Identifier, item: Item) { diff --git a/src/main/resources/assets/phycon/lang/en_us.json b/src/main/resources/assets/phycon/lang/en_us.json index b475786..1292d0e 100644 --- a/src/main/resources/assets/phycon/lang/en_us.json +++ b/src/main/resources/assets/phycon/lang/en_us.json @@ -12,6 +12,8 @@ "item.phycon.screwdriver": "Screwdriver", "item.phycon.console": "Console", "item.phycon.twisted_pair": "Twisted Pair", + "item.phycon.screen": "Screen", + "item.phycon.serial_cable": "Serial Cable", "gui.phycon.terminal_buffer": "Buffer", "gui.phycon.console.details": "Device Details", diff --git a/src/main/resources/assets/phycon/models/item/screen.json b/src/main/resources/assets/phycon/models/item/screen.json new file mode 100644 index 0000000..a657bf0 --- /dev/null +++ b/src/main/resources/assets/phycon/models/item/screen.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "phycon:item/screen" + } +} diff --git a/src/main/resources/assets/phycon/models/item/serial_cable.json b/src/main/resources/assets/phycon/models/item/serial_cable.json new file mode 100644 index 0000000..160ca26 --- /dev/null +++ b/src/main/resources/assets/phycon/models/item/serial_cable.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "phycon:item/serial_cable" + } +} diff --git a/src/main/resources/assets/phycon/textures/item/screen.png b/src/main/resources/assets/phycon/textures/item/screen.png new file mode 100644 index 0000000000000000000000000000000000000000..46e93d2b4e66036b4b7c25603692a86a91ac2126 GIT binary patch literal 688 zcmV;h0#E&k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