@@ -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" ));
0 commit comments