Skip to content

Commit

Permalink
Block fixes (#87)
Browse files Browse the repository at this point in the history
* not for gtnh

* sa
  • Loading branch information
chochem authored Aug 24, 2024
1 parent 3fe8124 commit 5d91033
Showing 1 changed file with 39 additions and 37 deletions.
76 changes: 39 additions & 37 deletions src/main/java/twilightforest/item/TFRecipes.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import net.minecraftforge.oredict.RecipeSorter;
import net.minecraftforge.oredict.ShapelessOreRecipe;

import cpw.mods.fml.common.Loader;
import cpw.mods.fml.common.registry.GameRegistry;
import twilightforest.TwilightForestMod;
import twilightforest.block.BlockTFFireJet;
Expand Down Expand Up @@ -604,43 +605,44 @@ public static void registerRecipes() {
new ItemStack(TFItems.chainBlock),
new Object[] { TFItems.knightmetalRing, TFItems.knightMetal, TFItems.knightMetal, TFItems.knightMetal,
TFBlocks.knightmetalStorage });

GameRegistry.addShapelessRecipe(
new ItemStack(TFItems.knightMetal, 9),
new Object[] { new ItemStack(TFBlocks.knightmetalStorage) });
GameRegistry.addRecipe(
new ItemStack(TFBlocks.knightmetalStorage),
new Object[] { "###", "###", "###", '#', TFItems.knightMetal });
GameRegistry.addShapelessRecipe(
new ItemStack(TFItems.arcticFur, 9),
new Object[] { new ItemStack(TFBlocks.arcticFurStorage) });
GameRegistry.addRecipe(
new ItemStack(TFBlocks.arcticFurStorage),
new Object[] { "###", "###", "###", '#', TFItems.arcticFur });
GameRegistry.addShapelessRecipe(
new ItemStack(TFItems.carminite, 9),
new Object[] { new ItemStack(TFBlocks.carminiteStorage) });
GameRegistry.addRecipe(
new ItemStack(TFBlocks.carminiteStorage),
new Object[] { "###", "###", "###", '#', TFItems.carminite });
GameRegistry.addShapelessRecipe(
new ItemStack(TFItems.fieryIngot, 9),
new Object[] { new ItemStack(TFBlocks.fieryMetalStorage) });
GameRegistry.addRecipe(
new ItemStack(TFBlocks.fieryMetalStorage),
new Object[] { "###", "###", "###", '#', TFItems.fieryIngot });
GameRegistry.addShapelessRecipe(
new ItemStack(TFItems.ironwoodIngot, 9),
new Object[] { new ItemStack(TFBlocks.ironwoodStorage) });
GameRegistry.addRecipe(
new ItemStack(TFBlocks.ironwoodStorage),
new Object[] { "###", "###", "###", '#', TFItems.ironwoodIngot });
GameRegistry.addShapelessRecipe(
new ItemStack(TFItems.steeleafIngot, 9),
new Object[] { new ItemStack(TFBlocks.steeleafStorage) });
GameRegistry.addRecipe(
new ItemStack(TFBlocks.steeleafStorage),
new Object[] { "###", "###", "###", '#', TFItems.steeleafIngot });
if (!Loader.isModLoaded("dreamcraft")) {
GameRegistry.addShapelessRecipe(
new ItemStack(TFItems.knightMetal, 9),
new Object[] { new ItemStack(TFBlocks.knightmetalStorage) });
GameRegistry.addRecipe(
new ItemStack(TFBlocks.knightmetalStorage),
new Object[] { "###", "###", "###", '#', TFItems.knightMetal });
GameRegistry.addShapelessRecipe(
new ItemStack(TFItems.arcticFur, 9),
new Object[] { new ItemStack(TFBlocks.arcticFurStorage) });
GameRegistry.addRecipe(
new ItemStack(TFBlocks.arcticFurStorage),
new Object[] { "###", "###", "###", '#', TFItems.arcticFur });
GameRegistry.addShapelessRecipe(
new ItemStack(TFItems.carminite, 9),
new Object[] { new ItemStack(TFBlocks.carminiteStorage) });
GameRegistry.addRecipe(
new ItemStack(TFBlocks.carminiteStorage),
new Object[] { "###", "###", "###", '#', TFItems.carminite });
GameRegistry.addShapelessRecipe(
new ItemStack(TFItems.fieryIngot, 9),
new Object[] { new ItemStack(TFBlocks.fieryMetalStorage) });
GameRegistry.addRecipe(
new ItemStack(TFBlocks.fieryMetalStorage),
new Object[] { "###", "###", "###", '#', TFItems.fieryIngot });
GameRegistry.addShapelessRecipe(
new ItemStack(TFItems.ironwoodIngot, 9),
new Object[] { new ItemStack(TFBlocks.ironwoodStorage) });
GameRegistry.addRecipe(
new ItemStack(TFBlocks.ironwoodStorage),
new Object[] { "###", "###", "###", '#', TFItems.ironwoodIngot });
GameRegistry.addShapelessRecipe(
new ItemStack(TFItems.steeleafIngot, 9),
new Object[] { new ItemStack(TFBlocks.steeleafStorage) });
GameRegistry.addRecipe(
new ItemStack(TFBlocks.steeleafStorage),
new Object[] { "###", "###", "###", '#', TFItems.steeleafIngot });
}

}

Expand Down

0 comments on commit 5d91033

Please sign in to comment.