mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-27 23:45:48 +00:00
make TinkerSmeltery optional
This commit is contained in:
1 parent
29caed2de7
commit
8674272afa
5 files changed
+50
-23
No files matched your search
@@ -47,7 +47,7 @@ import tconstruct.world.TinkerWorld;
|
||||
import java.util.*;
|
||||
|
||||
@ObjectHolder(TConstruct.modID)
|
||||
@Pulse(id = "Tinkers' Smeltery", description = "Liquid metals, casting, and the multiblock structure.", forced = true)
|
||||
@Pulse(id = "Tinkers' Smeltery", description = "Liquid metals, casting, and the multiblock structure.")
|
||||
public class TinkerSmeltery
|
||||
{
|
||||
@SidedProxy(clientSide = "tconstruct.smeltery.SmelteryProxyClient", serverSide = "tconstruct.smeltery.SmelteryProxyCommon")
|
||||
@@ -777,6 +777,8 @@ public class TinkerSmeltery
|
||||
addRecipesForSmeltery();
|
||||
addRecipesForTableCasting();
|
||||
addRecipesForBasinCasting();
|
||||
addRecipesForFurnace();
|
||||
oreRegistry();
|
||||
}
|
||||
|
||||
@Handler
|
||||
@@ -1313,6 +1315,22 @@ public class TinkerSmeltery
|
||||
}
|
||||
}
|
||||
|
||||
public void addRecipesForFurnace ()
|
||||
{
|
||||
FurnaceRecipes.smelting().func_151394_a(new ItemStack(TinkerSmeltery.speedBlock, 1, 0), new ItemStack(TinkerSmeltery.speedBlock, 1, 2), 0.2f);
|
||||
}
|
||||
|
||||
public void oreRegistry ()
|
||||
{
|
||||
String[] glassTypes = { "glassBlack", "glassRed", "glassGreen", "glassBrown", "glassBlue", "glassPurple", "glassCyan", "glassLightGray", "glassGray", "glassPink", "glassLime", "glassYellow", "glassLightBlue", "glassMagenta", "glassOrange", "glassWhite" };
|
||||
for (int i = 0; i < 16; i++)
|
||||
{
|
||||
OreDictionary.registerOre(glassTypes[15 - i], new ItemStack(TinkerSmeltery.stainedGlassClear, 1, i));
|
||||
}
|
||||
|
||||
OreDictionary.registerOre("blockGlass", new ItemStack(TinkerSmeltery.clearGlass));
|
||||
}
|
||||
|
||||
public void modIntegration ()
|
||||
{
|
||||
/* Natura */
|
||||
|
||||
Reference in new issue
Block a user