Create a config option for gold cast recipes

If "Remove Gold Cast Recipes" config setting is enabled, it will force the use of the only other material to make casts: aluminum.
All gold casts are back if set to false, of course.

Conflicts:
	.travis.yml
	build.properties
This commit is contained in:
Dream-Master committed 2017-02-08 18:34:10 +01:00
commit d133df9f11
1 file changed
+2 -1
@@ -39,7 +39,8 @@ public class TinkerGears {
public void postInit(FMLPostInitializationEvent event) {
ItemStack cast = new ItemStack(gearCast);
FluidStack aluCastLiquid = new FluidStack(TinkerSmeltery.moltenAlubrassFluid, TConstruct.ingotLiquidValue);
FluidStack goldCastLiquid = new FluidStack(TinkerSmeltery.moltenGoldFluid, TConstruct.ingotLiquidValue*2);
if(!PHConstruct.removeGoldCastRecipes)
FluidStack goldCastLiquid = new FluidStack(TinkerSmeltery.moltenGoldFluid, TConstruct.ingotLiquidValue*2);
// find all gears in the registry
for(String oreName : OreDictionary.getOreNames()) {