mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
Misc Additions (#62)
* Fix Tinker Addons Fixed clay cast taking over the registry name of standard casts Added missing resources for molten quartz item (used by Iguana Tinker Tweaks) * Prevent casting recipes of invalid clay casts * Seared Channel * Blank Clay Cast * Enhance readability
This commit is contained in:
1 parent
7ff7f25f73
commit
85e690c6b7
6 files changed
+55
-7
No files matched your search
@@ -278,10 +278,17 @@ public class TinkerWeaponry {
|
||||
int fluidAmount = metalPattern.getPatternCost(cast) * TConstruct.ingotLiquidValue / 2;
|
||||
ItemStack metalCast = new ItemStack(patternOutputs[i], 1, liquidDamage[iterTwo]);
|
||||
tableCasting.addCastingRecipe(metalCast, new FluidStack(fs, fluidAmount), cast, 50);
|
||||
tableCasting.addCastingRecipe(metalCast, new FluidStack(fs, fluidAmount), clay_cast, true, 50);
|
||||
Smeltery.addMelting(FluidType.getFluidType(fs), metalCast, 0, fluidAmount);
|
||||
}
|
||||
}
|
||||
//Register clay part casting for BowLimbs
|
||||
for (int iterTwo = 0; iterTwo < TinkerSmeltery.liquids.length; iterTwo++) {
|
||||
Fluid fs = TinkerSmeltery.liquids[iterTwo].getFluid();
|
||||
ItemStack clay_cast = new ItemStack(clayPattern, 1, 3);
|
||||
int fluidAmount = clayPattern.getPatternCost(clay_cast) * TConstruct.ingotLiquidValue / 2;
|
||||
|
||||
tableCasting.addCastingRecipe(new ItemStack(patternOutputs[3], 1, liquidDamage[iterTwo]), new FluidStack(fs, fluidAmount), clay_cast, true, 50);
|
||||
}
|
||||
|
||||
ItemStack cast = new ItemStack(TinkerSmeltery.metalPattern, 1, 25);
|
||||
ItemStack clay_cast = new ItemStack(TinkerSmeltery.clayPattern, 1, 25);
|
||||
|
||||
Reference in new issue
Block a user