@@ -18,27 +18,28 @@ public final class NetherCoreRegistry {
18
18
private NetherCoreRegistry () {
19
19
}
20
20
21
- public static CreativeTab tabNetherCore = new CreativeTab ("NetherCore" , new ItemStack (Blocks .netherrack ));
21
+ public static CreativeTab tabNetherCore = new CreativeTab ("NetherCore" , new ItemStack (Blocks .NETHERRACK ));
22
22
23
23
public static void registerSmelting () {
24
- GameRegistry .addSmelting (NetherCoreItems .netherOreCoal .copy (), new ItemStack (Items .coal , 2 ), 0.0f );
25
- GameRegistry .addSmelting (NetherCoreItems .netherOreIron .copy (), new ItemStack (Blocks .iron_ore , 2 ), 0.2f );
26
- GameRegistry .addSmelting (NetherCoreItems .netherOreGold .copy (), new ItemStack (Blocks .gold_ore , 2 ), 0.2f );
27
- GameRegistry .addSmelting (NetherCoreItems .netherOreRedstone .copy (), new ItemStack (Items .redstone , 2 ), 0.2f );
28
- GameRegistry .addSmelting (NetherCoreItems .netherOreLapis .copy (), new ItemStack (Items .dye , 2 , EnumDyeColor .BLUE .getDyeDamage ()), 0.2f );
29
- GameRegistry .addSmelting (NetherCoreItems .netherOreDiamond .copy (), new ItemStack (Items .diamond , 2 ), 0.2f );
30
- GameRegistry .addSmelting (NetherCoreItems .netherOreEmerald .copy (), new ItemStack (Items .emerald , 2 ), 0.2f );
24
+ GameRegistry .addSmelting (NetherCoreItems .netherOreCoal .copy (), new ItemStack (Items .COAL , 2 ), 0.0f );
25
+ GameRegistry .addSmelting (NetherCoreItems .netherOreIron .copy (), new ItemStack (Blocks .IRON_ORE , 2 ), 0.2f );
26
+ GameRegistry .addSmelting (NetherCoreItems .netherOreGold .copy (), new ItemStack (Blocks .GOLD_ORE , 2 ), 0.2f );
27
+ GameRegistry .addSmelting (NetherCoreItems .netherOreRedstone .copy (), new ItemStack (Items .REDSTONE , 2 ), 0.2f );
28
+ GameRegistry .addSmelting (NetherCoreItems .netherOreLapis .copy (), new ItemStack (Items .DYE , 2 , EnumDyeColor .BLUE .getDyeDamage ()), 0.2f );
29
+ GameRegistry .addSmelting (NetherCoreItems .netherOreDiamond .copy (), new ItemStack (Items .DIAMOND , 2 ), 0.2f );
30
+ GameRegistry .addSmelting (NetherCoreItems .netherOreEmerald .copy (), new ItemStack (Items .EMERALD , 2 ), 0.2f );
31
31
32
32
GameRegistry .addSmelting (NetherCoreItems .stoneCobble , NetherCoreItems .stone , 0.2F );
33
33
GameRegistry .addSmelting (NetherCoreItems .stoneBrick , NetherCoreItems .stoneBrickCracked , 0.0F );
34
34
35
35
// collides with Soul Shards - The old way, need to adjust if present
36
+ // TODO: Alternate recipe - not sure
36
37
if (Config .enableSoulGlassRecipe ) {
37
- GameRegistry .addSmelting (Blocks .soul_sand , NetherCoreItems .soulGlass , 0.0F );
38
+ GameRegistry .addSmelting (Blocks .SOUL_SAND , NetherCoreItems .soulGlass , 0.0F );
38
39
}
39
40
40
41
if (Config .enableSmeltedNetherStar ) {
41
- GameRegistry .addSmelting (NetherCoreItems .compressedNetherrackOctuple , new ItemStack (Items .nether_star , 1 ), 10.0f );
42
+ GameRegistry .addSmelting (NetherCoreItems .compressedNetherrackOctuple , new ItemStack (Items .NETHER_STAR , 1 ), 10.0f );
42
43
}
43
44
}
44
45
@@ -51,47 +52,65 @@ public static void registerOreDictionary() {
51
52
OreDictionary .registerOre ("oreNetherDiamond" , NetherCoreItems .netherOreDiamond .copy ());
52
53
OreDictionary .registerOre ("oreNetherEmerald" , NetherCoreItems .netherOreEmerald .copy ());
53
54
OreDictionary .registerOre ("oreNetherNetherCoal" , NetherCoreItems .netherOreNetherCoal .copy ());
55
+
56
+ OreDictionary .registerOre ("cobblestone" , NetherCoreItems .stoneCobble .copy ());
54
57
}
55
58
56
59
public static void registerFuels () {
57
60
GameRegistry .registerFuelHandler (new FuelHandler ());
58
61
}
59
62
60
63
public static void registerRecipes () {
61
- GameRegistry .addRecipe (NetherCoreItems .stoneCobble ,
64
+ ItemStack result ;
65
+
66
+ result = NetherCoreItems .stoneCobble .copy ();
67
+ result .stackSize = 1 ;
68
+ GameRegistry .addRecipe (result ,
62
69
"##" ,
63
70
"##" ,
64
- '#' , Blocks .netherrack );
71
+ '#' , Blocks .NETHERRACK );
65
72
66
- GameRegistry .addRecipe (NetherCoreItems .stoneBrick ,
73
+ result = NetherCoreItems .stoneBrick .copy ();
74
+ result .stackSize = 4 ;
75
+ GameRegistry .addRecipe (result ,
67
76
"##" ,
68
77
"##" ,
69
78
'#' , NetherCoreItems .stone );
70
79
71
- GameRegistry .addRecipe (NetherCoreItems .stoneRoad ,
80
+ result = NetherCoreItems .stoneRoad .copy ();
81
+ result .stackSize = 4 ;
82
+ GameRegistry .addRecipe (result ,
72
83
"##" ,
73
84
"##" ,
74
85
'#' , NetherCoreItems .stoneBrick );
75
86
76
- GameRegistry .addRecipe (NetherCoreItems .stoneCreeper ,
87
+ result = NetherCoreItems .stoneCreeper .copy ();
88
+ result .stackSize = 1 ;
89
+ GameRegistry .addRecipe (result ,
77
90
"#" ,
78
91
"G" ,
79
92
'#' , NetherCoreItems .stonePaver ,
80
- 'G' , Items .gunpowder );
93
+ 'G' , Items .GUNPOWDER );
81
94
82
- GameRegistry .addRecipe (NetherCoreItems .stoneBrickSquare ,
95
+ result = NetherCoreItems .stoneBrickSquare .copy ();
96
+ result .stackSize = 8 ;
97
+ GameRegistry .addRecipe (result ,
83
98
"###" ,
84
99
"# #" ,
85
100
"###" ,
86
101
'#' , NetherCoreItems .stoneBrick );
87
102
88
- GameRegistry .addRecipe (NetherCoreItems .stoneBrickFancy ,
103
+ result = NetherCoreItems .stoneBrickFancy .copy ();
104
+ result .stackSize = 5 ;
105
+ GameRegistry .addRecipe (result ,
89
106
"## " ,
90
107
" # " ,
91
108
" ##" ,
92
109
'#' , NetherCoreItems .stoneBrick );
93
110
94
- GameRegistry .addRecipe (NetherCoreItems .stonePaver ,
111
+ result = NetherCoreItems .stonePaver .copy ();
112
+ result .stackSize = 7 ;
113
+ GameRegistry .addRecipe (result ,
95
114
"###" ,
96
115
" # " ,
97
116
"###" ,
@@ -102,11 +121,11 @@ public static void registerRecipes() {
102
121
"MGM" ,
103
122
"WSW" ,
104
123
"BGB" ,
105
- 'M' , Items .magma_cream ,
106
- 'G' , Items .ghast_tear ,
107
- 'S' , Items .wheat_seeds ,
108
- 'B' , Items .blaze_powder ,
109
- 'W' , Items .nether_wart );
124
+ 'M' , Items .MAGMA_CREAM ,
125
+ 'G' , Items .GHAST_TEAR ,
126
+ 'S' , Items .WHEAT_SEEDS ,
127
+ 'B' , Items .BLAZE_POWDER ,
128
+ 'W' , Items .NETHER_WART );
110
129
}
111
130
112
131
if (Config .enableNetherFurnaceRecipe ) {
@@ -115,21 +134,21 @@ public static void registerRecipes() {
115
134
"CMC" ,
116
135
"CCC" ,
117
136
'C' , NetherCoreItems .stoneCobble ,
118
- 'M' , Items .magma_cream );
137
+ 'M' , Items .MAGMA_CREAM );
119
138
}
120
139
121
- ItemStack netherRods = NetherCoreItems .netherRod .copy ();
122
- netherRods .stackSize = 4 ;
123
- GameRegistry .addRecipe (netherRods ,
140
+ result = NetherCoreItems .netherRod .copy ();
141
+ result .stackSize = 4 ;
142
+ GameRegistry .addRecipe (result ,
124
143
"R" ,
125
144
"B" ,
126
- 'R' , Items .blaze_rod ,
127
- 'B' , Blocks .nether_brick );
145
+ 'R' , Items .BLAZE_ROD ,
146
+ 'B' , Blocks .NETHER_BRICK );
128
147
129
148
addCompressedRecipe (new ItemStack (NetherCoreItems .netherCoal ), NetherCoreItems .netherCoalBlock );
130
149
131
150
if (Config .enableCompressedNetherrackRecipes ) {
132
- addCompressedRecipe (new ItemStack (Blocks .netherrack ), NetherCoreItems .compressedNetherrackSingle );
151
+ addCompressedRecipe (new ItemStack (Blocks .NETHERRACK ), NetherCoreItems .compressedNetherrackSingle );
133
152
addCompressedRecipe (NetherCoreItems .compressedNetherrackSingle , NetherCoreItems .compressedNetherrackDouble );
134
153
addCompressedRecipe (NetherCoreItems .compressedNetherrackDouble , NetherCoreItems .compressedNetherrackTriple );
135
154
addCompressedRecipe (NetherCoreItems .compressedNetherrackTriple , NetherCoreItems .compressedNetherrackQuadruple );
@@ -150,7 +169,7 @@ public static void registerRecipes() {
150
169
151
170
addWallRecipe (NetherCoreItems .stone , NetherCoreItems .wallStone , false );
152
171
addWallRecipe (NetherCoreItems .stoneCobble , NetherCoreItems .wallStoneCobble , false );
153
- addWallRecipe (new ItemStack (Blocks .nether_brick ), NetherCoreItems .wallNetherBrick , true );
172
+ addWallRecipe (new ItemStack (Blocks .NETHER_BRICK ), NetherCoreItems .wallNetherBrick , true );
154
173
}
155
174
156
175
public static void registerIntegrations () {
0 commit comments