mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
Create a config option for gold cast recipes
If "Remove Gold Cast Recipes" config setting is enabled like so: https://github.com/GTNewHorizons/NewHorizons/commit/723e05e85d97e3e9206c5f3800564db26f1b41ea It will force the use of the only other material to make casts in Tinkers' Construct, Aluminum. All gold casts are back if set to false of course.
This commit is contained in:
1 parent
222b048aae
commit
ea676774aa
5 files changed
+26
-11
No files matched your search
@@ -258,7 +258,8 @@ public class TinkerWeaponry {
|
||||
ItemStack cast = new ItemStack(metalPattern, 1, i);
|
||||
|
||||
tableCasting.addCastingRecipe(cast, new FluidStack(TinkerSmeltery.moltenAlubrassFluid, TConstruct.ingotLiquidValue), new ItemStack(patternOutputs[i], 1, Short.MAX_VALUE), false, 50);
|
||||
tableCasting.addCastingRecipe(cast, new FluidStack(TinkerSmeltery.moltenGoldFluid, TConstruct.ingotLiquidValue * 2), new ItemStack(patternOutputs[i], 1, Short.MAX_VALUE), false, 50);
|
||||
if (!PHConstruct.removeGoldCastRecipes)
|
||||
tableCasting.addCastingRecipe(cast, new FluidStack(TinkerSmeltery.moltenGoldFluid, TConstruct.ingotLiquidValue * 2), new ItemStack(patternOutputs[i], 1, Short.MAX_VALUE), false, 50);
|
||||
|
||||
for (int iterTwo = 0; iterTwo < TinkerSmeltery.liquids.length; iterTwo++) {
|
||||
Fluid fs = TinkerSmeltery.liquids[iterTwo].getFluid();
|
||||
@@ -271,7 +272,8 @@ public class TinkerWeaponry {
|
||||
|
||||
ItemStack cast = new ItemStack(TinkerSmeltery.metalPattern, 1, 25);
|
||||
tableCasting.addCastingRecipe(cast, new FluidStack(TinkerSmeltery.moltenAlubrassFluid, TConstruct.ingotLiquidValue), new ItemStack(arrowhead, 1, Short.MAX_VALUE), false, 50);
|
||||
tableCasting.addCastingRecipe(cast, new FluidStack(TinkerSmeltery.moltenGoldFluid, TConstruct.ingotLiquidValue * 2), new ItemStack(arrowhead, 1, Short.MAX_VALUE), false, 50);
|
||||
if (!PHConstruct.removeGoldCastRecipes)
|
||||
tableCasting.addCastingRecipe(cast, new FluidStack(TinkerSmeltery.moltenGoldFluid, TConstruct.ingotLiquidValue * 2), new ItemStack(arrowhead, 1, Short.MAX_VALUE), false, 50);
|
||||
|
||||
for (int iterTwo = 0; iterTwo < TinkerSmeltery.liquids.length; iterTwo++) {
|
||||
Fluid fs = TinkerSmeltery.liquids[iterTwo].getFluid();
|
||||
|
||||
Reference in new issue
Block a user