Skip to content

Commit f98b84c

Browse files
authored
Merge pull request #31 from dshadowwolf/master-1.11.2-dev
Undo the temporary fix that was here - proper fix is in more recent b…
2 parents 7fee375 + 79d1f71 commit f98b84c

File tree

5 files changed

+1
-220
lines changed

5 files changed

+1
-220
lines changed

src/main/java/com/mcmoddev/nethermetals/init/NetherBlocks.java

Lines changed: 1 addition & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -27,56 +27,7 @@ public static void init() {
2727
}
2828

2929
Materials.init();
30-
// ItemGroups.init();
31-
32-
if( !Materials.getMaterialByName("coal").hasBlock(Names.ORE) ) {
33-
final MMDMaterial material = Materials.getMaterialByName("coal");
34-
35-
material.addNewBlock(Names.BLOCK, net.minecraft.init.Blocks.COAL_BLOCK);
36-
material.addNewBlock(Names.ORE, net.minecraft.init.Blocks.COAL_ORE);
37-
}
38-
39-
if( !Materials.getMaterialByName("diamond").hasBlock(Names.ORE) ) {
40-
final MMDMaterial material = Materials.getMaterialByName("diamond");
41-
42-
material.addNewBlock(Names.BLOCK, net.minecraft.init.Blocks.DIAMOND_BLOCK);
43-
material.addNewBlock(Names.ORE, net.minecraft.init.Blocks.DIAMOND_ORE);
44-
}
45-
46-
if( !Materials.getMaterialByName("emerald").hasBlock(Names.ORE) ) {
47-
final MMDMaterial material = Materials.getMaterialByName("emerald");
48-
49-
material.addNewBlock(Names.BLOCK, net.minecraft.init.Blocks.EMERALD_BLOCK);
50-
material.addNewBlock(Names.ORE, net.minecraft.init.Blocks.EMERALD_ORE);
51-
}
52-
53-
if( !Materials.getMaterialByName("gold").hasBlock(Names.ORE) ) {
54-
final MMDMaterial material = Materials.getMaterialByName("gold");
55-
56-
material.addNewBlock(Names.BLOCK, net.minecraft.init.Blocks.GOLD_BLOCK);
57-
material.addNewBlock(Names.ORE, net.minecraft.init.Blocks.GOLD_ORE);
58-
}
59-
60-
if( !Materials.getMaterialByName("lapis").hasBlock(Names.ORE) ) {
61-
final MMDMaterial material = Materials.getMaterialByName("lapis");
62-
63-
material.addNewBlock(Names.BLOCK, net.minecraft.init.Blocks.LAPIS_BLOCK);
64-
material.addNewBlock(Names.ORE, net.minecraft.init.Blocks.LAPIS_ORE);
65-
}
66-
67-
if( !Materials.getMaterialByName("iron").hasBlock(Names.ORE) ) {
68-
final MMDMaterial material = Materials.getMaterialByName("iron");
69-
70-
material.addNewBlock(Names.BLOCK, net.minecraft.init.Blocks.IRON_BLOCK);
71-
material.addNewBlock(Names.ORE, net.minecraft.init.Blocks.IRON_ORE);
72-
}
73-
74-
if( !Materials.getMaterialByName("redstone").hasBlock(Names.ORE) ) {
75-
final MMDMaterial material = Materials.getMaterialByName("redstone");
76-
77-
material.addNewBlock(Names.BLOCK, net.minecraft.init.Blocks.REDSTONE_BLOCK);
78-
material.addNewBlock(Names.ORE, net.minecraft.init.Blocks.REDSTONE_ORE);
79-
}
30+
ItemGroups.init();
8031

8132
createNetherOreWrapper(Options.enableCoalNetherOre, Materials.getMaterialByName("coal"));
8233
createNetherOreWrapper(Options.enableDiamondNetherOre, Materials.getMaterialByName("diamond"));

src/main/java/com/mcmoddev/nethermetals/init/NetherFluids.java

Lines changed: 0 additions & 56 deletions
This file was deleted.

src/main/java/com/mcmoddev/nethermetals/init/NetherItems.java

Lines changed: 0 additions & 64 deletions
This file was deleted.

src/main/java/com/mcmoddev/nethermetals/init/NetherMaterials.java

Lines changed: 0 additions & 47 deletions
This file was deleted.

src/main/java/com/mcmoddev/nethermetals/proxy/CommonProxy.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,8 @@ public class CommonProxy {
1313

1414
public void preInit(FMLPreInitializationEvent event) {
1515
Config.init();
16-
NetherMaterials.init();
17-
NetherFluids.init();
1816
ItemGroups.init();
1917
NetherBlocks.init();
20-
NetherItems.init();
2118
ItemGroups.setupIcons();
2219

2320
FMLInterModComms.sendFunctionMessage("orespawn", "api", "com.mcmoddev.orespawn.NetherMetalsOreSpawn");

0 commit comments

Comments
 (0)