diff --git a/src/main/java/techreborn/init/ModRecipes.java b/src/main/java/techreborn/init/ModRecipes.java index eab955fa8..e80e188bf 100644 --- a/src/main/java/techreborn/init/ModRecipes.java +++ b/src/main/java/techreborn/init/ModRecipes.java @@ -319,9 +319,7 @@ public class ModRecipes { } static void addBlastFurnaceRecipes() { -// RecipeHandler.addRecipe(Reference.BLAST_FURNACE_RECIPE, -// new BlastFurnaceRecipe(ItemDusts.getDustByName("titanium"), null, ItemIngots.getIngotByName("titanium"), -// null, 3600, 120, 1500)); + // RecipeHandler.addRecipe(Reference.BLAST_FURNACE_RECIPE, // new BlastFurnaceRecipe(ItemDustsSmall.getSmallDustByName("titanium", 4), null, // ItemIngots.getIngotByName("titanium"), null, 3600, 120, 1500)); diff --git a/src/main/java/techreborn/rei/ReiPlugin.java b/src/main/java/techreborn/rei/ReiPlugin.java index 7f294d9a4..d239bbe55 100644 --- a/src/main/java/techreborn/rei/ReiPlugin.java +++ b/src/main/java/techreborn/rei/ReiPlugin.java @@ -3,6 +3,7 @@ package techreborn.rei; import me.shedaniel.rei.api.REIPluginEntry; import me.shedaniel.rei.api.RecipeHelper; import net.minecraft.item.ItemConvertible; +import net.minecraft.item.ItemStack; import net.minecraft.recipe.Recipe; import net.minecraft.util.Identifier; import reborncore.common.crafting.RebornRecipe; @@ -24,6 +25,8 @@ public class ReiPlugin implements REIPluginEntry { public ReiPlugin() { iconMap.put(ModRecipes.ALLOY_SMELTER, TRContent.Machine.ALLOY_SMELTER); iconMap.put(ModRecipes.GRINDER, TRContent.Machine.GRINDER); + iconMap.put(ModRecipes.BLAST_FURNACE, TRContent.Machine.INDUSTRIAL_BLAST_FURNACE); + iconMap.put(ModRecipes.CENTRIFUGE, TRContent.Machine.INDUSTRIAL_CENTRIFUGE); //TODO add the others here } @@ -41,6 +44,11 @@ public class ReiPlugin implements REIPluginEntry { public void registerRecipeDisplays(RecipeHelper recipeHelper) { RecipeManager.getRecipeTypes("techreborn").forEach(rebornRecipeType -> registerMachineRecipe(recipeHelper, rebornRecipeType)); } + + @Override + public void registerOthers(RecipeHelper recipeHelper) { + recipeHelper.registerWorkingStations(ModRecipes.ALLOY_SMELTER.getName(), new ItemStack[]{new ItemStack(TRContent.Machine.ALLOY_SMELTER.asItem())}); + } private void registerMachineRecipe(RecipeHelper recipeHelper, RebornRecipeType recipeType){ recipeHelper.registerRecipes(recipeType.getName(), (Predicate) recipe -> { @@ -48,6 +56,6 @@ public class ReiPlugin implements REIPluginEntry { return ((RebornRecipe) recipe).getRebornRecipeType() == recipeType; } return false; - }, recipe -> new MachineRecipeDisplay((RebornRecipe) recipe)); + }, recipe -> new MachineRecipeDisplay((RebornRecipe) recipe)); } } diff --git a/src/main/resources/assets/techreborn/lang/en_us.json b/src/main/resources/assets/techreborn/lang/en_us.json index debdf3fda..83c59aa5a 100644 --- a/src/main/resources/assets/techreborn/lang/en_us.json +++ b/src/main/resources/assets/techreborn/lang/en_us.json @@ -642,5 +642,13 @@ "techreborn:compressor": "Compressor", "techreborn:distillation_tower": "Distillation Tower", "techreborn:extractor": "Extrator", - "techreborn:grinder": "Grinder" + "techreborn:grinder": "Grinder", + "techreborn:implosion_compressor": "Implosion Compressor", + "techreborn:industrial_electrolyzer": "Industrial Electrolyzer", + "techreborn:industrial_grinder": "Industrial Grinder", + "techreborn:industrial_sawmill": "Industrial Sawmill", + "techreborn:recycler": "Recycler", + "techreborn:scrapbox": "Scrapbox", + "techreborn:vacuum_freezer": "Vacuum Freezer", + "techreborn:fluid_replicator": "Fluid Replicator" } \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/blast_furnace/titanium_ingot.json b/src/main/resources/data/techreborn/recipes/blast_furnace/titanium_ingot.json new file mode 100644 index 000000000..7036b3e0b --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/blast_furnace/titanium_ingot.json @@ -0,0 +1,16 @@ +{ + "type": "techreborn:blast_furnace", + "power": 128, + "time": 3600, + "heat": 1500, + "ingredients" : [ + { + "item": "techreborn:titanium_dust" + } + ], + "results" : [ + { + "item": "techreborn:titanium_ingot" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/centrifuge/magma_cream.json b/src/main/resources/data/techreborn/recipes/centrifuge/magma_cream.json new file mode 100644 index 000000000..c25dc5851 --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/centrifuge/magma_cream.json @@ -0,0 +1,18 @@ +{ + "type": "techreborn:centrifuge", + "power": 5, + "time": 500, + "ingredients": [ + { + "item": "minecraft:magma_cream" + } + ], + "results": [ + { + "item": "minecraft:blaze_powder" + }, + { + "item": "minecraft:slime_ball" + } + ] +}