diff --git a/build.gradle b/build.gradle index 028ee78e2..0675e1f8a 100755 --- a/build.gradle +++ b/build.gradle @@ -9,6 +9,12 @@ buildscript { } } +repositories { + maven { + url = "https://dvs1.progwml6.com/files/maven/" + } +} + apply plugin: 'net.minecraftforge.gradle' apply plugin: 'eclipse' apply plugin: 'maven-publish' @@ -65,7 +71,7 @@ processResources { from(sourceSets.main.resources.srcDirs) { include 'META-INF/mods.toml' - expand 'version':project.version + expand 'version': project.version } from(sourceSets.main.resources.srcDirs) { @@ -75,18 +81,20 @@ processResources { dependencies { minecraft 'net.minecraftforge:forge:1.14.4-28.0.73' + compileOnly fg.deobf("mezz.jei:jei-1.14.4:6.0.0.11:api") + runtimeOnly fg.deobf("mezz.jei:jei-1.14.4:6.0.0.11") } jar { manifest { attributes([ - "Specification-Title": "refinedstorage", - "Specification-Vendor": "raoulvdberge", - "Specification-Version": "1", - "Implementation-Title": project.name, - "Implementation-Version": "${version}", - "Implementation-Vendor" :"raoulvdberge", - "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ") + "Specification-Title" : "refinedstorage", + "Specification-Vendor" : "raoulvdberge", + "Specification-Version" : "1", + "Implementation-Title" : project.name, + "Implementation-Version" : "${version}", + "Implementation-Vendor" : "raoulvdberge", + "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ") ]) } } diff --git a/src/main/java/com/raoulvdberge/refinedstorage/RS.java b/src/main/java/com/raoulvdberge/refinedstorage/RS.java index e478d41ed..d9e27b7dd 100755 --- a/src/main/java/com/raoulvdberge/refinedstorage/RS.java +++ b/src/main/java/com/raoulvdberge/refinedstorage/RS.java @@ -1,8 +1,6 @@ package com.raoulvdberge.refinedstorage; -import com.raoulvdberge.refinedstorage.item.ItemCore; -import com.raoulvdberge.refinedstorage.item.ItemProcessorBinding; -import com.raoulvdberge.refinedstorage.item.ItemQuartzEnrichedIron; +import com.raoulvdberge.refinedstorage.item.*; import com.raoulvdberge.refinedstorage.item.group.MainItemGroup; import net.minecraft.block.Block; import net.minecraft.item.Item; @@ -36,6 +34,15 @@ public final class RS { e.getRegistry().register(new ItemCore(ItemCore.Type.DESTRUCTION)); e.getRegistry().register(new ItemQuartzEnrichedIron()); e.getRegistry().register(new ItemProcessorBinding()); + + e.getRegistry().register(new ItemProcessor(ItemProcessor.Type.RAW_BASIC)); + e.getRegistry().register(new ItemProcessor(ItemProcessor.Type.RAW_IMPROVED)); + e.getRegistry().register(new ItemProcessor(ItemProcessor.Type.RAW_ADVANCED)); + e.getRegistry().register(new ItemProcessor(ItemProcessor.Type.BASIC)); + e.getRegistry().register(new ItemProcessor(ItemProcessor.Type.IMPROVED)); + e.getRegistry().register(new ItemProcessor(ItemProcessor.Type.ADVANCED)); + + e.getRegistry().register(new ItemSilicon()); } /* TODO diff --git a/src/main/java/com/raoulvdberge/refinedstorage/RSContainers.java b/src/main/java/com/raoulvdberge/refinedstorage/RSContainers.java index 755d569b3..c5a8c6061 100644 --- a/src/main/java/com/raoulvdberge/refinedstorage/RSContainers.java +++ b/src/main/java/com/raoulvdberge/refinedstorage/RSContainers.java @@ -5,56 +5,55 @@ import com.raoulvdberge.refinedstorage.container.factory.TileContainerFactory; import net.minecraft.inventory.container.ContainerType; import net.minecraftforge.common.extensions.IForgeContainerType; import net.minecraftforge.event.RegistryEvent; -import net.minecraftforge.registries.ObjectHolder; public final class RSContainers { - @ObjectHolder(RS.ID + ":constructor") + //@ObjectHolder(RS.ID + ":constructor") public static final ContainerType CONSTRUCTOR = null; - @ObjectHolder(RS.ID + ":controller") + //@ObjectHolder(RS.ID + ":controller") public static final ContainerType CONTROLLER = null; - @ObjectHolder(RS.ID + ":crafter") + //@ObjectHolder(RS.ID + ":crafter") public static final ContainerType CRAFTER = null; - @ObjectHolder(RS.ID + ":crafter_manager") + //@ObjectHolder(RS.ID + ":crafter_manager") public static final ContainerType CRAFTER_MANAGER = null; - @ObjectHolder(RS.ID + ":crafting_monitor") + //@ObjectHolder(RS.ID + ":crafting_monitor") public static final ContainerType CRAFTING_MONITOR = null; - @ObjectHolder(RS.ID + ":destructor") + //@ObjectHolder(RS.ID + ":destructor") public static final ContainerType DESTRUCTOR = null; - @ObjectHolder(RS.ID + ":detector") + //@ObjectHolder(RS.ID + ":detector") public static final ContainerType DETECTOR = null; - @ObjectHolder(RS.ID + ":disk_drive") + //@ObjectHolder(RS.ID + ":disk_drive") public static final ContainerType DISK_DRIVE = null; - @ObjectHolder(RS.ID + ":disk_manipulator") + //@ObjectHolder(RS.ID + ":disk_manipulator") public static final ContainerType DISK_MANIPULATOR = null; - @ObjectHolder(RS.ID + ":exporter") + //@ObjectHolder(RS.ID + ":exporter") public static final ContainerType EXPORTER = null; - @ObjectHolder(RS.ID + ":external_storage") + //@ObjectHolder(RS.ID + ":external_storage") public static final ContainerType EXTERNAL_STORAGE = null; - @ObjectHolder(RS.ID + ":filter") + //@ObjectHolder(RS.ID + ":filter") public static final ContainerType FILTER = null; - @ObjectHolder(RS.ID + ":fluid_interface") + //@ObjectHolder(RS.ID + ":fluid_interface") public static final ContainerType FLUID_INTERFACE = null; - @ObjectHolder(RS.ID + ":fluid_storage") + //@ObjectHolder(RS.ID + ":fluid_storage") public static final ContainerType FLUID_STORAGE = null; - @ObjectHolder(RS.ID + ":grid") + //@ObjectHolder(RS.ID + ":grid") public static final ContainerType GRID = null; - @ObjectHolder(RS.ID + ":importer") + //@ObjectHolder(RS.ID + ":importer") public static final ContainerType IMPORTER = null; - @ObjectHolder(RS.ID + ":interface") + //@ObjectHolder(RS.ID + ":interface") public static final ContainerType INTERFACE = null; - @ObjectHolder(RS.ID + ":network_transmitter") + //@ObjectHolder(RS.ID + ":network_transmitter") public static final ContainerType NETWORK_TRANSMITTER = null; - @ObjectHolder(RS.ID + ":reader_writer") + //@ObjectHolder(RS.ID + ":reader_writer") public static final ContainerType READER_WRITER = null; - @ObjectHolder(RS.ID + ":relay") + //@ObjectHolder(RS.ID + ":relay") public static final ContainerType RELAY = null; - @ObjectHolder(RS.ID + ":security_manager") + //@ObjectHolder(RS.ID + ":security_manager") public static final ContainerType SECURITY_MANAGER = null; - @ObjectHolder(RS.ID + ":storage") + //@ObjectHolder(RS.ID + ":storage") public static final ContainerType STORAGE = null; - @ObjectHolder(RS.ID + ":storage_monitor") + //@ObjectHolder(RS.ID + ":storage_monitor") public static final ContainerType STORAGE_MONITOR = null; - @ObjectHolder(RS.ID + ":wireless_transmitter") + //@ObjectHolder(RS.ID + ":wireless_transmitter") public static final ContainerType WIRELESS_TRANSMITTER = null; public void registerContainers(final RegistryEvent.Register> event) { diff --git a/src/main/java/com/raoulvdberge/refinedstorage/RSItems.java b/src/main/java/com/raoulvdberge/refinedstorage/RSItems.java index 0a19fbae3..cfb699034 100755 --- a/src/main/java/com/raoulvdberge/refinedstorage/RSItems.java +++ b/src/main/java/com/raoulvdberge/refinedstorage/RSItems.java @@ -10,10 +10,24 @@ public final class RSItems { public static final ItemWirelessCraftingMonitor WIRELESS_CRAFTING_MONITOR = new ItemWirelessCraftingMonitor(); @ObjectHolder(RS.ID + ":quartz_enriched_iron") public static final ItemQuartzEnrichedIron QUARTZ_ENRICHED_IRON = null; - @ObjectHolder(RS.ID + ":core") - public static final ItemCore CORE = null; - public static final ItemSilicon SILICON = new ItemSilicon(); - public static final ItemProcessor PROCESSOR = new ItemProcessor(); + @ObjectHolder(RS.ID + ":construction_core") + public static final ItemCore CONSTRUCTION_CORE = null; + @ObjectHolder(RS.ID + ":destruction_core") + public static final ItemCore DESTRUCTION_CORE = null; + @ObjectHolder(RS.ID + ":silicon") + public static final ItemSilicon SILICON = null; + @ObjectHolder(RS.ID + ":raw_basic_processor") + public static final ItemProcessor RAW_BASIC_PROCESSOR = null; + @ObjectHolder(RS.ID + ":raw_improved_processor") + public static final ItemProcessor RAW_IMPROVED_PROCESSOR = null; + @ObjectHolder(RS.ID + ":raw_advanced_processor") + public static final ItemProcessor RAW_ADVANCED_PROCESSOR = null; + @ObjectHolder(RS.ID + ":basic_processor") + public static final ItemProcessor BASIC_PROCESSOR = null; + @ObjectHolder(RS.ID + ":improved_processor") + public static final ItemProcessor IMPROVED_PROCESSOR = null; + @ObjectHolder(RS.ID + ":advanced_processor") + public static final ItemProcessor ADVANCED_PROCESSOR = null; public static final ItemStoragePart STORAGE_PART = new ItemStoragePart(); public static final ItemPattern PATTERN = new ItemPattern(); public static final ItemUpgrade UPGRADE = new ItemUpgrade(); diff --git a/src/main/java/com/raoulvdberge/refinedstorage/RSTiles.java b/src/main/java/com/raoulvdberge/refinedstorage/RSTiles.java index 72e15c0c7..2113c1e0c 100644 --- a/src/main/java/com/raoulvdberge/refinedstorage/RSTiles.java +++ b/src/main/java/com/raoulvdberge/refinedstorage/RSTiles.java @@ -5,61 +5,60 @@ import com.raoulvdberge.refinedstorage.tile.craftingmonitor.TileCraftingMonitor; import com.raoulvdberge.refinedstorage.tile.grid.TileGrid; import com.raoulvdberge.refinedstorage.tile.grid.portable.TilePortableGrid; import net.minecraft.tileentity.TileEntityType; -import net.minecraftforge.registries.ObjectHolder; public class RSTiles { - @ObjectHolder(RS.ID + ":constructor") + //@ObjectHolder(RS.ID + ":constructor") public static final TileEntityType CONSTRUCTOR = null; - @ObjectHolder(RS.ID + ":controller") + //@ObjectHolder(RS.ID + ":controller") public static final TileEntityType CONTROLLER = null; - @ObjectHolder(RS.ID + ":crafter") + //@ObjectHolder(RS.ID + ":crafter") public static final TileEntityType CRAFTER = null; - @ObjectHolder(RS.ID + ":crafter_manager") + //@ObjectHolder(RS.ID + ":crafter_manager") public static final TileEntityType CRAFTER_MANAGER = null; - @ObjectHolder(RS.ID + ":crafting_monitor") + //@ObjectHolder(RS.ID + ":crafting_monitor") public static final TileEntityType CRAFTING_MONITOR = null; - @ObjectHolder(RS.ID + ":destructor") + //@ObjectHolder(RS.ID + ":destructor") public static final TileEntityType DESTRUCTOR = null; - @ObjectHolder(RS.ID + ":detector") + //@ObjectHolder(RS.ID + ":detector") public static final TileEntityType DETECTOR = null; - @ObjectHolder(RS.ID + ":disk_drive") + //@ObjectHolder(RS.ID + ":disk_drive") public static final TileEntityType DISK_DRIVE = null; - @ObjectHolder(RS.ID + ":disk_manipulator") + //@ObjectHolder(RS.ID + ":disk_manipulator") public static final TileEntityType DISK_MANIPULATOR = null; - @ObjectHolder(RS.ID + ":exporter") + //@ObjectHolder(RS.ID + ":exporter") public static final TileEntityType EXPORTER = null; - @ObjectHolder(RS.ID + ":external_storage") + //@ObjectHolder(RS.ID + ":external_storage") public static final TileEntityType EXTERNAL_STORAGE = null; - @ObjectHolder(RS.ID + ":fluid_interface") + //@ObjectHolder(RS.ID + ":fluid_interface") public static final TileEntityType FLUID_INTERFACE = null; - @ObjectHolder(RS.ID + ":fluid_storage") + //@ObjectHolder(RS.ID + ":fluid_storage") public static final TileEntityType FLUID_STORAGE = null; - @ObjectHolder(RS.ID + ":grid") + //@ObjectHolder(RS.ID + ":grid") public static final TileEntityType GRID = null; - @ObjectHolder(RS.ID + ":importer") + //@ObjectHolder(RS.ID + ":importer") public static final TileEntityType IMPORTER = null; - @ObjectHolder(RS.ID + ":interface") + //@ObjectHolder(RS.ID + ":interface") public static final TileEntityType INTERFACE = null; - @ObjectHolder(RS.ID + ":network_transmitter") + //@ObjectHolder(RS.ID + ":network_transmitter") public static final TileEntityType NETWORK_TRANSMITTER = null; - @ObjectHolder(RS.ID + ":network_receiver") + //@ObjectHolder(RS.ID + ":network_receiver") public static final TileEntityType NETWORK_RECEIVER = null; - @ObjectHolder(RS.ID + ":reader") + //@ObjectHolder(RS.ID + ":reader") public static final TileEntityType READER = null; - @ObjectHolder(RS.ID + ":writer") + //@ObjectHolder(RS.ID + ":writer") public static final TileEntityType WRITER = null; - @ObjectHolder(RS.ID + ":relay") + //@ObjectHolder(RS.ID + ":relay") public static final TileEntityType RELAY = null; - @ObjectHolder(RS.ID + ":security_manager") + //@ObjectHolder(RS.ID + ":security_manager") public static final TileEntityType SECURITY_MANAGER = null; - @ObjectHolder(RS.ID + ":storage") + //@ObjectHolder(RS.ID + ":storage") public static final TileEntityType STORAGE = null; - @ObjectHolder(RS.ID + ":storage_monitor") + //@ObjectHolder(RS.ID + ":storage_monitor") public static final TileEntityType STORAGE_MONITOR = null; - @ObjectHolder(RS.ID + ":wireless_transmitter") + //@ObjectHolder(RS.ID + ":wireless_transmitter") public static final TileEntityType WIRELESS_TRANSMITTER = null; - @ObjectHolder(RS.ID + ":cable") + //@ObjectHolder(RS.ID + ":cable") public static final TileEntityType CABLE = null; - @ObjectHolder(RS.ID + ":portable_grid") + //@ObjectHolder(RS.ID + ":portable_grid") public static final TileEntityType PORTABLE_GRID = null; } diff --git a/src/main/java/com/raoulvdberge/refinedstorage/item/ItemProcessor.java b/src/main/java/com/raoulvdberge/refinedstorage/item/ItemProcessor.java index 6bb26b97e..996ed89aa 100755 --- a/src/main/java/com/raoulvdberge/refinedstorage/item/ItemProcessor.java +++ b/src/main/java/com/raoulvdberge/refinedstorage/item/ItemProcessor.java @@ -1,52 +1,28 @@ package com.raoulvdberge.refinedstorage.item; import com.raoulvdberge.refinedstorage.RS; -import com.raoulvdberge.refinedstorage.item.info.ItemInfo; +import net.minecraft.item.Item; -public class ItemProcessor extends ItemBase { - public static final int TYPE_CUT_BASIC = 0; - public static final int TYPE_CUT_IMPROVED = 1; - public static final int TYPE_CUT_ADVANCED = 2; - public static final int TYPE_BASIC = 3; - public static final int TYPE_IMPROVED = 4; - public static final int TYPE_ADVANCED = 5; +public class ItemProcessor extends Item { + public enum Type { - public ItemProcessor() { - super(new ItemInfo(RS.ID, "processor")); + RAW_BASIC("raw_basic"), + RAW_IMPROVED("raw_improved"), + RAW_ADVANCED("raw_advanced"), + BASIC("basic"), + IMPROVED("improved"), + ADVANCED("advanced"); - //setHasSubtypes(true); - //setMaxDamage(0); - } -/* TODO - @Override - @SideOnly(Side.CLIENT) - public void registerModels(IModelRegistration modelRegistration) { - modelRegistration.setModelVariants( - this, - new ResourceLocation(RS.ID, "raw_basic_processor"), - new ResourceLocation(RS.ID, "raw_improved_processor"), - new ResourceLocation(RS.ID, "raw_advanced_processor"), - new ResourceLocation(RS.ID, "basic_processor"), - new ResourceLocation(RS.ID, "improved_processor"), - new ResourceLocation(RS.ID, "advanced_processor") - ); + final String name; - modelRegistration.setModel(this, TYPE_CUT_BASIC, new ModelResourceLocation(RS.ID + ":raw_basic_processor", "inventory")); - modelRegistration.setModel(this, TYPE_CUT_IMPROVED, new ModelResourceLocation(RS.ID + ":raw_improved_processor", "inventory")); - modelRegistration.setModel(this, TYPE_CUT_ADVANCED, new ModelResourceLocation(RS.ID + ":raw_advanced_processor", "inventory")); - modelRegistration.setModel(this, TYPE_BASIC, new ModelResourceLocation(RS.ID + ":basic_processor", "inventory")); - modelRegistration.setModel(this, TYPE_IMPROVED, new ModelResourceLocation(RS.ID + ":improved_processor", "inventory")); - modelRegistration.setModel(this, TYPE_ADVANCED, new ModelResourceLocation(RS.ID + ":advanced_processor", "inventory")); + Type(String name) { + this.name = name; + } } - @Override - public void getSubItems(CreativeTabs tab, NonNullList items) { - if (!isInCreativeTab(tab)) { - return; - } + public ItemProcessor(Type type) { + super(new Item.Properties().group(RS.MAIN_GROUP)); - for (int i = 0; i <= 5; ++i) { - items.add(new ItemStack(this, 1, i)); - } - }*/ + this.setRegistryName(RS.ID, type.name + "_processor"); + } } diff --git a/src/main/java/com/raoulvdberge/refinedstorage/item/ItemSilicon.java b/src/main/java/com/raoulvdberge/refinedstorage/item/ItemSilicon.java index f35dd0b4d..b93bf92bd 100755 --- a/src/main/java/com/raoulvdberge/refinedstorage/item/ItemSilicon.java +++ b/src/main/java/com/raoulvdberge/refinedstorage/item/ItemSilicon.java @@ -1,16 +1,12 @@ package com.raoulvdberge.refinedstorage.item; import com.raoulvdberge.refinedstorage.RS; -import com.raoulvdberge.refinedstorage.item.info.ItemInfo; +import net.minecraft.item.Item; -public class ItemSilicon extends ItemBase { +public class ItemSilicon extends Item { public ItemSilicon() { - super(new ItemInfo(RS.ID, "silicon")); + super(new Item.Properties().group(RS.MAIN_GROUP)); + + this.setRegistryName(RS.ID, "silicon"); } -/* TODO - @Override - @SideOnly(Side.CLIENT) - public void registerModels(IModelRegistration modelRegistration) { - modelRegistration.setModel(this, 0, new ModelResourceLocation(info.getId(), "inventory")); - }*/ } diff --git a/src/main/java/com/raoulvdberge/refinedstorage/proxy/ProxyCommon.java b/src/main/java/com/raoulvdberge/refinedstorage/proxy/ProxyCommon.java index dfba0e994..24ae44849 100755 --- a/src/main/java/com/raoulvdberge/refinedstorage/proxy/ProxyCommon.java +++ b/src/main/java/com/raoulvdberge/refinedstorage/proxy/ProxyCommon.java @@ -175,12 +175,6 @@ public class ProxyCommon { } public void init(FMLInitializationEvent e) { - GameRegistry.addSmelting(Items.QUARTZ, new ItemStack(RSItems.SILICON), 0.5F); - - GameRegistry.addSmelting(new ItemStack(RSItems.PROCESSOR, 1, ItemProcessor.TYPE_CUT_BASIC), new ItemStack(RSItems.PROCESSOR, 1, ItemProcessor.TYPE_BASIC), 0.5F); - GameRegistry.addSmelting(new ItemStack(RSItems.PROCESSOR, 1, ItemProcessor.TYPE_CUT_IMPROVED), new ItemStack(RSItems.PROCESSOR, 1, ItemProcessor.TYPE_IMPROVED), 0.5F); - GameRegistry.addSmelting(new ItemStack(RSItems.PROCESSOR, 1, ItemProcessor.TYPE_CUT_ADVANCED), new ItemStack(RSItems.PROCESSOR, 1, ItemProcessor.TYPE_ADVANCED), 0.5F); - if (IntegrationOC.isLoaded()) { DriverNetwork.register(); } diff --git a/src/main/resources/assets/refinedstorage/lang/en_us.json b/src/main/resources/assets/refinedstorage/lang/en_us.json index fa6177e8d..3c47fab65 100644 --- a/src/main/resources/assets/refinedstorage/lang/en_us.json +++ b/src/main/resources/assets/refinedstorage/lang/en_us.json @@ -242,13 +242,13 @@ "item.refinedstorage.quartz_enriched_iron": "Quartz Enriched Iron", "item.refinedstorage.construction_core": "Construction Core", "item.refinedstorage.destruction_core": "Destruction Core", - "item.refinedstorage:silicon": "Silicon", - "item.refinedstorage:processor.0": "Raw Basic Processor", - "item.refinedstorage:processor.1": "Raw Improved Processor", - "item.refinedstorage:processor.2": "Raw Advanced Processor", - "item.refinedstorage:processor.3": "Basic Processor", - "item.refinedstorage:processor.4": "Improved Processor", - "item.refinedstorage:processor.5": "Advanced Processor", + "item.refinedstorage.silicon": "Silicon", + "item.refinedstorage.raw_basic_processor": "Raw Basic Processor", + "item.refinedstorage.raw_improved_processor": "Raw Improved Processor", + "item.refinedstorage.raw_advanced_processor": "Raw Advanced Processor", + "item.refinedstorage.basic_processor": "Basic Processor", + "item.refinedstorage.improved_processor": "Improved Processor", + "item.refinedstorage.advanced_processor": "Advanced Processor", "item.refinedstorage:storage_part.0": "1k Storage Part", "item.refinedstorage:storage_part.1": "4k Storage Part", "item.refinedstorage:storage_part.2": "16k Storage Part", diff --git a/src/main/resources/assets/refinedstorage/recipes/_constants.json b/src/main/resources/assets/refinedstorage/recipes/_constants.json deleted file mode 100644 index 1085de9d0..000000000 --- a/src/main/resources/assets/refinedstorage/recipes/_constants.json +++ /dev/null @@ -1,37 +0,0 @@ -[ - { - "name": "basic_processor", - "ingredient": { - "item": "refinedstorage:processor", - "data": 3 - } - }, - { - "name": "improved_processor", - "ingredient": { - "item": "refinedstorage:processor", - "data": 4 - } - }, - { - "name": "advanced_processor", - "ingredient": { - "item": "refinedstorage:processor", - "data": 5 - } - }, - { - "name": "construction_core", - "ingredient": { - "item": "refinedstorage:core", - "data": 0 - } - }, - { - "name": "destruction_core", - "ingredient": { - "item": "refinedstorage:core", - "data": 1 - } - } -] \ No newline at end of file diff --git a/src/main/resources/data/refinedstorage/recipes/advanced_processor.json b/src/main/resources/data/refinedstorage/recipes/advanced_processor.json new file mode 100644 index 000000000..08b3909e6 --- /dev/null +++ b/src/main/resources/data/refinedstorage/recipes/advanced_processor.json @@ -0,0 +1,8 @@ +{ + "type": "minecraft:smelting", + "ingredient": { + "item": "refinedstorage:raw_advanced_processor" + }, + "result": "refinedstorage:advanced_processor", + "experience": 0.5 +} \ No newline at end of file diff --git a/src/main/resources/data/refinedstorage/recipes/basic_processor.json b/src/main/resources/data/refinedstorage/recipes/basic_processor.json new file mode 100644 index 000000000..e8e48cf0a --- /dev/null +++ b/src/main/resources/data/refinedstorage/recipes/basic_processor.json @@ -0,0 +1,8 @@ +{ + "type": "minecraft:smelting", + "ingredient": { + "item": "refinedstorage:raw_basic_processor" + }, + "result": "refinedstorage:basic_processor", + "experience": 0.5 +} \ No newline at end of file diff --git a/src/main/resources/assets/refinedstorage/recipes/construction_core.json b/src/main/resources/data/refinedstorage/recipes/construction_core.json similarity index 61% rename from src/main/resources/assets/refinedstorage/recipes/construction_core.json rename to src/main/resources/data/refinedstorage/recipes/construction_core.json index b6d1b1b66..4b590acec 100644 --- a/src/main/resources/assets/refinedstorage/recipes/construction_core.json +++ b/src/main/resources/data/refinedstorage/recipes/construction_core.json @@ -2,14 +2,13 @@ "type": "minecraft:crafting_shapeless", "ingredients": [ { - "item": "#basic_processor" + "item": "refinedstorage:basic_processor" }, { "item": "minecraft:glowstone_dust" } ], "result": { - "item": "refinedstorage:core", - "data": 0 + "item": "refinedstorage:construction_core" } } \ No newline at end of file diff --git a/src/main/resources/assets/refinedstorage/recipes/destruction_core.json b/src/main/resources/data/refinedstorage/recipes/destruction_core.json similarity index 60% rename from src/main/resources/assets/refinedstorage/recipes/destruction_core.json rename to src/main/resources/data/refinedstorage/recipes/destruction_core.json index 55fff054a..49e96fbd7 100644 --- a/src/main/resources/assets/refinedstorage/recipes/destruction_core.json +++ b/src/main/resources/data/refinedstorage/recipes/destruction_core.json @@ -2,14 +2,13 @@ "type": "minecraft:crafting_shapeless", "ingredients": [ { - "item": "#basic_processor" + "item": "refinedstorage:basic_processor" }, { "item": "minecraft:quartz" } ], "result": { - "item": "refinedstorage:core", - "data": 1 + "item": "refinedstorage:destruction_core" } } \ No newline at end of file diff --git a/src/main/resources/data/refinedstorage/recipes/improved_processor.json b/src/main/resources/data/refinedstorage/recipes/improved_processor.json new file mode 100644 index 000000000..d63856b52 --- /dev/null +++ b/src/main/resources/data/refinedstorage/recipes/improved_processor.json @@ -0,0 +1,8 @@ +{ + "type": "minecraft:smelting", + "ingredient": { + "item": "refinedstorage:raw_improved_processor" + }, + "result": "refinedstorage:improved_processor", + "experience": 0.5 +} \ No newline at end of file diff --git a/src/main/resources/assets/refinedstorage/recipes/processor_binding.json b/src/main/resources/data/refinedstorage/recipes/processor_binding.json similarity index 81% rename from src/main/resources/assets/refinedstorage/recipes/processor_binding.json rename to src/main/resources/data/refinedstorage/recipes/processor_binding.json index 6f7fdab3d..a52feac45 100644 --- a/src/main/resources/assets/refinedstorage/recipes/processor_binding.json +++ b/src/main/resources/data/refinedstorage/recipes/processor_binding.json @@ -10,8 +10,7 @@ "item": "minecraft:string" }, "L": { - "type": "forge:ore_dict", - "ore": "slimeball" + "item": "minecraft:slime_ball" } }, "result": { diff --git a/src/main/resources/assets/refinedstorage/recipes/quartz_enriched_iron.json b/src/main/resources/data/refinedstorage/recipes/quartz_enriched_iron.json similarity index 100% rename from src/main/resources/assets/refinedstorage/recipes/quartz_enriched_iron.json rename to src/main/resources/data/refinedstorage/recipes/quartz_enriched_iron.json diff --git a/src/main/resources/assets/refinedstorage/recipes/raw_advanced_processor.json b/src/main/resources/data/refinedstorage/recipes/raw_advanced_processor.json similarity index 69% rename from src/main/resources/assets/refinedstorage/recipes/raw_advanced_processor.json rename to src/main/resources/data/refinedstorage/recipes/raw_advanced_processor.json index 022840b2a..02c43040e 100644 --- a/src/main/resources/assets/refinedstorage/recipes/raw_advanced_processor.json +++ b/src/main/resources/data/refinedstorage/recipes/raw_advanced_processor.json @@ -8,15 +8,13 @@ "item": "minecraft:diamond" }, { - "type": "forge:ore_dict", - "ore": "itemSilicon" + "item": "refinedstorage:silicon" }, { "item": "minecraft:redstone" } ], "result": { - "item": "refinedstorage:processor", - "data": 2 + "item": "refinedstorage:raw_advanced_processor" } } \ No newline at end of file diff --git a/src/main/resources/assets/refinedstorage/recipes/raw_basic_processor.json b/src/main/resources/data/refinedstorage/recipes/raw_basic_processor.json similarity index 69% rename from src/main/resources/assets/refinedstorage/recipes/raw_basic_processor.json rename to src/main/resources/data/refinedstorage/recipes/raw_basic_processor.json index 1717878c3..92aa06eb0 100644 --- a/src/main/resources/assets/refinedstorage/recipes/raw_basic_processor.json +++ b/src/main/resources/data/refinedstorage/recipes/raw_basic_processor.json @@ -8,15 +8,13 @@ "item": "minecraft:iron_ingot" }, { - "type": "forge:ore_dict", - "ore": "itemSilicon" + "item": "refinedstorage:silicon" }, { "item": "minecraft:redstone" } ], "result": { - "item": "refinedstorage:processor", - "data": 0 + "item": "refinedstorage:raw_basic_processor" } } \ No newline at end of file diff --git a/src/main/resources/assets/refinedstorage/recipes/raw_improved_processor.json b/src/main/resources/data/refinedstorage/recipes/raw_improved_processor.json similarity index 69% rename from src/main/resources/assets/refinedstorage/recipes/raw_improved_processor.json rename to src/main/resources/data/refinedstorage/recipes/raw_improved_processor.json index bfe0a189f..a928dcdf9 100644 --- a/src/main/resources/assets/refinedstorage/recipes/raw_improved_processor.json +++ b/src/main/resources/data/refinedstorage/recipes/raw_improved_processor.json @@ -8,15 +8,13 @@ "item": "minecraft:gold_ingot" }, { - "type": "forge:ore_dict", - "ore": "itemSilicon" + "item": "refinedstorage:silicon" }, { "item": "minecraft:redstone" } ], "result": { - "item": "refinedstorage:processor", - "data": 1 + "item": "refinedstorage:raw_improved_processor" } } \ No newline at end of file diff --git a/src/main/resources/data/refinedstorage/recipes/silicon.json b/src/main/resources/data/refinedstorage/recipes/silicon.json new file mode 100644 index 000000000..2cf51916a --- /dev/null +++ b/src/main/resources/data/refinedstorage/recipes/silicon.json @@ -0,0 +1,8 @@ +{ + "type": "minecraft:smelting", + "ingredient": { + "item": "minecraft:quartz" + }, + "result": "refinedstorage:silicon", + "experience": 0.5 +} \ No newline at end of file