mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 12:19:48 +00:00
Fix Thaumium toolparts for weaponry parts
This commit is contained in:
1 parent
d3c4ab0d0e
commit
da254927a6
2 files changed
+15
-11
No files matched your search
@@ -94,6 +94,8 @@ public class TinkerWeaponry {
|
||||
public static Random random = new Random();
|
||||
|
||||
|
||||
public static Item[] patternOutputs;
|
||||
|
||||
@Handler
|
||||
public void preInit(FMLPreInitializationEvent event)
|
||||
{
|
||||
@@ -204,7 +206,7 @@ public class TinkerWeaponry {
|
||||
// todo: integrate into tcon
|
||||
int[] nonMetals = { 0, 1, 3, 4, 5, 6, 7, 8, 9, 17 };
|
||||
int[] liquidDamage = new int[] { 2, 13, 10, 11, 12, 14, 15, 6, 16, 18 };
|
||||
Item[] patternOutputs = new Item[] { partShuriken, partCrossbowLimb, partCrossbowBody, partBowLimb };
|
||||
patternOutputs = new Item[] { partShuriken, partCrossbowLimb, partCrossbowBody, partBowLimb };
|
||||
|
||||
|
||||
// register part crafting
|
||||
@@ -255,13 +257,6 @@ public class TinkerWeaponry {
|
||||
tableCasting.addCastingRecipe(metalCast, new FluidStack(fs, fluidAmount), cast, 50);
|
||||
Smeltery.addMelting(FluidType.getFluidType(fs), metalCast, 0, fluidAmount);
|
||||
}
|
||||
|
||||
// Thaumium weaponry toolparts
|
||||
if(TinkerTools.thaumcraftAvailable)
|
||||
{
|
||||
for (int m = 0; m < patternOutputs.length; m++)
|
||||
TConstructRegistry.addPartMapping(woodPattern, m, MaterialID.Thaumium, new ItemStack(patternOutputs[m], 1, MaterialID.Thaumium));
|
||||
}
|
||||
}
|
||||
|
||||
private void registerLegendaries()
|
||||
|
||||
Reference in new issue
Block a user