Add Silicon Wafer, Item Processor, Redstone Processor
This commit is contained in:
parent
2035874baa
commit
c2f1f606f2
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -39,6 +39,9 @@ object PhyItems {
|
|||
val TWISTED_PAIR = Item(Item.Settings())
|
||||
val SCREEN = Item(Item.Settings())
|
||||
val SERIAL_CABLE = Item(Item.Settings())
|
||||
val SILICON_WAFER = Item(Item.Settings())
|
||||
val ITEM_PROCESSOR = Item(Item.Settings())
|
||||
val REDSTONE_PROCESSOR = Item(Item.Settings())
|
||||
|
||||
fun init() {
|
||||
register(InterfaceBlock.ID, INTERFACE)
|
||||
|
@ -56,6 +59,9 @@ object PhyItems {
|
|||
register(Identifier(PhysicalConnectivity.MODID, "twisted_pair"), TWISTED_PAIR)
|
||||
register(Identifier(PhysicalConnectivity.MODID, "screen"), SCREEN)
|
||||
register(Identifier(PhysicalConnectivity.MODID, "serial_cable"), SERIAL_CABLE)
|
||||
register(Identifier(PhysicalConnectivity.MODID, "silicon_wafer"), SILICON_WAFER)
|
||||
register(Identifier(PhysicalConnectivity.MODID, "item_processor"), ITEM_PROCESSOR)
|
||||
register(Identifier(PhysicalConnectivity.MODID, "redstone_processor"), REDSTONE_PROCESSOR)
|
||||
}
|
||||
|
||||
private fun register(id: Identifier, item: Item) {
|
||||
|
|
|
@ -14,6 +14,9 @@
|
|||
"item.phycon.twisted_pair": "Twisted Pair",
|
||||
"item.phycon.screen": "Screen",
|
||||
"item.phycon.serial_cable": "Serial Cable",
|
||||
"item.phycon.silicon_wafer": "Silicon Wafer",
|
||||
"item.phycon.item_processor": "Item Processor",
|
||||
"item.phycon.redstone_processor": "Redstone Processor",
|
||||
|
||||
"gui.phycon.terminal_buffer": "Buffer",
|
||||
"gui.phycon.console.details": "Device Details",
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "phycon:item/item_processor"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "phycon:item/redstone_processor"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "phycon:item/silicon_wafer"
|
||||
}
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 992 B |
Binary file not shown.
After Width: | Height: | Size: 953 B |
Binary file not shown.
After Width: | Height: | Size: 761 B |
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"phycon:item_processor",
|
||||
"phycon:redstone_processor"
|
||||
]
|
||||
},
|
||||
"criteria": {
|
||||
"has_wafer": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"item": "phycon:silicon_wafer"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"has_redstone_processor": {
|
||||
"trigger": "minecraft:recipe_unlocked",
|
||||
"conditions": {
|
||||
"recipe": "phycon:redstone_processor"
|
||||
}
|
||||
},
|
||||
"has_item_processor": {
|
||||
"trigger": "minecraft:recipe_unlocked",
|
||||
"conditions": {
|
||||
"recipe": "phycon:item_processor"
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_wafer",
|
||||
"has_redstone_processor",
|
||||
"has_item_processor"
|
||||
]
|
||||
]
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"phycon:silicon_wafer"
|
||||
]
|
||||
},
|
||||
"criteria": {
|
||||
"has_quartz": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"item": "minecraft:quartz"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"trigger": "minecraft:recipe_unlocked",
|
||||
"conditions": {
|
||||
"recipe": "phycon:silicon_wafer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_quartz",
|
||||
"has_the_recipe"
|
||||
]
|
||||
]
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
" C ",
|
||||
"ISI",
|
||||
" G "
|
||||
],
|
||||
"key": {
|
||||
"C": {"item": "minecraft:chest"},
|
||||
"I": {"tag": "c:iron_ingots"},
|
||||
"S": {"item": "phycon:silicon_wafer"},
|
||||
"G": {"tag": "c:gold_ingots"}
|
||||
},
|
||||
"result": {
|
||||
"item": "phycon:item_processor"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
" T ",
|
||||
"RSR",
|
||||
" G "
|
||||
],
|
||||
"key": {
|
||||
"T": {"item": "minecraft:redstone_torch"},
|
||||
"R": {"item": "minecraft:redstone"},
|
||||
"S": {"item": "phycon:silicon_wafer"},
|
||||
"G": {"tag": "c:gold_ingots"}
|
||||
},
|
||||
"result": {
|
||||
"item": "phycon:redstone_processor"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"type": "minecraft:blasting",
|
||||
"ingredient": {
|
||||
"item": "minecraft:quartz"
|
||||
},
|
||||
"result": "phycon:silicon_wafer",
|
||||
"experience": 5,
|
||||
"cookingtime": 300
|
||||
}
|
Loading…
Reference in New Issue