mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-27 23:45:48 +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
@@ -765,7 +765,7 @@ public class TinkerSmeltery {
|
||||
GameRegistry.addRecipe(
|
||||
new ItemStack(TinkerSmeltery.searedBlockNether, 1, 2), "b b", "b b", "bbb", 'b', searedBrick); // Basin
|
||||
GameRegistry.addRecipe(
|
||||
new ItemStack(TinkerSmeltery.castingChannel, 4, 0), "b b", "bbb", 'b', searedBrick); // Channel
|
||||
new ItemStack(TinkerSmeltery.castingChannel, 4, 1), "b b", "bbb", 'b', searedBrick); // Channel
|
||||
|
||||
// Slab Smeltery Components Recipes
|
||||
for (int i = 0; i < 7; i++) {
|
||||
@@ -1088,7 +1088,9 @@ public class TinkerSmeltery {
|
||||
/ 2;
|
||||
ItemStack metalCast = new ItemStack(TinkerTools.patternOutputs[iter], 1, liquidDamage[iterTwo]);
|
||||
tableCasting.addCastingRecipe(metalCast, new FluidStack(fs, fluidAmount), cast, 50);
|
||||
tableCasting.addCastingRecipe(metalCast, new FluidStack(fs, fluidAmount), clay_cast, true, 50);
|
||||
if (isValidClayCast(iter)) {
|
||||
tableCasting.addCastingRecipe(metalCast, new FluidStack(fs, fluidAmount), clay_cast, true, 50);
|
||||
}
|
||||
Smeltery.addMelting(FluidType.getFluidType(fs), metalCast, 0, fluidAmount);
|
||||
}
|
||||
}
|
||||
@@ -2033,4 +2035,8 @@ public class TinkerSmeltery {
|
||||
|
||||
return fluid;
|
||||
}
|
||||
|
||||
public boolean isValidClayCast(int meta) {
|
||||
return meta < 14 || meta == 22 || meta == 25;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user