Skip to content

Commit

Permalink
Fix gilded iron ingot
Browse files Browse the repository at this point in the history
  • Loading branch information
ThexXTURBOXx committed Feb 11, 2025
1 parent 54c7497 commit 178f615
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 11 deletions.
3 changes: 1 addition & 2 deletions src/main/java/com/mr208/ExpandedArmory/ExpandedArmory.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
acceptedMinecraftVersions = "@MC_RANGE@",
dependencies = "required-after:Forge;required-after:weaponmod@@BWM_VERSION_RANGE@;" +
"after:Botania;after:appliedenergistics2;after:Thaumcraft;after:simpleores;after:fusion;" +
"after:netherrocks;after:Steamcraft;after:Railcraft;after:gildediron;after:etfuturum;" +
"after:netheriteplus")
"after:netherrocks;after:Steamcraft;after:Railcraft;after:etfuturum;after:netheriteplus")
public class ExpandedArmory {

@Mod.Instance(MOD_ID)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,8 @@ public class GenericIntegration {

public static void preInitGI() {
GameRegistry.registerItem(ingotBronze = new ItemIngot("ingotBronze"), "ingotBronze");
ingotBronze.registerOreDictionary();
GameRegistry.registerItem(ingotSteel = new ItemIngot("ingotSteel"), "ingotSteel");
ingotSteel.registerOreDictionary();
GameRegistry.registerItem(ingotNetherite = new ItemIngot("ingotNetherite"), "ingotNetherite");
ingotNetherite.registerOreDictionary();

if (Loader.isModLoaded("Railcraft")) RailcraftIntegration.preInit();
}
Expand Down
6 changes: 0 additions & 6 deletions src/main/java/com/mr208/ExpandedArmory/Items/ItemIngot.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,10 @@

public class ItemIngot extends Item {

private final String oreDict;

public ItemIngot(String oreDict) {
this.oreDict = oreDict;
this.setUnlocalizedName(MOD_ID + "_" + oreDict);
this.setCreativeTab(CreativeTabs.tabMaterials);
this.setTextureName(MOD_ID + ":" + oreDict);
}

public void registerOreDictionary() {
OreDictionary.registerOre(oreDict, this);
}

Expand Down

0 comments on commit 178f615

Please sign in to comment.