From a7cabc5712969f0f73ebcab1cb7a477abb5bd411 Mon Sep 17 00:00:00 2001 From: mDiyo Date: Mon, 1 Jul 2013 16:47:26 -0700 Subject: [PATCH] Thaumium tools and Drying Rack --- mods/tinker/resources/lang/en_US.xml | 1 + mods/tinker/tconstruct/TConstruct.java | 2 +- mods/tinker/tconstruct/blocks/DryingRack.java | 325 ++++++++++++++++++ .../tconstruct/blocks/LightCrystalBase.java | 1 + .../blocks/logic/DryingRackLogic.java | 181 ++++++++++ .../tconstruct/client/TProxyClient.java | 42 +-- .../client/block/DryingRackRender.java | 106 ++++++ .../client/block/DryingRackSpecialRender.java | 88 +++++ mods/tinker/tconstruct/common/TContent.java | 109 +++--- .../tconstruct/common/TProxyCommon.java | 2 +- .../tinker/tconstruct/items/CraftingItem.java | 77 +++-- mods/tinker/tconstruct/items/ToolPart.java | 63 ++-- .../tconstruct/items/ToolPartHidden.java | 4 +- mods/tinker/tconstruct/items/ToolShard.java | 47 +-- .../library/TConstructRegistry.java | 29 ++ .../tconstruct/library/tools/HarvestTool.java | 200 +++++------ .../tconstruct/library/tools/ToolCore.java | 56 +-- .../library/tools/ToolMaterial.java | 9 +- mods/tinker/tconstruct/util/PHConstruct.java | 2 + .../tinker/tconstruct/util/TEventHandler.java | 25 +- .../items/axe/thaumium_axe_handle.png | Bin 118 -> 193 bytes .../textures/items/axe/thaumium_axe_head.png | Bin 123 -> 238 bytes .../items/axe/thaumium_axe_head_broken.png | Bin 125 -> 225 bytes .../battleaxe/thaumium_battleaxe_backhead.png | Bin 0 -> 223 bytes .../battleaxe/thaumium_battleaxe_binding.png | Bin 0 -> 173 bytes .../thaumium_battleaxe_fronthead.png | Bin 0 -> 214 bytes .../thaumium_battleaxe_fronthead_broken.png | Bin 0 -> 224 bytes .../battleaxe/thaumium_battleaxe_handle.png | Bin 0 -> 201 bytes .../battlesign/thaumium_battlesign_handle.png | Bin 0 -> 183 bytes .../battlesign/thaumium_battlesign_head.png | Bin 0 -> 301 bytes .../thaumium_battlesign_head_broken.png | Bin 0 -> 344 bytes .../broadsword/thaumium_sword_accessory.png | Bin 0 -> 216 bytes .../items/broadsword/thaumium_sword_blade.png | Bin 0 -> 225 bytes .../thaumium_sword_blade_broken.png | Bin 0 -> 234 bytes .../broadsword/thaumium_sword_handle.png | Bin 0 -> 198 bytes .../items/chisel/thaumium_chisel_handle.png | Bin 0 -> 179 bytes .../items/chisel/thaumium_chisel_head.png | Bin 0 -> 209 bytes .../chisel/thaumium_chisel_head_broken.png | Bin 0 -> 163 bytes .../items/cleaver/thaumium_cleaver_guard.png | Bin 0 -> 176 bytes .../items/cleaver/thaumium_cleaver_handle.png | Bin 0 -> 198 bytes .../items/cleaver/thaumium_cleaver_head.png | Bin 0 -> 246 bytes .../cleaver/thaumium_cleaver_head_broken.png | Bin 0 -> 237 bytes .../items/cleaver/thaumium_cleaver_shield.png | Bin 0 -> 182 bytes .../items/cutlass/thaumium_cutlass_blade.png | Bin 0 -> 181 bytes .../cutlass/thaumium_cutlass_blade_broken.png | Bin 0 -> 193 bytes .../items/cutlass/thaumium_cutlass_guard.png | Bin 0 -> 99 bytes .../items/cutlass/thaumium_cutlass_handle.png | Bin 0 -> 98 bytes .../dagger/thaumium_dagger_accessory.png | Bin 0 -> 178 bytes .../items/dagger/thaumium_dagger_blade.png | Bin 0 -> 243 bytes .../dagger/thaumium_dagger_blade_broken.png | Bin 0 -> 228 bytes .../items/dagger/thaumium_dagger_handle.png | Bin 0 -> 177 bytes .../excavator/thaumium_excavator_binding.png | Bin 0 -> 204 bytes .../excavator/thaumium_excavator_grip.png | Bin 0 -> 199 bytes .../excavator/thaumium_excavator_handle.png | Bin 0 -> 225 bytes .../excavator/thaumium_excavator_head.png | Bin 0 -> 280 bytes .../thaumium_excavator_head_broken.png | Bin 0 -> 268 bytes .../items/frypan/thaumium_frypan_handle.png | Bin 125 -> 205 bytes .../items/frypan/thaumium_frypan_head.png | Bin 0 -> 347 bytes .../frypan/thaumium_frypan_head_broken.png | Bin 0 -> 400 bytes .../items/hammer/thaumium_hammer_back.png | Bin 0 -> 202 bytes .../items/hammer/thaumium_hammer_front.png | Bin 0 -> 203 bytes .../items/hammer/thaumium_hammer_handle.png | Bin 0 -> 242 bytes .../hammer/thaumium_hammer_handle_broken.png | Bin 0 -> 228 bytes .../items/hammer/thaumium_hammer_head.png | Bin 0 -> 339 bytes .../thaumium_longsword_accessory.png | Bin 0 -> 203 bytes .../longsword/thaumium_longsword_blade.png | Bin 0 -> 186 bytes .../thaumium_longsword_blade_broken.png | Bin 0 -> 247 bytes .../longsword/thaumium_longsword_handle.png | Bin 0 -> 198 bytes .../lumberaxe/thaumium_lumberaxe_binding.png | Bin 0 -> 181 bytes .../lumberaxe/thaumium_lumberaxe_handle.png | Bin 0 -> 263 bytes .../lumberaxe/thaumium_lumberaxe_head.png | Bin 0 -> 255 bytes .../thaumium_lumberaxe_head_broken.png | Bin 0 -> 264 bytes .../lumberaxe/thaumium_lumberaxe_shield.png | Bin 0 -> 179 bytes .../items/mattock/thaumium_mattock_back.png | Bin 0 -> 200 bytes .../items/mattock/thaumium_mattock_handle.png | Bin 0 -> 204 bytes .../items/mattock/thaumium_mattock_head.png | Bin 0 -> 243 bytes .../mattock/thaumium_mattock_head_broken.png | Bin 0 -> 213 bytes .../items/parts/thaumium_axe_head.png | Bin 0 -> 238 bytes .../items/parts/thaumium_battlesign_head.png | Bin 0 -> 301 bytes .../textures/items/parts/thaumium_binding.png | Bin 0 -> 245 bytes .../items/parts/thaumium_chisel_head.png | Bin 0 -> 205 bytes .../textures/items/parts/thaumium_chunk.png | Bin 0 -> 352 bytes .../items/parts/thaumium_crossbar.png | Bin 0 -> 213 bytes .../items/parts/thaumium_excavator_head.png | Bin 0 -> 267 bytes .../items/parts/thaumium_frypan_head.png | Bin 0 -> 344 bytes .../items/parts/thaumium_full_guard.png | Bin 0 -> 233 bytes .../items/parts/thaumium_hammer_head.png | Bin 0 -> 317 bytes .../items/parts/thaumium_knife_blade.png | Bin 0 -> 211 bytes .../items/parts/thaumium_large_guard.png | Bin 0 -> 207 bytes .../parts/thaumium_large_sword_blade.png | Bin 0 -> 253 bytes .../items/parts/thaumium_largeplate.png | Bin 0 -> 377 bytes .../items/parts/thaumium_lumberaxe_head.png | Bin 0 -> 251 bytes .../items/parts/thaumium_medium_guard.png | Bin 0 -> 204 bytes .../items/parts/thaumium_pickaxe_head.png | Bin 0 -> 283 bytes .../textures/items/parts/thaumium_rod.png | Bin 0 -> 201 bytes .../items/parts/thaumium_scythe_head.png | Bin 0 -> 249 bytes .../items/parts/thaumium_shovel_head.png | Bin 0 -> 221 bytes .../items/parts/thaumium_sword_blade.png | Bin 0 -> 252 bytes .../items/parts/thaumium_toughbind.png | Bin 0 -> 364 bytes .../items/parts/thaumium_toughrod.png | Bin 0 -> 259 bytes .../pickaxe/thaumium_pickaxe_accessory.png | Bin 0 -> 167 bytes .../items/pickaxe/thaumium_pickaxe_handle.png | Bin 0 -> 200 bytes .../items/pickaxe/thaumium_pickaxe_head.png | Bin 0 -> 289 bytes .../pickaxe/thaumium_pickaxe_head_broken.png | Bin 0 -> 262 bytes .../rapier/thaumium_rapier_accessory.png | Bin 0 -> 201 bytes .../items/rapier/thaumium_rapier_blade.png | Bin 0 -> 186 bytes .../rapier/thaumium_rapier_blade_broken.png | Bin 0 -> 191 bytes .../items/rapier/thaumium_rapier_handle.png | Bin 0 -> 204 bytes .../scythe/thaumium_scythe_accessory.png | Bin 0 -> 169 bytes .../items/scythe/thaumium_scythe_binding.png | Bin 0 -> 179 bytes .../items/scythe/thaumium_scythe_handle.png | Bin 0 -> 301 bytes .../items/scythe/thaumium_scythe_head.png | Bin 0 -> 244 bytes .../scythe/thaumium_scythe_head_broken.png | Bin 0 -> 223 bytes .../items/shovel/thaumium_shovel_handle.png | Bin 0 -> 205 bytes .../items/shovel/thaumium_shovel_head.png | Bin 0 -> 226 bytes .../shovel/thaumium_shovel_head_broken.png | Bin 0 -> 235 bytes 116 files changed, 1071 insertions(+), 298 deletions(-) create mode 100644 mods/tinker/tconstruct/blocks/DryingRack.java create mode 100644 mods/tinker/tconstruct/blocks/logic/DryingRackLogic.java create mode 100644 mods/tinker/tconstruct/client/block/DryingRackRender.java create mode 100644 mods/tinker/tconstruct/client/block/DryingRackSpecialRender.java create mode 100644 mods/tinker/textures/items/battleaxe/thaumium_battleaxe_backhead.png create mode 100644 mods/tinker/textures/items/battleaxe/thaumium_battleaxe_binding.png create mode 100644 mods/tinker/textures/items/battleaxe/thaumium_battleaxe_fronthead.png create mode 100644 mods/tinker/textures/items/battleaxe/thaumium_battleaxe_fronthead_broken.png create mode 100644 mods/tinker/textures/items/battleaxe/thaumium_battleaxe_handle.png create mode 100644 mods/tinker/textures/items/battlesign/thaumium_battlesign_handle.png create mode 100644 mods/tinker/textures/items/battlesign/thaumium_battlesign_head.png create mode 100644 mods/tinker/textures/items/battlesign/thaumium_battlesign_head_broken.png create mode 100644 mods/tinker/textures/items/broadsword/thaumium_sword_accessory.png create mode 100644 mods/tinker/textures/items/broadsword/thaumium_sword_blade.png create mode 100644 mods/tinker/textures/items/broadsword/thaumium_sword_blade_broken.png create mode 100644 mods/tinker/textures/items/broadsword/thaumium_sword_handle.png create mode 100644 mods/tinker/textures/items/chisel/thaumium_chisel_handle.png create mode 100644 mods/tinker/textures/items/chisel/thaumium_chisel_head.png create mode 100644 mods/tinker/textures/items/chisel/thaumium_chisel_head_broken.png create mode 100644 mods/tinker/textures/items/cleaver/thaumium_cleaver_guard.png create mode 100644 mods/tinker/textures/items/cleaver/thaumium_cleaver_handle.png create mode 100644 mods/tinker/textures/items/cleaver/thaumium_cleaver_head.png create mode 100644 mods/tinker/textures/items/cleaver/thaumium_cleaver_head_broken.png create mode 100644 mods/tinker/textures/items/cleaver/thaumium_cleaver_shield.png create mode 100644 mods/tinker/textures/items/cutlass/thaumium_cutlass_blade.png create mode 100644 mods/tinker/textures/items/cutlass/thaumium_cutlass_blade_broken.png create mode 100644 mods/tinker/textures/items/cutlass/thaumium_cutlass_guard.png create mode 100644 mods/tinker/textures/items/cutlass/thaumium_cutlass_handle.png create mode 100644 mods/tinker/textures/items/dagger/thaumium_dagger_accessory.png create mode 100644 mods/tinker/textures/items/dagger/thaumium_dagger_blade.png create mode 100644 mods/tinker/textures/items/dagger/thaumium_dagger_blade_broken.png create mode 100644 mods/tinker/textures/items/dagger/thaumium_dagger_handle.png create mode 100644 mods/tinker/textures/items/excavator/thaumium_excavator_binding.png create mode 100644 mods/tinker/textures/items/excavator/thaumium_excavator_grip.png create mode 100644 mods/tinker/textures/items/excavator/thaumium_excavator_handle.png create mode 100644 mods/tinker/textures/items/excavator/thaumium_excavator_head.png create mode 100644 mods/tinker/textures/items/excavator/thaumium_excavator_head_broken.png create mode 100644 mods/tinker/textures/items/frypan/thaumium_frypan_head.png create mode 100644 mods/tinker/textures/items/frypan/thaumium_frypan_head_broken.png create mode 100644 mods/tinker/textures/items/hammer/thaumium_hammer_back.png create mode 100644 mods/tinker/textures/items/hammer/thaumium_hammer_front.png create mode 100644 mods/tinker/textures/items/hammer/thaumium_hammer_handle.png create mode 100644 mods/tinker/textures/items/hammer/thaumium_hammer_handle_broken.png create mode 100644 mods/tinker/textures/items/hammer/thaumium_hammer_head.png create mode 100644 mods/tinker/textures/items/longsword/thaumium_longsword_accessory.png create mode 100644 mods/tinker/textures/items/longsword/thaumium_longsword_blade.png create mode 100644 mods/tinker/textures/items/longsword/thaumium_longsword_blade_broken.png create mode 100644 mods/tinker/textures/items/longsword/thaumium_longsword_handle.png create mode 100644 mods/tinker/textures/items/lumberaxe/thaumium_lumberaxe_binding.png create mode 100644 mods/tinker/textures/items/lumberaxe/thaumium_lumberaxe_handle.png create mode 100644 mods/tinker/textures/items/lumberaxe/thaumium_lumberaxe_head.png create mode 100644 mods/tinker/textures/items/lumberaxe/thaumium_lumberaxe_head_broken.png create mode 100644 mods/tinker/textures/items/lumberaxe/thaumium_lumberaxe_shield.png create mode 100644 mods/tinker/textures/items/mattock/thaumium_mattock_back.png create mode 100644 mods/tinker/textures/items/mattock/thaumium_mattock_handle.png create mode 100644 mods/tinker/textures/items/mattock/thaumium_mattock_head.png create mode 100644 mods/tinker/textures/items/mattock/thaumium_mattock_head_broken.png create mode 100644 mods/tinker/textures/items/parts/thaumium_axe_head.png create mode 100644 mods/tinker/textures/items/parts/thaumium_battlesign_head.png create mode 100644 mods/tinker/textures/items/parts/thaumium_binding.png create mode 100644 mods/tinker/textures/items/parts/thaumium_chisel_head.png create mode 100644 mods/tinker/textures/items/parts/thaumium_chunk.png create mode 100644 mods/tinker/textures/items/parts/thaumium_crossbar.png create mode 100644 mods/tinker/textures/items/parts/thaumium_excavator_head.png create mode 100644 mods/tinker/textures/items/parts/thaumium_frypan_head.png create mode 100644 mods/tinker/textures/items/parts/thaumium_full_guard.png create mode 100644 mods/tinker/textures/items/parts/thaumium_hammer_head.png create mode 100644 mods/tinker/textures/items/parts/thaumium_knife_blade.png create mode 100644 mods/tinker/textures/items/parts/thaumium_large_guard.png create mode 100644 mods/tinker/textures/items/parts/thaumium_large_sword_blade.png create mode 100644 mods/tinker/textures/items/parts/thaumium_largeplate.png create mode 100644 mods/tinker/textures/items/parts/thaumium_lumberaxe_head.png create mode 100644 mods/tinker/textures/items/parts/thaumium_medium_guard.png create mode 100644 mods/tinker/textures/items/parts/thaumium_pickaxe_head.png create mode 100644 mods/tinker/textures/items/parts/thaumium_rod.png create mode 100644 mods/tinker/textures/items/parts/thaumium_scythe_head.png create mode 100644 mods/tinker/textures/items/parts/thaumium_shovel_head.png create mode 100644 mods/tinker/textures/items/parts/thaumium_sword_blade.png create mode 100644 mods/tinker/textures/items/parts/thaumium_toughbind.png create mode 100644 mods/tinker/textures/items/parts/thaumium_toughrod.png create mode 100644 mods/tinker/textures/items/pickaxe/thaumium_pickaxe_accessory.png create mode 100644 mods/tinker/textures/items/pickaxe/thaumium_pickaxe_handle.png create mode 100644 mods/tinker/textures/items/pickaxe/thaumium_pickaxe_head.png create mode 100644 mods/tinker/textures/items/pickaxe/thaumium_pickaxe_head_broken.png create mode 100644 mods/tinker/textures/items/rapier/thaumium_rapier_accessory.png create mode 100644 mods/tinker/textures/items/rapier/thaumium_rapier_blade.png create mode 100644 mods/tinker/textures/items/rapier/thaumium_rapier_blade_broken.png create mode 100644 mods/tinker/textures/items/rapier/thaumium_rapier_handle.png create mode 100644 mods/tinker/textures/items/scythe/thaumium_scythe_accessory.png create mode 100644 mods/tinker/textures/items/scythe/thaumium_scythe_binding.png create mode 100644 mods/tinker/textures/items/scythe/thaumium_scythe_handle.png create mode 100644 mods/tinker/textures/items/scythe/thaumium_scythe_head.png create mode 100644 mods/tinker/textures/items/scythe/thaumium_scythe_head_broken.png create mode 100644 mods/tinker/textures/items/shovel/thaumium_shovel_handle.png create mode 100644 mods/tinker/textures/items/shovel/thaumium_shovel_head.png create mode 100644 mods/tinker/textures/items/shovel/thaumium_shovel_head_broken.png diff --git a/mods/tinker/resources/lang/en_US.xml b/mods/tinker/resources/lang/en_US.xml index 757d19c0..b936f64d 100644 --- a/mods/tinker/resources/lang/en_US.xml +++ b/mods/tinker/resources/lang/en_US.xml @@ -21,6 +21,7 @@ Casting Table Tool Forge + Drying Rack Slimy Mud Grout Slimy Mud diff --git a/mods/tinker/tconstruct/TConstruct.java b/mods/tinker/tconstruct/TConstruct.java index 4ca7cdbd..ac9b0f69 100644 --- a/mods/tinker/tconstruct/TConstruct.java +++ b/mods/tinker/tconstruct/TConstruct.java @@ -37,7 +37,7 @@ import cpw.mods.fml.common.registry.VillagerRegistry; * @dependencies: IC2 API, MFR API */ -@Mod(modid = "TConstruct", name = "TConstruct", version = "1.5.1_1.4.dev.7", dependencies = "required-after:Forge@[7.7.1.675,)") +@Mod(modid = "TConstruct", name = "TConstruct", version = "1.5.1_1.4.dev.8", dependencies = "required-after:Forge@[7.7.1.675,)") @NetworkMod(serverSideRequired = false, clientSideRequired = true, channels = { "TConstruct" }, packetHandler = mods.tinker.tconstruct.util.network.TPacketHandler.class) public class TConstruct { diff --git a/mods/tinker/tconstruct/blocks/DryingRack.java b/mods/tinker/tconstruct/blocks/DryingRack.java new file mode 100644 index 00000000..c503282c --- /dev/null +++ b/mods/tinker/tconstruct/blocks/DryingRack.java @@ -0,0 +1,325 @@ +package mods.tinker.tconstruct.blocks; + +import java.util.List; + +import mods.tinker.tconstruct.TConstruct; +import mods.tinker.tconstruct.blocks.logic.CastingBasinLogic; +import mods.tinker.tconstruct.blocks.logic.DryingRackLogic; +import mods.tinker.tconstruct.blocks.logic.FaucetLogic; +import mods.tinker.tconstruct.client.block.DryingRackRender; +import mods.tinker.tconstruct.library.TConstructRegistry; +import mods.tinker.tconstruct.library.blocks.InventoryBlock; +import mods.tinker.tconstruct.library.tools.AbilityHelper; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityLiving; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.ItemStack; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.Icon; +import net.minecraft.util.MathHelper; +import net.minecraft.world.IBlockAccess; +import net.minecraft.world.World; + +public class DryingRack extends InventoryBlock +{ + + public DryingRack(int id) + { + super(id, Material.rock); + this.setCreativeTab(TConstructRegistry.blockTab); + setHardness(12); + setStepSound(soundMetalFootstep); + } + + @Override + public TileEntity createTileEntity (World world, int metadata) + { + /*switch (metadata) + { + case 0: + case 1: + return new FaucetLogic(); + case 2: + return new CastingBasinLogic(); + default: + return null; + }*/ + return new DryingRackLogic(); + } + + @Override + public int getRenderBlockPass () + { + return 1; + } + + @Override + public Integer getGui (World world, int x, int y, int z, EntityPlayer entityplayer) + { + return null; + } + + @Override + public Object getModInstance () + { + return TConstruct.instance; + } + + public int onBlockPlaced(World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ, int meta) + { + if (side > 1) + return side; + return meta; + } + + public void onBlockPlacedBy(World world, int x, int y, int z, EntityLiving living, ItemStack stack) + { + int meta = world.getBlockMetadata(x, y, z); + if (meta == 0) + { + int l = MathHelper.floor_double((double)(living.rotationYaw * 4.0F / 360.0F) + 0.5D) & 3; + int direction = l % 2; + if (direction == 1) + world.setBlockMetadataWithNotify(x, y, z, 1, 2); + } + } + + /* Activation */ + @Override + public boolean onBlockActivated (World world, int x, int y, int z, EntityPlayer player, int side, float clickX, float clickY, float clickZ) + { + return activateDryingRack(world, x, y, z, player); + } + + boolean activateDryingRack (World world, int x, int y, int z, EntityPlayer player) + { + if (!world.isRemote) + { + DryingRackLogic logic = (DryingRackLogic) world.getBlockTileEntity(x, y, z); + + if (!logic.isStackInSlot(0)) + { + ItemStack stack = player.getCurrentEquippedItem(); + if (stack != null) + { + stack = player.inventory.decrStackSize(player.inventory.currentItem, 1); + logic.setInventorySlotContents(0, stack); + } + } + else + { + if (logic.isStackInSlot(0)) + { + ItemStack decrStack = logic.decrStackSize(0, 1); + if (decrStack != null) + addItemToInventory(player, world, x, y, z, decrStack); + } + } + + world.markBlockForUpdate(x, y, z); + } + return true; + } + + public void addItemToInventory (EntityPlayer player, World world, int x, int y, int z, ItemStack stack) + { + AbilityHelper.spawnItemAtPlayer(player, stack); + } + + + public AxisAlignedBB getSelectedBoundingBoxFromPool(World world, int x, int y, int z) + { + int metadata = world.getBlockMetadata(x, y, z); + float xMin = 0F; + float yMin = 0F; + float zMin = 0F; + float xMax = 1F; + float yMax = 1F; + float zMax = 1F; + switch (metadata) + { + case 0: zMin = 0.375F; yMax = 0.25F; zMax = 0.625F; break; + case 1: xMin = 0.375F; yMax = 0.25F; xMax = 0.625F; break; + case 2: zMin = 0.75F; yMin = 0.75F; break; + case 3: zMax = 0.25F; yMin = 0.75F; break; + case 4: xMin = 0.75F; yMin = 0.75F; break; + case 5: xMax = 0.25F; yMin = 0.75F; break; + } + return AxisAlignedBB.getAABBPool().getAABB((double)x + xMin, (double)y + yMin, (double)z + zMin, (double)x + xMax, (double)y + yMax, (double)z + zMax); + } + + public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z) + { + int metadata = world.getBlockMetadata(x, y, z); + float xMin = 0F; + float yMin = 0F; + float zMin = 0F; + float xMax = 1F; + float yMax = 1F; + float zMax = 1F; + switch (metadata) + { + case 0: zMin = 0.375F; yMax = 0.25F; zMax = 0.625F; break; + case 1: xMin = 0.375F; yMax = 0.25F; xMax = 0.625F; break; + case 2: zMin = 0.75F; yMin = 0.75F; break; + case 3: zMax = 0.25F; yMin = 0.75F; break; + case 4: xMin = 0.75F; yMin = 0.75F; break; + case 5: xMax = 0.25F; yMin = 0.75F; break; + } + this.setBlockBounds(xMin, yMin, zMin, xMax, yMax, zMax); + } + + public void addCollisionBoxesToList(World world, int x, int y, int z, AxisAlignedBB aabb, List list, Entity entity) + { + this.setBlockBoundsBasedOnState(world, x, y, z); + super.addCollisionBoxesToList(world, x, y, z, aabb, list, entity); + } + + /* Rendering */ + @Override + public int getRenderType () + { + return DryingRackRender.model; + } + + @Override + public String[] getTextureNames () + { + String[] textureNames = { "castingtable_top", "castingtable_side", "castingtable_bottom", "faucet", "blockcast_top", "blockcast_side", "blockcast_bottom" }; + + return textureNames; + } + + @Override + public Icon getIcon (int side, int meta) + { + return Block.planks.getIcon(side, 0); + } + + public int getTextureIndex (int side) + { + if (side == 0) + return 2; + if (side == 1) + return 0; + + return 1; + } + + @Override + public boolean renderAsNormalBlock () + { + return false; + } + + @Override + public boolean isOpaqueCube () + { + return false; + } + + /*@Override + public boolean shouldSideBeRendered (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5) + { + return true; + }*/ + + /*@Override + public void getSubBlocks (int id, CreativeTabs tab, List list) + { + for (int iter = 0; iter < 3; iter++) + { + list.add(new ItemStack(id, 1, iter)); + } + }*/ + + /*@Override + public void setBlockBoundsBasedOnState (IBlockAccess world, int x, int y, int z) + { + int meta = world.getBlockMetadata(x, y, z); + if (meta != 1) + { + this.setBlockBounds(0, 0, 0, 1, 1, 1); + } + else + { + FaucetLogic logic = (FaucetLogic) world.getBlockTileEntity(x, y, z); + float xMin = 0.25F; + float xMax = 0.75F; + float zMin = 0.25F; + float zMax = 0.75F; + + switch (logic.getRenderDirection()) + { + case 2: + zMin = 0.625F; + zMax = 1.0F; + break; + case 3: + zMax = 0.375F; + zMin = 0F; + break; + case 4: + xMin = 0.625F; + xMax = 1.0F; + break; + case 5: + xMax = 0.375F; + xMin = 0F; + break; + } + + this.setBlockBounds(xMin, 0.25F, zMin, xMax, 0.625F, zMax); + } + }*/ + + /*@Override + public AxisAlignedBB getCollisionBoundingBoxFromPool (World world, int x, int y, int z) + { + int meta = world.getBlockMetadata(x, y, z); + if (meta != 1) + { + return AxisAlignedBB.getAABBPool().getAABB(x, y, z, x + 1, y + 1, z + 1); + } + else + { + FaucetLogic logic = (FaucetLogic) world.getBlockTileEntity(x, y, z); + if (logic != null) + { + float xMin = 0.25F; + float xMax = 0.75F; + float zMin = 0.25F; + float zMax = 0.75F; + + switch (logic.getRenderDirection()) + { + case 2: + zMin = 0.625F; + zMax = 1.0F; + break; + case 3: + zMax = 0.375F; + zMin = 0F; + break; + case 4: + xMin = 0.625F; + xMax = 1.0F; + break; + case 5: + xMax = 0.375F; + xMin = 0F; + break; + } + + return AxisAlignedBB.getAABBPool().getAABB((double) ((float) x + xMin), (double) y + 0.25, (double) ((float) z + zMin), (double) ((float) x + xMax), (double) y + 0.625, (double) ((float) z + zMax)); + } + } + + return super.getCollisionBoundingBoxFromPool(world, x, y, z); + }*/ + + /* Redstone */ +} diff --git a/mods/tinker/tconstruct/blocks/LightCrystalBase.java b/mods/tinker/tconstruct/blocks/LightCrystalBase.java index 101dd8a0..9479d936 100644 --- a/mods/tinker/tconstruct/blocks/LightCrystalBase.java +++ b/mods/tinker/tconstruct/blocks/LightCrystalBase.java @@ -1,3 +1,4 @@ + package mods.tinker.tconstruct.blocks; import java.util.List; diff --git a/mods/tinker/tconstruct/blocks/logic/DryingRackLogic.java b/mods/tinker/tconstruct/blocks/logic/DryingRackLogic.java new file mode 100644 index 00000000..02efbc1d --- /dev/null +++ b/mods/tinker/tconstruct/blocks/logic/DryingRackLogic.java @@ -0,0 +1,181 @@ +package mods.tinker.tconstruct.blocks.logic; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import mods.tinker.tconstruct.common.TContent; +import mods.tinker.tconstruct.library.blocks.InventoryLogic; +import mods.tinker.tconstruct.library.util.IActiveLogic; +import net.minecraft.block.Block; +import net.minecraft.entity.player.InventoryPlayer; +import net.minecraft.inventory.Container; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.network.INetworkManager; +import net.minecraft.network.packet.Packet; +import net.minecraft.network.packet.Packet132TileEntityData; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.world.World; + +public class DryingRackLogic extends InventoryLogic implements IActiveLogic +{ + short currentTime; + short maxTime = 20 * 60 * 5; + public int currentLightLevel; + public boolean active; + public byte crystalValue; + + public DryingRackLogic() + { + super(1); + } + + @Override + public Container getGuiContainer (InventoryPlayer inventoryplayer, World world, int x, int y, int z) + { + return null; + } + + @Override + protected String getDefaultName () + { + return ""; + } + + @Override + public void updateEntity () + { + /*if (worldObj.isRemote) + return; + + if (worldObj.canBlockSeeTheSky(xCoord, yCoord + 1, zCoord) && crystalValue < 64) + { + Block block = Block.blocksList[worldObj.getBlockId(xCoord, yCoord + 1, zCoord)]; + if (block == null || validBlock(block) || block.isAirBlock(worldObj, xCoord, yCoord + 1, zCoord)) + { + currentLightLevel = worldObj.getSavedLightValue(EnumSkyBlock.Sky, xCoord, yCoord, zCoord) - worldObj.skylightSubtracted; + if (currentLightLevel > 12) + { + currentTime++; + if (currentTime >= 180) + { + currentTime = 0; + crystalValue++; + if (block == TContent.lightCrystalBase) + { + int meta = worldObj.getBlockMetadata(xCoord, yCoord + 1, zCoord); + if (crystalValue >= 64) + { + if (meta < 3) + { + worldObj.setBlockMetadataWithNotify(xCoord, yCoord + 1, zCoord, 3, 3); + TheftValueTracker.updateCrystallinity(worldObj.provider.dimensionId, xCoord, zCoord, 25); //Total 60 + } + } + else if (crystalValue >= 28) + { + if (meta < 2) + { + worldObj.setBlockMetadataWithNotify(xCoord, yCoord + 1, zCoord, 2, 3); + TheftValueTracker.updateCrystallinity(worldObj.provider.dimensionId, xCoord, zCoord, 15); //Total 35 + } + } + else if (crystalValue >= 8) + { + if (meta < 1) + { + worldObj.setBlockMetadataWithNotify(xCoord, yCoord + 1, zCoord, 1, 3); + TheftValueTracker.updateCrystallinity(worldObj.provider.dimensionId, xCoord, zCoord, 10); //Total 20 + } + } + } + else + { + worldObj.setBlock(xCoord, yCoord + 1, zCoord, TContent.lightCrystalBase.blockID, 0, 3); + TheftValueTracker.updateCrystallinity(worldObj.provider.dimensionId, xCoord, zCoord, 10); //Total 10 + } + } + if (active == false) + { + active = true; + worldObj.markBlockForUpdate(xCoord, yCoord, zCoord); + } + } + else + { + if (active == true) + { + active = false; + worldObj.markBlockForUpdate(xCoord, yCoord, zCoord); + } + } + } + }*/ + } + + boolean validBlock (Block block) + { + return block == TContent.lightCrystalBase; + } + + @Override + public boolean getActive () + { + return active; + } + + @Override + public void setActive (boolean flag) + { + active = flag; + } + + @Override + public void readFromNBT (NBTTagCompound tags) + { + super.readFromNBT(tags); + tags.setShort("Time", currentTime); + tags.setByte("Value", crystalValue); + readCustomNBT(tags); + } + + @Override + public void writeToNBT (NBTTagCompound tags) + { + super.writeToNBT(tags); + currentTime = tags.getShort("Time"); + crystalValue = tags.getByte("Value"); + writeCustomNBT(tags); + } + + public void readCustomNBT (NBTTagCompound tags) + { + active = tags.getBoolean("Active"); + } + + public void writeCustomNBT (NBTTagCompound tags) + { + tags.setBoolean("Active", active); + } + + /* Packets */ + @Override + public Packet getDescriptionPacket () + { + NBTTagCompound tag = new NBTTagCompound(); + writeToNBT(tag); + return new Packet132TileEntityData(xCoord, yCoord, zCoord, 1, tag); + } + + @Override + public void onDataPacket (INetworkManager net, Packet132TileEntityData packet) + { + readFromNBT(packet.customParam1); + worldObj.markBlockForRenderUpdate(xCoord, yCoord, zCoord); + } + + @SideOnly(Side.CLIENT) + public AxisAlignedBB getRenderBoundingBox() + { + AxisAlignedBB cbb = AxisAlignedBB.getAABBPool().getAABB(xCoord, yCoord - 1, zCoord, xCoord + 1, yCoord + 1, zCoord + 1); + return cbb; + } +} diff --git a/mods/tinker/tconstruct/client/TProxyClient.java b/mods/tinker/tconstruct/client/TProxyClient.java index 576639a9..fe1e9d89 100644 --- a/mods/tinker/tconstruct/client/TProxyClient.java +++ b/mods/tinker/tconstruct/client/TProxyClient.java @@ -13,6 +13,7 @@ import mods.tinker.tconstruct.TConstruct; import mods.tinker.tconstruct.blocks.logic.CastingBasinLogic; import mods.tinker.tconstruct.blocks.logic.CastingTableLogic; import mods.tinker.tconstruct.blocks.logic.DrawbridgeLogic; +import mods.tinker.tconstruct.blocks.logic.DryingRackLogic; import mods.tinker.tconstruct.blocks.logic.FrypanLogic; import mods.tinker.tconstruct.blocks.logic.GlowstoneAggregator; import mods.tinker.tconstruct.blocks.logic.PartCrafterLogic; @@ -25,6 +26,8 @@ import mods.tinker.tconstruct.client.block.BarricadeRender; import mods.tinker.tconstruct.client.block.CastingBasinSpecialRender; import mods.tinker.tconstruct.client.block.CastingTableSpecialRenderer; import mods.tinker.tconstruct.client.block.CrystalBlockRender; +import mods.tinker.tconstruct.client.block.DryingRackRender; +import mods.tinker.tconstruct.client.block.DryingRackSpecialRender; import mods.tinker.tconstruct.client.block.FluidRender; import mods.tinker.tconstruct.client.block.FrypanRender; import mods.tinker.tconstruct.client.block.GolemCoreRender; @@ -336,13 +339,15 @@ public class TProxyClient extends TProxyCommon RenderingRegistry.registerBlockHandler(new BarricadeRender()); RenderingRegistry.registerBlockHandler(new CrystalBlockRender()); RenderingRegistry.registerBlockHandler(new MachineRender()); + RenderingRegistry.registerBlockHandler(new DryingRackRender()); //RenderingRegistry.registerBlockHandler(new BrickRender()); //RenderingRegistry.registerBlockHandler(new BallRepeaterRender()); //Special Renderers ClientRegistry.bindTileEntitySpecialRenderer(CastingTableLogic.class, new CastingTableSpecialRenderer()); - //ClientRegistry.bindTileEntitySpecialRenderer(GolemCoreLogic.class, new GolemCoreSpecialRender()); ClientRegistry.bindTileEntitySpecialRenderer(CastingBasinLogic.class, new CastingBasinSpecialRender()); + ClientRegistry.bindTileEntitySpecialRenderer(DryingRackLogic.class, new DryingRackSpecialRender()); + //ClientRegistry.bindTileEntitySpecialRenderer(GolemCoreLogic.class, new GolemCoreSpecialRender()); //Entities RenderingRegistry.registerEntityRenderingHandler(FancyEntityItem.class, new FancyItemRender()); @@ -759,6 +764,7 @@ public class TProxyClient extends TProxyCommon { String[] partTypes = { "wood", "stone", "iron", "flint", "cactus", "bone", "obsidian", "netherrack", "slime", "paper", "cobalt", "ardite", "manyullyn", "copper", "bronze", "alumite", "steel", "blueslime" }; + String[] modPartTypes = { "thaumium" }; String[] effectTypes = { "diamond", "emerald", "redstone", "piston", "moss", "ice", "lava", "blaze", "necrotic", "electric", "lapis", "quartz", "silk", "beheading", "smite", "spider", "reinforced" }; int[] universalEffects = { 0, 1, 4, 9, 16 }; @@ -770,6 +776,11 @@ public class TProxyClient extends TProxyCommon { TConstructClientRegistry.addMaterialRenderMapping(partIter, "tinker", partTypes[partIter], true); } + + for (int iter = 0; iter < modPartTypes.length; iter++) + { + TConstructClientRegistry.addMaterialRenderMapping(31 + iter, "tinker", modPartTypes[iter], true); + } for (ToolCore tool : TConstructRegistry.getToolMapping()) { @@ -777,35 +788,6 @@ public class TProxyClient extends TProxyCommon { TConstructClientRegistry.addEffectRenderMapping(tool, i, "tinker", effectTypes[i], true); } - /*List list = Arrays.asList(tool.toolCategories()); - for (int i = 0; i < universalEffects.length; i++) - { - TConstructClientRegistry.addEffectRenderMapping(tool, universalEffects[i], "tinker", effectTypes[universalEffects[i]], true); - } - - if (list.contains("harvest") || list.contains("utility")) - { - for (int i = 0; i < harvestEffects.length; i++) - { - TConstructClientRegistry.addEffectRenderMapping(tool, harvestEffects[i], "tinker", effectTypes[harvestEffects[i]], true); - } - } - - if (list.contains("weapon")) - { - for (int i = 0; i < weaponEffects.length; i++) - { - TConstructClientRegistry.addEffectRenderMapping(tool, weaponEffects[i], "tinker", effectTypes[weaponEffects[i]], true); - } - } - - if (list.contains("weapon") || list.contains("harvest")) - { - for (int i = 0; i < nonUtility.length; i++) - { - TConstructClientRegistry.addEffectRenderMapping(tool, nonUtility[i], "tinker", effectTypes[nonUtility[i]], true); - } - }*/ } } diff --git a/mods/tinker/tconstruct/client/block/DryingRackRender.java b/mods/tinker/tconstruct/client/block/DryingRackRender.java new file mode 100644 index 00000000..202aeadb --- /dev/null +++ b/mods/tinker/tconstruct/client/block/DryingRackRender.java @@ -0,0 +1,106 @@ +package mods.tinker.tconstruct.client.block; + +import mods.tinker.tconstruct.client.TProxyClient; +import net.minecraft.block.Block; +import net.minecraft.client.renderer.RenderBlocks; +import net.minecraft.client.renderer.Tessellator; +import net.minecraft.world.IBlockAccess; + +import org.lwjgl.opengl.GL11; + +import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler; +import cpw.mods.fml.client.registry.RenderingRegistry; + +public class DryingRackRender implements ISimpleBlockRenderingHandler +{ + public static int model = RenderingRegistry.getNextAvailableRenderId(); + + @Override + public void renderInventoryBlock (Block block, int metadata, int modelID, RenderBlocks renderer) + { + if (modelID == model) + { + renderer.setRenderBounds(0.375F, 0.375F, 0.0F, 0.625F, 0.625F, 1.0F); + TProxyClient.renderStandardInvBlock(renderer, block, metadata); + } + } + + @Override + public boolean renderWorldBlock (IBlockAccess world, int x, int y, int z, Block block, int modelID, RenderBlocks renderer) + { + if (modelID == model) + { + int metadata = world.getBlockMetadata(x, y, z); + if (metadata == 0) + { + renderer.setRenderBounds(0.0F, 0.0, 0.375F, 1.0F, 0.25F, 0.625F); + } + if (metadata == 1) + { + renderer.setRenderBounds(0.375F, 0.0, 0.0f, 0.625F, 0.25F, 1F); + } + + if (metadata == 2) + { + renderer.setRenderBounds(0.0F, 0.75F, 0.75F, 1F, 1.0F, 1F); + } + if (metadata == 3) + { + renderer.setRenderBounds(0.0F, 0.75F, 0F, 1F, 1.0F, 0.25F); + } + if (metadata == 4) + { + renderer.setRenderBounds(0.75F, 0.75F, 0.0f, 1F, 1.0F, 1F); + } + if (metadata == 5) + { + renderer.setRenderBounds(0F, 0.75F, 0.0f, 0.25F, 1.0F, 1F); + } + renderer.renderStandardBlock(block, x, y, z); + } + return true; + } + + @Override + public boolean shouldRender3DInInventory () + { + return true; + } + + @Override + public int getRenderId () + { + return model; + } + + public static void renderStandardInvBlock (RenderBlocks renderblocks, Block block, int meta) + { + Tessellator tessellator = Tessellator.instance; + GL11.glTranslatef(-0.5F, -0.5F, -0.5F); + tessellator.startDrawingQuads(); + tessellator.setNormal(0.0F, -1F, 0.0F); + renderblocks.renderFaceYNeg(block, 0.0D, 0.0D, 0.0D, block.getIcon(0, meta)); + tessellator.draw(); + tessellator.startDrawingQuads(); + tessellator.setNormal(0.0F, 1.0F, 0.0F); + renderblocks.renderFaceYPos(block, 0.0D, 0.0D, 0.0D, block.getIcon(1, meta)); + tessellator.draw(); + tessellator.startDrawingQuads(); + tessellator.setNormal(0.0F, 0.0F, -1F); + renderblocks.renderFaceZNeg(block, 0.0D, 0.0D, 0.0D, block.getIcon(2, meta)); + tessellator.draw(); + tessellator.startDrawingQuads(); + tessellator.setNormal(0.0F, 0.0F, 1.0F); + renderblocks.renderFaceZPos(block, 0.0D, 0.0D, 0.0D, block.getIcon(3, meta)); + tessellator.draw(); + tessellator.startDrawingQuads(); + tessellator.setNormal(-1F, 0.0F, 0.0F); + renderblocks.renderFaceXNeg(block, 0.0D, 0.0D, 0.0D, block.getIcon(4, meta)); + tessellator.draw(); + tessellator.startDrawingQuads(); + tessellator.setNormal(1.0F, 0.0F, 0.0F); + renderblocks.renderFaceXPos(block, 0.0D, 0.0D, 0.0D, block.getIcon(5, meta)); + tessellator.draw(); + GL11.glTranslatef(0.5F, 0.5F, 0.5F); + } +} diff --git a/mods/tinker/tconstruct/client/block/DryingRackSpecialRender.java b/mods/tinker/tconstruct/client/block/DryingRackSpecialRender.java new file mode 100644 index 00000000..f6c4ef4e --- /dev/null +++ b/mods/tinker/tconstruct/client/block/DryingRackSpecialRender.java @@ -0,0 +1,88 @@ +package mods.tinker.tconstruct.client.block; + +import mods.tinker.tconstruct.blocks.logic.DryingRackLogic; +import mods.tinker.tconstruct.entity.FancyEntityItem; +import net.minecraft.client.renderer.entity.RenderItem; +import net.minecraft.client.renderer.entity.RenderManager; +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.item.ItemBlock; +import net.minecraft.item.ItemStack; +import net.minecraft.tileentity.TileEntity; + +import org.lwjgl.opengl.GL11; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; + +/* Special renderer, only used for drawing tools */ + +@SideOnly(Side.CLIENT) +public class DryingRackSpecialRender extends TileEntitySpecialRenderer +{ + @Override + public void renderTileEntityAt (TileEntity logic, double var2, double var4, double var6, float var8) + { + //System.out.println("Render!!!"); + this.render((DryingRackLogic) logic, var2, var4, var6, var8); + } + + public void render (DryingRackLogic logic, double posX, double posY, double posZ, float var8) + { + GL11.glPushMatrix(); + float var10 = (float) (posX - 0.5F); + float var11 = (float) (posY - 0.5F); + float var12 = (float) (posZ - 0.5F); + GL11.glTranslatef(var10, var11, var12); + this.func_82402_b(logic); + GL11.glPopMatrix(); + } + + private void func_82402_b (DryingRackLogic logic) + { + ItemStack stack = logic.getStackInSlot(0); + + if (stack != null) + renderItem(logic, stack); + } + + void renderItem (DryingRackLogic logic, ItemStack stack) + { + FancyEntityItem entityitem = new FancyEntityItem(logic.worldObj, 0.0D, 0.0D, 0.0D, stack); + entityitem.getEntityItem().stackSize = 1; + entityitem.hoverStart = 0.0F; + GL11.glPushMatrix(); + int meta = logic.worldObj.getBlockMetadata(logic.xCoord, logic.yCoord, logic.zCoord); + if (meta <= 1) + GL11.glTranslatef(1F, -0.375F, 0.905F); + else + { + GL11.glTranslatef(1F, 0.375F, 0.905F); + + if (meta / 2 == 2) + { + GL11.glRotatef(90F, 0F, 1F, 0F); + GL11.glTranslatef(-0.0625F, 0F, 0F); + } + if (meta == 2) + GL11.glTranslatef(0F, 0F, 0.375F); + if (meta == 3) + GL11.glTranslatef(0F, 0F, -0.375F); + if (meta == 4) + GL11.glTranslatef(0F, 0F, 0.2875F); + if (meta == 5) + GL11.glTranslatef(0F, 0F, -0.5F); + } + GL11.glScalef(2F, 2F, 2F); + if (stack.getItem() instanceof ItemBlock) + { + //GL11.glRotatef(90F, -1, 0F, 0F); + GL11.glTranslatef(0F, 0.2125F, 0.0375F); + } + + RenderItem.renderInFrame = true; + RenderManager.instance.renderEntityWithPosYaw(entityitem, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F); + RenderItem.renderInFrame = false; + + GL11.glPopMatrix(); + } +} diff --git a/mods/tinker/tconstruct/common/TContent.java b/mods/tinker/tconstruct/common/TContent.java index abaf883d..c08e7587 100644 --- a/mods/tinker/tconstruct/common/TContent.java +++ b/mods/tinker/tconstruct/common/TContent.java @@ -4,6 +4,7 @@ import java.util.Collection; import mods.tinker.tconstruct.TConstruct; import mods.tinker.tconstruct.blocks.Aggregator; +import mods.tinker.tconstruct.blocks.DryingRack; import mods.tinker.tconstruct.blocks.EquipBlock; import mods.tinker.tconstruct.blocks.GlassBlock; import mods.tinker.tconstruct.blocks.GlassBlockStained; @@ -28,6 +29,7 @@ import mods.tinker.tconstruct.blocks.ToolStationBlock; import mods.tinker.tconstruct.blocks.logic.CastingBasinLogic; import mods.tinker.tconstruct.blocks.logic.CastingTableLogic; import mods.tinker.tconstruct.blocks.logic.DrawbridgeLogic; +import mods.tinker.tconstruct.blocks.logic.DryingRackLogic; import mods.tinker.tconstruct.blocks.logic.FaucetLogic; import mods.tinker.tconstruct.blocks.logic.FirestarterLogic; import mods.tinker.tconstruct.blocks.logic.FrypanLogic; @@ -244,6 +246,7 @@ public class TContent implements IFuelHandler public static Block metalBlock; public static Block redstoneMachine; + public static Block dryingRack; //Decoration public static Block stoneTorch; @@ -443,6 +446,10 @@ public class TContent implements IFuelHandler GameRegistry.registerTileEntity(DrawbridgeLogic.class, "Drawbridge"); GameRegistry.registerTileEntity(FirestarterLogic.class, "Firestarter"); + dryingRack = new DryingRack(PHConstruct.dryingRack).setUnlocalizedName("Armor.DryingRack"); + GameRegistry.registerBlock(dryingRack, "Armor.DryingRack"); + GameRegistry.registerTileEntity(DryingRackLogic.class, "Armor.DryingRack"); + //Traps /*landmine = new Landmine(PHConstruct.landmine, 0, EnumMobType.mobs, Material.cactus).setUnlocalizedName("landmine"); GameRegistry.registerBlock(landmine, "landmine");*/ @@ -545,8 +552,8 @@ public class TContent implements IFuelHandler blankPattern = new CraftingItem(PHConstruct.blankPattern, blanks, blanks, "materials/").setUnlocalizedName("tconstruct.Pattern"); materials = new MaterialItem(PHConstruct.materials).setUnlocalizedName("tconstruct.Materials"); - toolRod = new ToolPart(PHConstruct.toolRod, "ToolRod", "_rod").setUnlocalizedName("tconstruct.ToolRod"); - toolShard = new ToolShard(PHConstruct.toolShard, "ToolShard", "_chunk").setUnlocalizedName("tconstruct.ToolShard"); + toolRod = new ToolPart(PHConstruct.toolRod, "_rod").setUnlocalizedName("tconstruct.ToolRod"); + toolShard = new ToolShard(PHConstruct.toolShard, "_chunk").setUnlocalizedName("tconstruct.ToolShard"); woodPattern = new Pattern(PHConstruct.woodPattern, "WoodPattern", "pattern_", "materials/").setUnlocalizedName("tconstruct.Pattern"); metalPattern = new MetalPattern(PHConstruct.metalPattern, "MetalPattern", "cast_", "materials/").setUnlocalizedName("tconstruct.MetalPattern"); //netherPattern = new Pattern(PHTools.netherPattern, 128, patternTexture).setUnlocalizedName("tconstruct.Pattern"); @@ -602,30 +609,30 @@ public class TContent implements IFuelHandler potionLauncher = new PotionLauncher(PHConstruct.potionLauncher).setUnlocalizedName("tconstruct.PotionLauncher"); - pickaxeHead = new ToolPart(PHConstruct.pickaxeHead, "PickaxeHead", "_pickaxe_head").setUnlocalizedName("tconstruct.PickaxeHead"); - shovelHead = new ToolPart(PHConstruct.shovelHead, "ShovelHead", "_shovel_head").setUnlocalizedName("tconstruct.ShovelHead"); - hatchetHead = new ToolPart(PHConstruct.axeHead, "AxeHead", "_axe_head").setUnlocalizedName("tconstruct.AxeHead"); - binding = new ToolPart(PHConstruct.binding, "Binding", "_binding").setUnlocalizedName("tconstruct.Binding"); - toughBinding = new ToolPart(PHConstruct.toughBinding, "ThickBinding", "_toughbind").setUnlocalizedName("tconstruct.ThickBinding"); - toughRod = new ToolPart(PHConstruct.toughRod, "ThickRod", "_toughrod").setUnlocalizedName("tconstruct.ThickRod"); - heavyPlate = new ToolPart(PHConstruct.largePlate, "LargePlate", "_largeplate").setUnlocalizedName("tconstruct.LargePlate"); + pickaxeHead = new ToolPart(PHConstruct.pickaxeHead, "_pickaxe_head").setUnlocalizedName("tconstruct.PickaxeHead"); + shovelHead = new ToolPart(PHConstruct.shovelHead, "_shovel_head").setUnlocalizedName("tconstruct.ShovelHead"); + hatchetHead = new ToolPart(PHConstruct.axeHead, "_axe_head").setUnlocalizedName("tconstruct.AxeHead"); + binding = new ToolPart(PHConstruct.binding, "_binding").setUnlocalizedName("tconstruct.Binding"); + toughBinding = new ToolPart(PHConstruct.toughBinding, "_toughbind").setUnlocalizedName("tconstruct.ThickBinding"); + toughRod = new ToolPart(PHConstruct.toughRod, "_toughrod").setUnlocalizedName("tconstruct.ThickRod"); + heavyPlate = new ToolPart(PHConstruct.largePlate, "_largeplate").setUnlocalizedName("tconstruct.LargePlate"); - swordBlade = new ToolPart(PHConstruct.swordBlade, "SwordBlade", "_sword_blade").setUnlocalizedName("tconstruct.SwordBlade"); - wideGuard = new ToolPart(PHConstruct.largeGuard, "LargeGuard", "_large_guard").setUnlocalizedName("tconstruct.LargeGuard"); - handGuard = new ToolPart(PHConstruct.medGuard, "MediumGuard", "_medium_guard").setUnlocalizedName("tconstruct.MediumGuard"); - crossbar = new ToolPart(PHConstruct.crossbar, "Crossbar", "_crossbar").setUnlocalizedName("tconstruct.Crossbar"); - knifeBlade = new ToolPart(PHConstruct.knifeBlade, "KnifeBlade", "_knife_blade").setUnlocalizedName("tconstruct.KnifeBlade"); - fullGuard = new ToolPartHidden(PHConstruct.fullGuard, "FullGuard", "_full_guard").setUnlocalizedName("tconstruct.FullGuard"); + swordBlade = new ToolPart(PHConstruct.swordBlade, "_sword_blade").setUnlocalizedName("tconstruct.SwordBlade"); + wideGuard = new ToolPart(PHConstruct.largeGuard, "_large_guard").setUnlocalizedName("tconstruct.LargeGuard"); + handGuard = new ToolPart(PHConstruct.medGuard, "_medium_guard").setUnlocalizedName("tconstruct.MediumGuard"); + crossbar = new ToolPart(PHConstruct.crossbar, "_crossbar").setUnlocalizedName("tconstruct.Crossbar"); + knifeBlade = new ToolPart(PHConstruct.knifeBlade, "_knife_blade").setUnlocalizedName("tconstruct.KnifeBlade"); + fullGuard = new ToolPartHidden(PHConstruct.fullGuard, "_full_guard").setUnlocalizedName("tconstruct.FullGuard"); - frypanHead = new ToolPart(PHConstruct.frypanHead, "FrypanHead", "_frypan_head").setUnlocalizedName("tconstruct.FrypanHead"); - signHead = new ToolPart(PHConstruct.signHead, "SignHead", "_battlesign_head").setUnlocalizedName("tconstruct.SignHead"); - chiselHead = new ToolPart(PHConstruct.chiselHead, "ChiselHead", "_chisel_head").setUnlocalizedName("tconstruct.ChiselHead"); + frypanHead = new ToolPart(PHConstruct.frypanHead, "_frypan_head").setUnlocalizedName("tconstruct.FrypanHead"); + signHead = new ToolPart(PHConstruct.signHead, "_battlesign_head").setUnlocalizedName("tconstruct.SignHead"); + chiselHead = new ToolPart(PHConstruct.chiselHead, "_chisel_head").setUnlocalizedName("tconstruct.ChiselHead"); - scytheBlade = new ToolPart(PHConstruct.scytheBlade, "ScytheBlade", "_scythe_head").setUnlocalizedName("tconstruct.ScytheBlade"); - broadAxeHead = new ToolPart(PHConstruct.lumberHead, "LumberHead", "_lumberaxe_head").setUnlocalizedName("tconstruct.LumberHead"); - excavatorHead = new ToolPart(PHConstruct.excavatorHead, "ExcavatorHead", "_excavator_head").setUnlocalizedName("tconstruct.ExcavatorHead"); - largeSwordBlade = new ToolPart(PHConstruct.largeSwordBlade, "LargeSwordBlade", "_large_sword_blade").setUnlocalizedName("tconstruct.LargeSwordBlade"); - hammerHead = new ToolPart(PHConstruct.hammerHead, "HammerHead", "_hammer_head").setUnlocalizedName("tconstruct.HammerHead"); + scytheBlade = new ToolPart(PHConstruct.scytheBlade, "_scythe_head").setUnlocalizedName("tconstruct.ScytheBlade"); + broadAxeHead = new ToolPart(PHConstruct.lumberHead, "_lumberaxe_head").setUnlocalizedName("tconstruct.LumberHead"); + excavatorHead = new ToolPart(PHConstruct.excavatorHead, "_excavator_head").setUnlocalizedName("tconstruct.ExcavatorHead"); + largeSwordBlade = new ToolPart(PHConstruct.largeSwordBlade, "_large_sword_blade").setUnlocalizedName("tconstruct.LargeSwordBlade"); + hammerHead = new ToolPart(PHConstruct.hammerHead, "_hammer_head").setUnlocalizedName("tconstruct.HammerHead"); Item[] toolParts = { toolRod, toolShard, pickaxeHead, shovelHead, hatchetHead, binding, toughBinding, toughRod, heavyPlate, swordBlade, wideGuard, handGuard, crossbar, knifeBlade, fullGuard, frypanHead, signHead, chiselHead, scytheBlade, broadAxeHead, excavatorHead, largeSwordBlade, hammerHead }; @@ -685,12 +692,12 @@ public class TContent implements IFuelHandler Item.minecartEmpty.setMaxStackSize(3); Item.minecartCrate.setMaxStackSize(3); Item.minecartPowered.setMaxStackSize(3); - Block.torchWood.setTickRandomly(false); + //Block.torchWood.setTickRandomly(false); } void registerMaterials () { - TConstructRegistry.addToolMaterial(0, "Wood", 0, 59, 200, 0, 1.0F, 0, 0f, "\u00A7e", ""); + TConstructRegistry.addToolMaterial(0, "Wood", "Wooden ", 0, 59, 200, 0, 1.0F, 0, 0f, "\u00A7e", ""); TConstructRegistry.addToolMaterial(1, "Stone", 1, 131, 400, 1, 0.5F, 0, 1f, "", "Stonebound"); TConstructRegistry.addToolMaterial(2, "Iron", 2, 250, 600, 2, 1.3F, 1, 0f, "\u00A7f", ""); TConstructRegistry.addToolMaterial(3, "Flint", 1, 171, 525, 2, 0.7F, 0, 1f, "\u00A78", "Stonebound"); @@ -707,10 +714,7 @@ public class TContent implements IFuelHandler TConstructRegistry.addToolMaterial(14, "Bronze", 2, 350, 700, 2, 1.3F, 1, 0f, "\u00A76", ""); TConstructRegistry.addToolMaterial(15, "Alumite", 4, 550, 800, 3, 1.3F, 2, 0f, "\u00A7d", ""); TConstructRegistry.addToolMaterial(16, "Steel", 4, 750, 800, 3, 1.3F, 2, 0f, "", ""); - TConstructRegistry.addToolMaterial(17, "BlueSlime", 1, 500, 150, 0, 1.5F, 0, 0f, "\u00A7b", ""); - - //Thaumcraft - //TConstructRegistry.addToolMaterial(21, "Thaumium", 2, 250, 600, 2, 1.3F, 1, 0f, "", ""); + TConstructRegistry.addToolMaterial(17, "BlueSlime", "Slime ", 1, 500, 150, 0, 1.5F, 0, 0f, "\u00A7b", ""); /*//Metallurgy TConstructRegistry.addToolMaterial(22, "Heptazion", 2, 2, 300, 800, 1, 1.0F, 0, 0f); @@ -792,7 +796,6 @@ public class TContent implements IFuelHandler { TConstructRegistry.addPartMapping(woodPattern.itemID, meta + 1, mat, new ItemStack(patternOutputs[meta], 1, mat)); } - TConstructRegistry.addPartMapping(woodPattern.itemID, 22, mat, new ItemStack(fullGuard, 1, mat)); } } else @@ -803,7 +806,6 @@ public class TContent implements IFuelHandler { TConstructRegistry.addPartMapping(woodPattern.itemID, meta + 1, nonMetals[mat], new ItemStack(patternOutputs[meta], 1, nonMetals[mat])); } - TConstructRegistry.addPartMapping(woodPattern.itemID, 22, nonMetals[mat], new ItemStack(fullGuard, 1, nonMetals[mat])); } } @@ -990,7 +992,7 @@ public class TContent implements IFuelHandler Smeltery.addMelting(new ItemStack(Item.ingotIron, 4), Block.blockIron.blockID, 0, 500, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue, 0)); Smeltery.addMelting(new ItemStack(Item.ingotGold, 4), Block.blockGold.blockID, 0, 300, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue, 1)); Smeltery.addMelting(new ItemStack(Item.goldNugget, 4), Block.blockGold.blockID, 0, 150, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue / 9, 1)); - + Smeltery.addMelting(new ItemStack(materials, 1, 18), Block.obsidian.blockID, 0, 750, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue, 11)); //Obsidian ingot Smeltery.addMelting(new ItemStack(blankPattern, 4, 1), metalBlock.blockID, 7, 150, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue, 8)); @@ -1035,7 +1037,7 @@ public class TContent implements IFuelHandler Smeltery.addMelting(new ItemStack(Item.plateChain, 1, 0), this.metalBlock.blockID, 9, 700, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue * 2, 12)); Smeltery.addMelting(new ItemStack(Item.legsChain, 1, 0), this.metalBlock.blockID, 9, 700, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue * 2, 12)); Smeltery.addMelting(new ItemStack(Item.bootsChain, 1, 0), this.metalBlock.blockID, 9, 700, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue, 12)); - + //Vanilla tools Smeltery.addMelting(new ItemStack(Item.hoeIron, 1, 0), Block.blockIron.blockID, 0, 600, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue * 2, 0)); Smeltery.addMelting(new ItemStack(Item.swordIron, 1, 0), Block.blockIron.blockID, 0, 600, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue * 2, 0)); @@ -1052,7 +1054,7 @@ public class TContent implements IFuelHandler Smeltery.addMelting(new ItemStack(Item.flintAndSteel, 1, 0), Block.blockIron.blockID, 0, 600, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue, 0)); Smeltery.addMelting(new ItemStack(Item.compass, 1, 0), Block.blockIron.blockID, 0, 600, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue * 4, 0)); - + //Vanilla blocks Smeltery.addMelting(new ItemStack(Item.bucketEmpty), Block.blockIron.blockID, 0, 600, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue * 3, 0)); Smeltery.addMelting(new ItemStack(Item.minecartEmpty), Block.blockIron.blockID, 8, 600, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue * 5, 0)); @@ -1065,10 +1067,10 @@ public class TContent implements IFuelHandler Smeltery.addMelting(new ItemStack(Block.railDetector), Block.blockIron.blockID, 8, 600, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue, 0)); Smeltery.addMelting(new ItemStack(Block.railActivator), Block.blockIron.blockID, 8, 600, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue, 0)); Smeltery.addMelting(new ItemStack(Block.enchantmentTable), Block.obsidian.blockID, 0, 750, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue * 4, 11)); - Smeltery.addMelting(new ItemStack(Block.cauldron), Block.blockIron.blockID, 8, 600, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue*7, 0)); - Smeltery.addMelting(new ItemStack(Block.anvil, 1, 0), Block.blockIron.blockID, 8, 800, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue*31, 0)); - Smeltery.addMelting(new ItemStack(Block.anvil, 1, 1), Block.blockIron.blockID, 8, 800, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue*31, 0)); - Smeltery.addMelting(new ItemStack(Block.anvil, 1, 2), Block.blockIron.blockID, 8, 800, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue*31, 0)); + Smeltery.addMelting(new ItemStack(Block.cauldron), Block.blockIron.blockID, 8, 600, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue * 7, 0)); + Smeltery.addMelting(new ItemStack(Block.anvil, 1, 0), Block.blockIron.blockID, 8, 800, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue * 31, 0)); + Smeltery.addMelting(new ItemStack(Block.anvil, 1, 1), Block.blockIron.blockID, 8, 800, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue * 31, 0)); + Smeltery.addMelting(new ItemStack(Block.anvil, 1, 2), Block.blockIron.blockID, 8, 800, new LiquidStack(liquidMetalStill.blockID, TConstruct.ingotLiquidValue * 31, 0)); /* Detailing */ Detailing chiseling = TConstructRegistry.getChiselDetailing(); @@ -1153,9 +1155,9 @@ public class TContent implements IFuelHandler 'r', new ItemStack(Item.redstone), 'd', new ItemStack(Block.dispenser))); //Drawbridge GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(redstoneMachine, 1, 0), "aca", "#d#", "#r#", '#', "ingotBronze", 'a', "ingotAluminumBrass", 'c', new ItemStack(blankPattern, 1, 2), 'r', new ItemStack(Item.redstone), 'd', new ItemStack(Block.dispenser))); - - GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(redstoneMachine, 1, 1), "aca", "#d#", "#r#", '#', "ingotBronze", 'a', "ingotAluminumBrass", 'c', new ItemStack(heavyPlate, 1, 7), - 'r', new ItemStack(Item.redstone), 'd', new ItemStack(Item.flintAndSteel))); //Igniter + + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(redstoneMachine, 1, 1), "aca", "#d#", "#r#", '#', "ingotBronze", 'a', "ingotAluminumBrass", 'c', new ItemStack(heavyPlate, 1, 7), 'r', + new ItemStack(Item.redstone), 'd', new ItemStack(Item.flintAndSteel))); //Igniter /* Crafting */ GameRegistry.addRecipe(new ItemStack(toolStationWood, 1, 0), "p", "w", 'p', new ItemStack(blankPattern, 1, 0), 'w', Block.workbench); @@ -1287,6 +1289,9 @@ public class TContent implements IFuelHandler GameRegistry.addRecipe(new ItemStack(knapsack, 1, 0), "###", "rmr", "###", '#', new ItemStack(Item.leather), 'r', new ItemStack(toughRod, 1, 2), 'm', new ItemStack(Item.ingotGold)); GameRegistry.addRecipe(new ItemStack(knapsack, 1, 0), "###", "rmr", "###", '#', new ItemStack(Item.leather), 'r', new ItemStack(toughRod, 1, 2), 'm', new ItemStack(materials, 1, 14)); + //Armor + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(dryingRack, 1, 0), "bbb", 'b', "slabWood")); + //Remove vanilla recipes if (!PHConstruct.vanillaMetalBlocks) { @@ -1407,7 +1412,7 @@ public class TContent implements IFuelHandler OreDictionary.registerOre("nuggetAluminumBrass", new ItemStack(materials, 1, 24)); String[] names = new String[] { "Molten Iron", "Molten Gold", "Molten Copper", "Molten Tin", "Molten Aluminum", "Molten Cobalt", "Molten Ardite", "Molten Bronze", "Molten Aluminum Brass", - "Molten Manyullyn", "Molten Alumite", "Molten Obsidian", "Molten Steel", "Molten Glass", "Seared Stone", "Liquified Emerald", "Blood" }; + "Molten Manyullyn", "Molten Alumite", "Molten Obsidian", "Molten Steel", "Molten Glass", "Seared Stone", "Molten Emerald", "mushroomsoup" }; liquidIcons = new LiquidStack[names.length]; liquidNames = new String[names.length]; for (int iter = 0; iter < names.length; iter++) @@ -1426,7 +1431,7 @@ public class TContent implements IFuelHandler { OreDictionary.registerOre(glassTypes[15 - i], new ItemStack(stainedGlassClear, 1, i)); } - + BlockDispenser.dispenseBehaviorRegistry.putObject(titleIcon, new TDispenserBehaviorSpawnEgg()); //Vanilla stuff @@ -1479,7 +1484,21 @@ public class TContent implements IFuelHandler TConstructClientRegistry.registerManualModifier("electricmod", ironpick.copy(), chargedReBattery, electronicCircuit); /* Thaumcraft */ - //Object obj = getItem("itemResource", "thaumcraft.common.Config"); + Object obj = getItem("itemResource", "thaumcraft.common.Config"); + if (obj != null) + { + System.out.println("[TConstruct] Thaumcraft detected. Adding thaumium tools."); + TConstructRegistry.addToolMaterial(31, "Thaumium", 3, 400, 700, 2, 1.3F, 2, 0f, "\u00A75", "Thaumic"); + PatternBuilder.instance.registerFullMaterial(new ItemStack((Item) obj, 1, 2), 2, "Thaumium", new ItemStack(toolShard, 1, 31), new ItemStack(toolRod, 1, 31), 31); + for (int meta = 0; meta < patternOutputs.length; meta++) + { + TConstructRegistry.addPartMapping(woodPattern.itemID, meta + 1, 31, new ItemStack(patternOutputs[meta], 1, 31)); + } + } + else + { + System.out.println("[TConstruct] Thaumcraft not detected."); + } } public static Object getItem (String name, String classPackage) @@ -1494,7 +1513,7 @@ public class TContent implements IFuelHandler } catch (Exception e) { - System.out.println("[TConstruct] Could not find item for " + name); + //System.out.println("[TConstruct] Could not find " + name); return null; } } diff --git a/mods/tinker/tconstruct/common/TProxyCommon.java b/mods/tinker/tconstruct/common/TProxyCommon.java index 335ab32f..593adca6 100644 --- a/mods/tinker/tconstruct/common/TProxyCommon.java +++ b/mods/tinker/tconstruct/common/TProxyCommon.java @@ -205,7 +205,7 @@ public class TProxyCommon implements IGuiHandler "Copper Nugget", "Tin Nugget", "Aluminum Nugget", "Silver Nugget" };*/ public static final String[] toolMaterialNames = new String[] { "Wood", "Stone", "Iron", "Flint", "Cactus", "Bone", "Obsidian", "Netherrack", "Slime", "Paper", "Cobalt", "Ardite", "Manyullyn", - "Copper", "Bronze", "Alumite", "Steel", "Blue Slime" }; + "Copper", "Bronze", "Alumite", "Steel", "Blue Slime", "", "", "", "", "", "", "", "", "", "", "", "", "", "Thaumium" }; public static final String[] materialTypes = new String[] { "ToolRod", "PickaxeHead", "ShovelHead", "AxeHead", "SwordBlade", "LargeGuard", "MediumGuard", "Crossbar", "Binding", "FrypanHead", "SignHead", "LumberHead", "KnifeBlade", "ChiselHead", "ScytheBlade", "LumberHead", "ThickRod", "ThickBinding", "LargeSwordBlade", "LargePlate", "ExcavatorHead", "HammerHead", "FullGuard" }; diff --git a/mods/tinker/tconstruct/items/CraftingItem.java b/mods/tinker/tconstruct/items/CraftingItem.java index 0d6542ec..d086c3fa 100644 --- a/mods/tinker/tconstruct/items/CraftingItem.java +++ b/mods/tinker/tconstruct/items/CraftingItem.java @@ -14,49 +14,52 @@ import cpw.mods.fml.relauncher.SideOnly; public class CraftingItem extends Item { - public String[] textureNames; - public String[] unlocalizedNames; - public String folder; - public Icon[] icons; - public CraftingItem(int id, String[] names, String[] tex, String folder) - { - super(id); - this.setCreativeTab(TConstructRegistry.materialTab); - this.setMaxDamage(0); - this.setHasSubtypes(true); - this.textureNames = tex; - this.unlocalizedNames = names; - this.folder = folder; - } + public String[] textureNames; + public String[] unlocalizedNames; + public String folder; + public Icon[] icons; - @SideOnly(Side.CLIENT) - public Icon getIconFromDamage(int meta) - { - int arr = MathHelper.clamp_int(meta, 0, unlocalizedNames.length); - return icons[arr]; - } - - @SideOnly(Side.CLIENT) - @Override - public void registerIcons(IconRegister iconRegister) + public CraftingItem(int id, String[] names, String[] tex, String folder) { - this.icons = new Icon[textureNames.length]; + super(id); + this.setCreativeTab(TConstructRegistry.materialTab); + this.setMaxDamage(0); + this.setHasSubtypes(true); + this.textureNames = tex; + this.unlocalizedNames = names; + this.folder = folder; + } + + @SideOnly(Side.CLIENT) + public Icon getIconFromDamage (int meta) + { + int arr = MathHelper.clamp_int(meta, 0, unlocalizedNames.length); + return icons[arr]; + } + + @SideOnly(Side.CLIENT) + @Override + public void registerIcons (IconRegister iconRegister) + { + this.icons = new Icon[textureNames.length]; for (int i = 0; i < this.icons.length; ++i) { - this.icons[i] = iconRegister.registerIcon("tinker:"+folder+textureNames[i]); + if (!(textureNames[i].equals(""))) + this.icons[i] = iconRegister.registerIcon("tinker:" + folder + textureNames[i]); } } - - public String getUnlocalizedName(ItemStack stack) - { - int arr = MathHelper.clamp_int(stack.getItemDamage(), 0, unlocalizedNames.length); - return getUnlocalizedName() + "." +unlocalizedNames[arr]; - } - public void getSubItems (int id, CreativeTabs tab, List list) - { - for (int i = 0; i < unlocalizedNames.length; i++) - list.add(new ItemStack(id, 1, i)); - } + public String getUnlocalizedName (ItemStack stack) + { + int arr = MathHelper.clamp_int(stack.getItemDamage(), 0, unlocalizedNames.length); + return getUnlocalizedName() + "." + unlocalizedNames[arr]; + } + + public void getSubItems (int id, CreativeTabs tab, List list) + { + for (int i = 0; i < unlocalizedNames.length; i++) + if (!(textureNames[i].equals(""))) + list.add(new ItemStack(id, 1, i)); + } } diff --git a/mods/tinker/tconstruct/items/ToolPart.java b/mods/tinker/tconstruct/items/ToolPart.java index 94739696..4c98bd81 100644 --- a/mods/tinker/tconstruct/items/ToolPart.java +++ b/mods/tinker/tconstruct/items/ToolPart.java @@ -1,6 +1,5 @@ package mods.tinker.tconstruct.items; - import java.util.List; import cpw.mods.fml.relauncher.Side; @@ -13,44 +12,48 @@ import net.minecraft.item.ItemStack; import net.minecraft.util.Icon; import net.minecraft.util.MathHelper; -public class ToolPart extends CraftingItem - implements IToolPart +public class ToolPart extends CraftingItem implements IToolPart { - public ToolPart(int id, String partType, String textureType) - { - super(id, toolMaterialNames, buildTextureNames(textureType), "parts/"); - this.setHasSubtypes(true); - this.setMaxDamage(0); - } + public ToolPart(int id, String textureType) + { + super(id, toolMaterialNames, buildTextureNames(textureType), "parts/"); + this.setHasSubtypes(true); + this.setMaxDamage(0); + } - private static String[] buildTextureNames (String textureType) - { - String[] names = new String[toolMaterialNames.length]; - for (int i = 0; i < toolMaterialNames.length; i++) - names[i] = toolTextureNames[i]+textureType; - return names; - } - - /*@SideOnly(Side.CLIENT) + private static String[] buildTextureNames (String textureType) + { + String[] names = new String[toolMaterialNames.length]; + for (int i = 0; i < toolMaterialNames.length; i++) + { + if (toolTextureNames[i].equals("")) + names[i] = ""; + else + names[i] = toolTextureNames[i] + textureType; + } + return names; + } + + /*@SideOnly(Side.CLIENT) public void registerIcons(IconRegister iconRegister) { - this.icons = new Icon[textureNames.length]; + this.icons = new Icon[textureNames.length]; for (int i = 0; i < this.icons.length; ++i) { this.icons[i] = iconRegister.registerIcon("tinker:parts/"+textureNames[i]); } }*/ - - public static final String[] toolMaterialNames = new String[] { - "Wood", "Stone", "Iron", "Flint", "Cactus", "Bone", "Obsidian", "Netherrack", "Slime", "Paper", "Cobalt", "Ardite", "Manyullyn", "Copper", "Bronze", "Alumite", "Steel", "Blue Slime" }; - - public static final String[] toolTextureNames = new String[] { - "wood", "stone", "iron", "flint", "cactus", "bone", "obsidian", "netherrack", "slime", "paper", "cobalt", "ardite", "manyullyn", "copper", "bronze", "alumite", "steel", "blueslime" }; - @Override - public int getMaterialID (ItemStack stack) - { - return stack.getItemDamage(); - } + public static final String[] toolMaterialNames = new String[] { "Wood", "Stone", "Iron", "Flint", "Cactus", "Bone", "Obsidian", "Netherrack", "Slime", "Paper", "Cobalt", "Ardite", "Manyullyn", + "Copper", "Bronze", "Alumite", "Steel", "Blue Slime", "", "", "", "", "", "", "", "", "", "", "", "", "", "Thaumium" }; + + public static final String[] toolTextureNames = new String[] { "wood", "stone", "iron", "flint", "cactus", "bone", "obsidian", "netherrack", "slime", "paper", "cobalt", "ardite", "manyullyn", + "copper", "bronze", "alumite", "steel", "blueslime", "", "", "", "", "", "", "", "", "", "", "", "", "", "thaumium" }; + + @Override + public int getMaterialID (ItemStack stack) + { + return stack.getItemDamage(); + } } diff --git a/mods/tinker/tconstruct/items/ToolPartHidden.java b/mods/tinker/tconstruct/items/ToolPartHidden.java index 874a2f49..a3320196 100644 --- a/mods/tinker/tconstruct/items/ToolPartHidden.java +++ b/mods/tinker/tconstruct/items/ToolPartHidden.java @@ -7,9 +7,9 @@ import net.minecraft.creativetab.CreativeTabs; public class ToolPartHidden extends ToolPart { - public ToolPartHidden(int id, String partType, String textureType) + public ToolPartHidden(int id, String textureType) { - super(id, partType, textureType); + super(id, textureType); } public void getSubItems (int id, CreativeTabs tab, List list) diff --git a/mods/tinker/tconstruct/items/ToolShard.java b/mods/tinker/tconstruct/items/ToolShard.java index 3d9fd322..ea15b9ee 100644 --- a/mods/tinker/tconstruct/items/ToolShard.java +++ b/mods/tinker/tconstruct/items/ToolShard.java @@ -13,49 +13,50 @@ import net.minecraft.util.Icon; public class ToolShard extends ToolPart { - public ToolShard(int id, String part, String tex) - { - super(id, part, tex); - this.setHasSubtypes(true); - this.setMaxDamage(0); - } - - private static String[] buildTextureNames (String textureType) + public ToolShard(int id, String tex) + { + super(id, tex); + this.setHasSubtypes(true); + this.setMaxDamage(0); + } + + private static String[] buildTextureNames (String textureType) { String[] names = new String[toolMaterialNames.length]; for (int i = 0; i < toolMaterialNames.length; i++) - names[i] = toolTextureNames[i]+textureType; + names[i] = toolTextureNames[i] + textureType; return names; } - - @SideOnly(Side.CLIENT) - public void registerIcons(IconRegister iconRegister) + + @SideOnly(Side.CLIENT) + public void registerIcons (IconRegister iconRegister) { this.icons = new Icon[textureNames.length]; for (int i = 0; i < 5; ++i) { - this.icons[i] = iconRegister.registerIcon("tinker:"+folder+textureNames[i]); + this.icons[i] = iconRegister.registerIcon("tinker:" + folder + textureNames[i]); } icons[5] = icons[4]; for (int i = 6; i < 9; ++i) { - this.icons[i] = iconRegister.registerIcon("tinker:"+folder+textureNames[i]); + this.icons[i] = iconRegister.registerIcon("tinker:" + folder + textureNames[i]); } icons[9] = icons[8]; for (int i = 10; i < icons.length; ++i) { - this.icons[i] = iconRegister.registerIcon("tinker:"+folder+textureNames[i]); + this.icons[i] = iconRegister.registerIcon("tinker:" + folder + textureNames[i]); } } - - public void getSubItems(int id, CreativeTabs tab, List list) + + public void getSubItems (int id, CreativeTabs tab, List list) { - for (int i = 1; i < 5; i++) - list.add(new ItemStack(id, 1, i)); - for (int i = 6; i < 9; i++) - list.add(new ItemStack(id, 1, i)); - for (int i = 10; i < icons.length; i++) - list.add(new ItemStack(id, 1, i)); + for (int i = 1; i < 5; i++) + list.add(new ItemStack(id, 1, i)); + for (int i = 6; i < 9; i++) + list.add(new ItemStack(id, 1, i)); + for (int i = 10; i < icons.length; i++) + if (!(textureNames[i].equals(""))) + list.add(new ItemStack(id, 1, i)); } } diff --git a/mods/tinker/tconstruct/library/TConstructRegistry.java b/mods/tinker/tconstruct/library/TConstructRegistry.java index dbc12963..dcb28314 100644 --- a/mods/tinker/tconstruct/library/TConstructRegistry.java +++ b/mods/tinker/tconstruct/library/TConstructRegistry.java @@ -227,6 +227,35 @@ public class TConstructRegistry throw new IllegalArgumentException("[TCon API] Material ID " + materialID + " is already occupied by " + mat.materialName); } + /** Adds a tool material to the registry + * + * @param materialID Unique ID, stored for each part + * @exception materialID must be unique + * @param materialName Unique name for data lookup purposes + * @param displayName Prefix for creative mode tools + * @param harvestLevel The materials which the tool can harvest. Pickaxe levels - 0: Wood, 1: Stone, 2: Redstone/Diamond, 3: Obsidian, 4: Cobalt/Ardite, 5: Manyullyn + * @param durability Base durability of the tool, affects tool heads. + * @param miningspeed Base mining speed, divided by 100 in use + * @param attack Base attack + * @param handleModifier Durability multiplier on the tool + * @param reinforced Reinforced level + * @param unbreaking Amount of Stonebound to put on the tool. Negative numbers are Spiny. + */ + + public static void addToolMaterial (int materialID, String materialName, String displayName, int harvestLevel, int durability, int miningspeed, int attack, float handleModifier, int reinforced, + float unbreaking, String style, String ability) + { + ToolMaterial mat = toolMaterials.get(materialID); + if (mat == null) + { + mat = new ToolMaterial(materialName, displayName, harvestLevel, durability, miningspeed, attack, handleModifier, reinforced, unbreaking, style, ability); + toolMaterials.put(materialID, mat); + toolMaterialStrings.put(materialName, mat); + } + else + throw new IllegalArgumentException("[TCon API] Material ID " + materialID + " is already occupied by " + mat.materialName); + } + /** Adds a tool material to the registry * * @param materialID Unique ID, stored for each part diff --git a/mods/tinker/tconstruct/library/tools/HarvestTool.java b/mods/tinker/tconstruct/library/tools/HarvestTool.java index 7c7c97cf..9379d6e8 100644 --- a/mods/tinker/tconstruct/library/tools/HarvestTool.java +++ b/mods/tinker/tconstruct/library/tools/HarvestTool.java @@ -14,115 +14,115 @@ import net.minecraftforge.common.MinecraftForge; public abstract class HarvestTool extends ToolCore { - public HarvestTool(int itemID, int baseDamage) - { - super(itemID, baseDamage); - } + public HarvestTool(int itemID, int baseDamage) + { + super(itemID, baseDamage); + } - @Override - public boolean onBlockStartBreak (ItemStack stack, int x, int y, int z, EntityPlayer player) - { - NBTTagCompound tags = stack.getTagCompound().getCompoundTag("InfiTool"); - World world = player.worldObj; - int bID = player.worldObj.getBlockId(x, y, z); - int meta = world.getBlockMetadata(x, y, z); - Block block = Block.blocksList[bID]; - if (block == null || bID < 1) - return false; - int hlvl = MinecraftForge.getBlockHarvestLevel(block, meta, getHarvestType()); + @Override + public boolean onBlockStartBreak (ItemStack stack, int x, int y, int z, EntityPlayer player) + { + NBTTagCompound tags = stack.getTagCompound().getCompoundTag("InfiTool"); + World world = player.worldObj; + int bID = player.worldObj.getBlockId(x, y, z); + int meta = world.getBlockMetadata(x, y, z); + Block block = Block.blocksList[bID]; + if (block == null || bID < 1) + return false; + int hlvl = MinecraftForge.getBlockHarvestLevel(block, meta, getHarvestType()); - if (hlvl <= tags.getInteger("HarvestLevel")) - { - boolean cancelHarvest = false; - for (ActiveToolMod mod : TConstructRegistry.activeModifiers) - { - if (mod.beforeBlockBreak(this, stack, x, y, z, player)) - cancelHarvest = true; - } - return cancelHarvest; - } - else - { - world.setBlockToAir(x, y, z); - if (!player.capabilities.isCreativeMode) - onBlockDestroyed(stack, world, bID, x, y, z, player); - if (!world.isRemote) - world.playAuxSFX(2001, x, y, z, bID + (meta << 12)); - return true; - } - } + if (hlvl <= tags.getInteger("HarvestLevel")) + { + boolean cancelHarvest = false; + for (ActiveToolMod mod : TConstructRegistry.activeModifiers) + { + if (mod.beforeBlockBreak(this, stack, x, y, z, player)) + cancelHarvest = true; + } + return cancelHarvest; + } + else + { + world.setBlockToAir(x, y, z); + if (!player.capabilities.isCreativeMode) + onBlockDestroyed(stack, world, bID, x, y, z, player); + if (!world.isRemote) + world.playAuxSFX(2001, x, y, z, bID + (meta << 12)); + return true; + } + } - @Override - public float getStrVsBlock (ItemStack stack, Block block, int meta) - { + @Override + public float getStrVsBlock (ItemStack stack, Block block, int meta) + { if (!stack.hasTagCompound()) - return 1.0f; + return 1.0f; + + NBTTagCompound tags = stack.getTagCompound().getCompoundTag("InfiTool"); + if (tags.getBoolean("Broken")) + return 0.1f; - NBTTagCompound tags = stack.getTagCompound().getCompoundTag("InfiTool"); - if (tags.getBoolean("Broken")) - return 0.1f; + Material[] materials = getEffectiveMaterials(); + for (int i = 0; i < materials.length; i++) + { + if (materials[i] == block.blockMaterial) + { + float mineSpeed = tags.getInteger("MiningSpeed"); + int heads = 1; + if (tags.hasKey("MiningSpeed2")) + { + mineSpeed += tags.getInteger("MiningSpeed2"); + heads++; + } + + if (tags.hasKey("MiningSpeedHandle")) + { + mineSpeed += tags.getInteger("MiningSpeedHandle"); + heads++; + } + + if (tags.hasKey("MiningSpeedExtra")) + { + mineSpeed += tags.getInteger("MiningSpeedExtra"); + heads++; + } + float trueSpeed = mineSpeed / (heads * 100f); + int hlvl = MinecraftForge.getBlockHarvestLevel(block, meta, getHarvestType()); + int durability = tags.getInteger("Damage"); - Material[] materials = getEffectiveMaterials(); - for (int i = 0; i < materials.length; i++) - { - if (materials[i] == block.blockMaterial) - { - float mineSpeed = tags.getInteger("MiningSpeed"); - int heads = 1; - if (tags.hasKey("MiningSpeed2")) - { - mineSpeed += tags.getInteger("MiningSpeed2"); - heads++; - } + float stonebound = tags.getFloat("Shoddy"); + float bonusLog = (float) Math.log(durability / 72f + 1) * 2 * stonebound; + trueSpeed += bonusLog; - if (tags.hasKey("MiningSpeedHandle")) - { - mineSpeed += tags.getInteger("MiningSpeedHandle"); - heads++; - } + if (hlvl <= tags.getInteger("HarvestLevel")) + return trueSpeed; + return 0.1f; + } + } + return super.getStrVsBlock(stack, block, meta); + } - if (tags.hasKey("MiningSpeedExtra")) - { - mineSpeed += tags.getInteger("MiningSpeedExtra"); - heads++; - } - float trueSpeed = mineSpeed / (heads * 100f); - int hlvl = MinecraftForge.getBlockHarvestLevel(block, meta, getHarvestType()); - int durability = tags.getInteger("Damage"); + public boolean canHarvestBlock (Block block) + { + if (block.blockMaterial.isToolNotRequired()) + { + return true; + } + for (Material m : getEffectiveMaterials()) + { + if (m == block.blockMaterial) + return true; + } + return false; + } - float stonebound = tags.getFloat("Shoddy"); - float bonusLog = (float) Math.log(durability / 72f + 1) * 2 * stonebound; - trueSpeed += bonusLog; + @Override + public String[] toolCategories () + { + return new String[] { "harvest" }; + } - if (hlvl <= tags.getInteger("HarvestLevel")) - return trueSpeed; - return 0.1f; - } - } - return super.getStrVsBlock(stack, block, meta); - } + protected abstract Material[] getEffectiveMaterials (); - public boolean canHarvestBlock (Block block) - { - if (block.blockMaterial.isToolNotRequired()) - { - return true; - } - for (Material m : getEffectiveMaterials()) - { - if (m == block.blockMaterial) - return true; - } - return false; - } - - @Override - public String[] toolCategories () - { - return new String[] { "harvest" }; - } - - protected abstract Material[] getEffectiveMaterials (); - - protected abstract String getHarvestType (); + protected abstract String getHarvestType (); } diff --git a/mods/tinker/tconstruct/library/tools/ToolCore.java b/mods/tinker/tconstruct/library/tools/ToolCore.java index f9cd2689..4aea0526 100644 --- a/mods/tinker/tconstruct/library/tools/ToolCore.java +++ b/mods/tinker/tconstruct/library/tools/ToolCore.java @@ -228,10 +228,10 @@ public abstract class ToolCore extends Item implements ICustomElectricItem, IBox emptyIcon = iconRegister.registerIcon("tinker:blankface"); } - + @Override @SideOnly(Side.CLIENT) - public Icon getIconFromDamage(int meta) + public Icon getIconFromDamage (int meta) { return blankSprite; } @@ -449,7 +449,7 @@ public abstract class ToolCore extends Item implements ICustomElectricItem, IBox reinforced = current; } } - + reinforced += unbreaking - reinforced; if (reinforced > 0) @@ -507,28 +507,34 @@ public abstract class ToolCore extends Item implements ICustomElectricItem, IBox } /* Creative mode tools */ - static String[] toolMaterialNames = { "Wooden ", "Stone ", "Iron ", "Flint ", "Cactus ", "Bone ", "Obsidian ", "Netherrack ", "Slime ", "Paper ", "Cobalt ", "Ardite ", "Manyullyn ", "Copper ", - "Bronze ", "Alumite ", "Steel ", "Slime " }; public void getSubItems (int id, CreativeTabs tab, List list) { - for (int i = 0; i < 18; i++) + Iterator iter = TConstructRegistry.toolMaterials.entrySet().iterator(); + while (iter.hasNext()) { - Item accessory = getAccessoryItem(); - ItemStack accessoryStack = accessory != null ? new ItemStack(getAccessoryItem(), 1, i) : null; - Item extra = getExtraItem(); - ItemStack extraStack = extra != null ? new ItemStack(getExtraItem(), 1, i) : null; - ItemStack tool = ToolBuilder.instance.buildTool(new ItemStack(getHeadItem(), 1, i), new ItemStack(getHandleItem(), 1, i), accessoryStack, extraStack, toolMaterialNames[i] + getToolName()); - if (tool == null) - { - System.out.println("Creative builder failed tool for "+toolMaterialNames[i] + this.getToolName()); - System.out.println("Make sure you do not have item ID conflicts"); - } - else - { - tool.getTagCompound().getCompoundTag("InfiTool").setBoolean("Built", true); - list.add(tool); - } + Map.Entry pairs = (Map.Entry) iter.next(); + ToolMaterial material = (ToolMaterial) pairs.getValue(); + buildTool((Integer) pairs.getKey(), material.displayName, list); + } + } + + public void buildTool (int id, String name, List list) + { + Item accessory = getAccessoryItem(); + ItemStack accessoryStack = accessory != null ? new ItemStack(getAccessoryItem(), 1, id) : null; + Item extra = getExtraItem(); + ItemStack extraStack = extra != null ? new ItemStack(getExtraItem(), 1, id) : null; + ItemStack tool = ToolBuilder.instance.buildTool(new ItemStack(getHeadItem(), 1, id), new ItemStack(getHandleItem(), 1, id), accessoryStack, extraStack, name + getToolName()); + if (tool == null) + { + System.out.println("Creative builder failed tool for " + name + this.getToolName()); + System.out.println("Make sure you do not have item ID conflicts"); + } + else + { + tool.getTagCompound().getCompoundTag("InfiTool").setBoolean("Built", true); + list.add(tool); } } @@ -579,7 +585,7 @@ public abstract class ToolCore extends Item implements ICustomElectricItem, IBox public boolean onBlockDestroyed (ItemStack itemstack, World world, int blockID, int x, int y, int z, EntityLiving player) { Block block = Block.blocksList[blockID]; - if (block != null && (double)block.getBlockHardness(world, x, y, z) != 0.0D) + if (block != null && (double) block.getBlockHardness(world, x, y, z) != 0.0D) { return AbilityHelper.onBlockChanged(itemstack, world, blockID, x, y, z, player, random); } @@ -690,7 +696,7 @@ public abstract class ToolCore extends Item implements ICustomElectricItem, IBox int hotbarSlot = player.inventory.currentItem; int itemSlot = hotbarSlot == 0 ? 8 : hotbarSlot + 1; ItemStack nearbyStack = null; - + if (hotbarSlot < 8) { nearbyStack = player.inventory.getStackInSlot(itemSlot); @@ -704,7 +710,7 @@ public abstract class ToolCore extends Item implements ICustomElectricItem, IBox } } } - + /*if (used) //Update client { Packet103SetSlot packet = new Packet103SetSlot(player.openContainer.windowId, itemSlot, nearbyStack); @@ -898,7 +904,7 @@ public abstract class ToolCore extends Item implements ICustomElectricItem, IBox } return tags.getCompoundTag("InfiTool").getInteger("TotalDurability"); } - + public int getItemDamageFromStackForDisplay (ItemStack stack) { NBTTagCompound tags = stack.getTagCompound(); diff --git a/mods/tinker/tconstruct/library/tools/ToolMaterial.java b/mods/tinker/tconstruct/library/tools/ToolMaterial.java index 5e213879..d0ee6ae2 100644 --- a/mods/tinker/tconstruct/library/tools/ToolMaterial.java +++ b/mods/tinker/tconstruct/library/tools/ToolMaterial.java @@ -7,6 +7,7 @@ public class ToolMaterial //mining level, durability, mining speed, baseDamage, handle modifier, Reinforced level, shoddy/spiny level, color/style on name public final String materialName; + public final String displayName; public final int harvestLevel; public final int durability; public final int miningspeed; // <-- divided by 100 @@ -19,7 +20,13 @@ public class ToolMaterial public ToolMaterial(String name, int level, int durability, int speed, int damage, float handle, int reinforced, float stonebound, String style, String ability) { - this.materialName = name; + this(name, name + " ", level, durability, speed, damage, handle, reinforced, stonebound, style, ability); + } + + public ToolMaterial(String name, String displayName, int level, int durability, int speed, int damage, float handle, int reinforced, float stonebound, String style, String ability) + { + this.materialName = name; + this.displayName = name + " "; this.harvestLevel = level; this.durability = durability; this.miningspeed = speed; diff --git a/mods/tinker/tconstruct/util/PHConstruct.java b/mods/tinker/tconstruct/util/PHConstruct.java index e0ab4f3c..5445ae55 100644 --- a/mods/tinker/tconstruct/util/PHConstruct.java +++ b/mods/tinker/tconstruct/util/PHConstruct.java @@ -97,6 +97,7 @@ public class PHConstruct stainedGlass = config.getBlock("Stained Glass", 3224).getInt(3224); stainedGlassClear = config.getBlock("Clear Stained Glass", 3225).getInt(3225); redstoneMachine = config.getBlock("Redstone Machines", 3226).getInt(3226); + dryingRack = config.getBlock("Drying Rack", 3227).getInt(3227); /*golemCore = config.getBlock("Golem Core", 1481).getInt(1481); golemHead = config.getBlock("Golem Head", 1482).getInt(1482);*/ @@ -295,6 +296,7 @@ public class PHConstruct public static int metalBlock; public static int redstoneMachine; + public static int dryingRack; public static int golemCore; public static int golemHead; diff --git a/mods/tinker/tconstruct/util/TEventHandler.java b/mods/tinker/tconstruct/util/TEventHandler.java index b082cc3c..10cf03ae 100644 --- a/mods/tinker/tconstruct/util/TEventHandler.java +++ b/mods/tinker/tconstruct/util/TEventHandler.java @@ -53,10 +53,29 @@ public class TEventHandler @ForgeSubscribe public void craftTool (ToolCraftEvent event) { - /*if (event.tool == TContent.cleaver) + NBTTagCompound toolTag = event.toolTag.getCompoundTag("InfiTool"); + int thaum = 0; + if (toolTag.getInteger("Head") == 31) + thaum++; + if (toolTag.getInteger("Handle") == 31) + thaum++; + if (toolTag.getInteger("Accessory") == 31) + thaum++; + if (toolTag.getInteger("Extra") == 31) + thaum++; + + if ( (thaum >= 3) || (!toolTag.hasKey("Accessory") && thaum >= 2) ) { - event.toolTag.getCompoundTag("InfiTool").setInteger("Beheading", 2); - }*/ + int modifiers = toolTag.getInteger("Modifiers"); + modifiers += 2; + toolTag.setInteger("Modifiers", modifiers); + } + else if (thaum >= 1) + { + int modifiers = toolTag.getInteger("Modifiers"); + modifiers += 1; + toolTag.setInteger("Modifiers", modifiers); + } } /* Interact */ diff --git a/mods/tinker/textures/items/axe/thaumium_axe_handle.png b/mods/tinker/textures/items/axe/thaumium_axe_handle.png index 6ba47033bc5ad3ee5d445943db82f9efc31bafc9..e056fb9de2646945c719bff356c43e9df9634c46 100644 GIT binary patch delta 164 zcmXRr$T&fzo-N7S-G$*l2rk&Wd@=(A180FpWHAE+w=f7ZGR&GI0Tg5}@$_|Nzst_Z zA!+UNfqwx|$j{ToF~s6@a)Jb_GfRf1_22cUqQ1vR`FysIoW(phJ7f7w!TD)*afNN} z=k*M1YD?!%RAKJ8+H;j5$Rt_9VO5$4^NEW+a!gB(nw;#`@?vC=lQNZ=Je4^NXf%VT LtDnm{r-UW|$73~? delta 88 zcmX@eST;c=$kx-vF{I*Fa)Jb_GfRZ@u|ND@*Zk90U-*6gzgc@_HnDpcyPosod8Zs- s?06{Xlj(HTd_{j_js}xSYi9~EF!=w}?T9H_%*g-*p00i_>zopr05zx~)c^nh diff --git a/mods/tinker/textures/items/axe/thaumium_axe_head.png b/mods/tinker/textures/items/axe/thaumium_axe_head.png index 75787a05658d5a8823c9308640859152e7215c64..81391587d9aeaf8bb9199c1588373bbbeeb20f76 100644 GIT binary patch delta 209 zcmb<^$2dWyo-N7S-G$*l2rk&Wd@=(A180FpWHAE+w=f7ZGR&GI0Tg5}@$_|Nzst_Z zAtj`me}o?>RPE{F7-DfcIbnh61hLD1^mUj0l%H;+ta$dL;#wXM;JzMWY*Sl0cVY%} z!Yut5J0|hn6~)$ViasrS1m=ryrl0ndH1J+f-M&Cv0tmibwUxYAUw2MHam|?zkKV?% zxu4fN5PPWUJcG*fL%CBYUr4R^@`folDMh3whJj&Qr_QUwF2QD?I~Y7&{an^LB{Ts5 DR|88- delta 93 zcmV-j0HXiy0eg@nS3*fdK~#9!V_={)kQUSY55i4@k31XN3^n3SpN}MeUVzb~)R9X@le|K^t5IDx)6<)2# z5-TuYgfl(4m{Zv>?n3zYl#2g9Et^|57#+6j-d-*#XS@5rhc8!4-PnLY%!$oG^ib~9 q$rn;9zPw@jxv^2-&F$a`R)(B&igWu7j%os}X7F_Nb6Mw<&;$USUPn3r delta 95 zcmV-l0HFWj0ez4pSwu-hK~#9!V_={MkQUSYPmyLjXso)^1E5fjr;B5V#p&b(3Dy+GOvAJPFD1?T zfAZ3rrEk9M*UG;8f9hxd|I@`T|2glnDvgbet?jk>`GZG2j2=9G{+#C(SC~dp&ypXv zeavSx0)e8^vH1&E*z`Sox%zdF&XOGt!FM|x?}v!3o4IeHJy!uUgUBaE#}%sFKY{i# Nc)I$ztaD0e0sv(#QfL4G literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/battleaxe/thaumium_battleaxe_binding.png b/mods/tinker/textures/items/battleaxe/thaumium_battleaxe_binding.png new file mode 100644 index 0000000000000000000000000000000000000000..fbcbbe2d99533ba0fe4c3d640003c421c7da4a14 GIT binary patch literal 173 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rU$_da94LqH)bPZ!4!i_^&o5|IwB*Baq`KN_7)}%bO=0kK L^>bP0l+XkKjlnlf literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/battleaxe/thaumium_battleaxe_fronthead.png b/mods/tinker/textures/items/battleaxe/thaumium_battleaxe_fronthead.png new file mode 100644 index 0000000000000000000000000000000000000000..608289932e89886ae5c9b04f8bd3cbb82bd35500 GIT binary patch literal 214 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rV>4wKTU7eJw8PZ!4!i_^&|3Jgn*n*2X}!#_SY z-DP^Z%95Syiv{Pzhsd=ja&Rl2)t;7YFHW)?8jD86>cytX#gWN-aij xN5wBgW*|7c@^p4#mYPJx2}TPpw}TJZ7y_rObi6&g@(|EE22WQ%mvv4FO#oC}Lm>bF literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/battleaxe/thaumium_battleaxe_fronthead_broken.png b/mods/tinker/textures/items/battleaxe/thaumium_battleaxe_fronthead_broken.png new file mode 100644 index 0000000000000000000000000000000000000000..13ccf873af0653f0bbfcece1bd7d4f0531d90462 GIT binary patch literal 224 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rWM*|TV-%Rr%APZ!4!i_^&|3Jgn*n*2X}!#_SY z-DP^Z%95Syiv{Pzhsd=ja&Rlo4%fMP;s6jVSee%nDr;;v`~LovB#Y8Y-NV!0%S+_l zu{~Pw{$wVPxbefHgGVp-2mZMJ?j6ujR*&w?f9`w-0u8v>%o!LSOi^9h%Cyf9XfcDQ LtDnm{r-UW|#jZ@I literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/battleaxe/thaumium_battleaxe_handle.png b/mods/tinker/textures/items/battleaxe/thaumium_battleaxe_handle.png new file mode 100644 index 0000000000000000000000000000000000000000..7195b193ec2802cec9d973e39c53faf1c1f6d210 GIT binary patch literal 201 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rWg!NlEN89<>hPZ!4!i_^&o60FV)8JgCA*Pn{| zK40nVrKDN^PhOIF5#wBaw&#Y)=g(cnHdSSf4_~f+-J>GuuqsW2`NTyY^M;tSJV4Mh mB_k~X2quVKR?%OzfPq2nuBCOvCu1X^4Gf;HelF{r5}E)vCqW?q literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/battlesign/thaumium_battlesign_handle.png b/mods/tinker/textures/items/battlesign/thaumium_battlesign_handle.png new file mode 100644 index 0000000000000000000000000000000000000000..9da4f38b2f46b98bc4ee8b7d0c68b262ba9e010a GIT binary patch literal 183 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0pi2?-_2Me?TD@PZ!4!i_^&o60D080+_vnN$DE zexp>F&dn1ApAQD2-qDN9j5KB`z&*K<>~Cg>W7bB9(Sos{J-%kPyf8wgoV4p$#<0X#G@AttT)&50Ku$RZW?~A8xtQD1+iWE%EYb17Pn`wcbHW| oVnRZ~j-L-Cysq>#Eo5W(aW%2_aqe1Epf4CaUHx3vIVCg!00fA26#xJL literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/battlesign/thaumium_battlesign_head_broken.png b/mods/tinker/textures/items/battlesign/thaumium_battlesign_head_broken.png new file mode 100644 index 0000000000000000000000000000000000000000..04bd3f7c3c0b07c4d73a6d022888b38eb1e2903b GIT binary patch literal 344 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0phzpU81HOQ6tGPZ!4!i_>o>+HxIo5NO@suzbS? z(e8$bCrtAkd~)9_#zxB+! z*+1{`)o89=VIlkLr1jyHJr3_;wp|Qj))196uj6T$z!>);;YDuNRW>KKIqL++kzcR7k0L(OgC7_ov}(fP)&va6%SW;m6wdi?nx!e1$(uaJG@sZR|9!=KsMA`rV literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/broadsword/thaumium_sword_blade.png b/mods/tinker/textures/items/broadsword/thaumium_sword_blade.png new file mode 100644 index 0000000000000000000000000000000000000000..ca0c384da02ec359a8a66c0e2eae4e2005e857b1 GIT binary patch literal 225 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rWkpeVP19Z)FG)5S5w;&gI~0<%YV=D+rhGf!N+ zbA4xrqu;5966SOOChCkTY8-F-Iov;Y6?CLMp|U&MTtf5z*UWO}@Pi_shVZL=Jm zB4$3k@^mYYe|&7Z%B^Rs)|CEVdekH^M=f&mQpYC&7khFzZq9ONoXf}{ChELNxa9%| P&}IftS3j3^P6!I#bcY#9Xo-U3d7N?UF7MM>EyZlFAciB(* zW9dqv#>~vj&2y$O&N=JS^=#icSDvCEHXflvrwR()f^zG=ykP>$GatSjeqFM&sBz1T zXa9dp2x9|+9cK;BvcxvXL>M%zkzCI`A$QtjqXVlXmveV)1acF)KHjw9Vgowr51(e; UmzaB{KqoMGy85}Sb4q9e0RN9oYXATM literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/broadsword/thaumium_sword_handle.png b/mods/tinker/textures/items/broadsword/thaumium_sword_handle.png new file mode 100644 index 0000000000000000000000000000000000000000..92cfee9debfe5c643fb88a2a763c4c0db1433ef8 GIT binary patch literal 198 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rUeqw>VynLwdnPZ!4!i_^&o60D0G!W_JBzN}wR ze6~L6ic#X_Gv~F>6}%Br&@C4gYb jQIr4P-I@Q?&5tpxsZvYapR?TsXgq_btDnm{r-UW|ofADL literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/chisel/thaumium_chisel_handle.png b/mods/tinker/textures/items/chisel/thaumium_chisel_handle.png new file mode 100644 index 0000000000000000000000000000000000000000..f891e24b96ce052e0ed18fc0f7b1c16c1f548373 GIT binary patch literal 179 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rWHQL=6vNS%YHi(`nz>Er|n*2M`Im~>N@|DVP- z@qcIF=@wsO`}G!w7pIGNZ0Zr5{%raBb;grY7%XQ6Hf)*ktUlB5?Eez}0*2x!iFk3% SD;t4kF?hQAxvX# literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/chisel/thaumium_chisel_head.png b/mods/tinker/textures/items/chisel/thaumium_chisel_head.png new file mode 100644 index 0000000000000000000000000000000000000000..0660ee67c98e491ee7f5580e4bc773f1c00fa31f GIT binary patch literal 209 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rUhR|3=4b3mauPZ!4!i_^&o5*!PbzWFj=>8$qi z`TzWgTe~DWM4fX0J(; literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/chisel/thaumium_chisel_head_broken.png b/mods/tinker/textures/items/chisel/thaumium_chisel_head_broken.png new file mode 100644 index 0000000000000000000000000000000000000000..857fab4a0a7597b87392fae2b23170583956cf3f GIT binary patch literal 163 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rWX;?FVdQ&MBb@01Q$$JOBUy literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/cleaver/thaumium_cleaver_handle.png b/mods/tinker/textures/items/cleaver/thaumium_cleaver_handle.png new file mode 100644 index 0000000000000000000000000000000000000000..a068f81ed84e424b4a5226350ff11f1a1d19b8c5 GIT binary patch literal 198 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rWP$vY*xML?loPZ!4!i_^&o60D080+@7Dm;Y}( zXZpW0^nA;@$k>Bj53fAk>JojTW6jL@;d35d+|146A0L~pa+0CQ)Yt$Bf)>qe1Omq> kpU?ZZ%y?E`#4OA3>Wln3SMJ3VfW|X;y85}Sb4q9e0AMyjX#fBK literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/cleaver/thaumium_cleaver_head.png b/mods/tinker/textures/items/cleaver/thaumium_cleaver_head.png new file mode 100644 index 0000000000000000000000000000000000000000..6ec2ed5e40a9ef97e1e78b21362c6bd174457669 GIT binary patch literal 246 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rWfnURz&4^XJt)5S5w;&gJt0s(_biz1?YKHKk- zFxH&)+e+NfgJXt)O-0RI#Y5{SJ$$sa_DFV|<^M1LSFI`izjeyof8nWXfA^m?J?vW? zdd=#T3A@$xfMt=c*P1lWYH+U9%D(&mwfT9&n0;H@9mCJIKD_dDE02GCth(k#!xbl@ m{_vNqQ@nTch}z9W9)`LlMVmK#pQ-?K4uhwwpUXO@geCx}rdzlG literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/cleaver/thaumium_cleaver_head_broken.png b/mods/tinker/textures/items/cleaver/thaumium_cleaver_head_broken.png new file mode 100644 index 0000000000000000000000000000000000000000..f6c9532c070247673ee958ca6855b18bf1f10aec GIT binary patch literal 237 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rV=-m-T)rvinlJY5_^EKVmUED$i5v?wCV=d=AT z3E`Eq9y>=#{-{)yeB>PExqYWr_T75j)aCy}BVYeZF6Q++dnsww|C85jT5|bH)+ye9 z=J0&hf2~boE}3aA<_CPtXFUA0)|O{imLAV?z4fUTzg}5+cJ?~DUVBu(pqTgLIW@DB ce8~(9&cRV8zp|en0J?&~)78&qol`;+01j$aC;$Ke literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/cleaver/thaumium_cleaver_shield.png b/mods/tinker/textures/items/cleaver/thaumium_cleaver_shield.png new file mode 100644 index 0000000000000000000000000000000000000000..0b8eaf3d9bd0eb383bd8b8a578f12a34b2d3692d GIT binary patch literal 182 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rWfn*Lhd44{y+r;B5V#p&dP1p)?>RtHA;e70u> z0%6NpTc^zZcf5Ver1Z_xHeLR|YE9|?L_LYCKHg`wHi=Ei{}VIj;Z! literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/cutlass/thaumium_cutlass_blade.png b/mods/tinker/textures/items/cutlass/thaumium_cutlass_blade.png new file mode 100644 index 0000000000000000000000000000000000000000..58cbfb6269dde2e8ea50eaff2c99b6fc18f794ba GIT binary patch literal 181 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`HJ&bxAr*6yfBgS%&%7}r%ICAa zQJ!~bvWn;9Q$Lsg4^LgooGc)%;x;91#xaNIQWk8Tv$MGj1eQw1D*G6F@LrrX(Zon; z_2F!W6E~-^O*H8BxpC#;R@o(zX$*SZ9b09Wdv_W!#5+7LwcF;Pe2ewS4L<|14$q}7 f&zlo-7#LPHul^W);n-WCI~Y7&{an^LB{Ts5Ko~-c literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/cutlass/thaumium_cutlass_blade_broken.png b/mods/tinker/textures/items/cutlass/thaumium_cutlass_blade_broken.png new file mode 100644 index 0000000000000000000000000000000000000000..e52635d30a8781d623d15425cf81ce6a97d6aac4 GIT binary patch literal 193 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`9iA?ZAr*6yfBgS%&%7}r%ICAa zQJ!~bvWn;9Q$Lsg4^LgooGc)%;x;91#xaNIQX=9rvbhWdmP#%WY+E=>(qWck)`v_s z>4s&3DcZ`LteV&&q+AY}7$pb08*E8rd$5UPIpYEc=S{N9y*rH<;vF9IRI1#T^fY2f p<1pMN+{M~7>!Xx|jvO1%LHlhNm2a4~SP$qX22WQ%mvv4FO#m&2KcxTw literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/cutlass/thaumium_cutlass_guard.png b/mods/tinker/textures/items/cutlass/thaumium_cutlass_guard.png new file mode 100644 index 0000000000000000000000000000000000000000..192ae7f7256b4528da455ceac977dd3b3aebf3fd GIT binary patch literal 99 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`TAnVBAr*6y6C_v{Cj>M)JfHP{ x8r#JGOOKlTpS(tL$;6!5CpQ%qNIGaTFr4J%`nJ#bAsAr*6y6C_v{CsZ)$rY`@l w;Il2wyZOZbOG&eqNE;N)a%5OCG3G3T)CS?>MFxrYftnaRUHx3vIVCg!0J+W`Z2$lO literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/dagger/thaumium_dagger_accessory.png b/mods/tinker/textures/items/dagger/thaumium_dagger_accessory.png new file mode 100644 index 0000000000000000000000000000000000000000..5759320d5b9ca22f36c1c5b5408d9ddfbf104ff1 GIT binary patch literal 178 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0l09KvH<#PN0yzr;B5V#p&b(3D(2B9^IM$ri)$v zEkh$;=kSd$7QDLGjuD2NOG%I;uE2M-+J4)RxYj*x2~+KZl1k!)!J&(HcXQ QR-jP~p00i_>zopr06)kwL;wH) literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/dagger/thaumium_dagger_blade.png b/mods/tinker/textures/items/dagger/thaumium_dagger_blade.png new file mode 100644 index 0000000000000000000000000000000000000000..4dbabcff751660b31486bdc3d223a77175847f50 GIT binary patch literal 243 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0l01{_KLQ&Oo6CPZ!4!i_^&o5*Y_Px{@*t&;B>~ zb~*gIq@;v|#0-y%cdqa3aP&LH;5w&M** zo6I@d8n?`N_W#F(u(rR)!;FFIjOXmyBlfO*QO>$kQQzaEe1un@WnuK$ywp+U<*dX8 frL&70`WP5q9W#1sf5yKZ=oSV~S3j3^P6j{?us0-#W#r;B5V#p&b(i6Dn4pU?ZZ%y?Fx zVyG5mVr*bwaKcm4KtcMD%bI8V&bjgw1+no69Xh2^)U)KqpBFb-*?^#J`TBLnLQk18 z4bT4nsJK?cOga15Yo;#;4lR>h&;7_bN;1Lk_|lmQ8%#R>^q*B-oUnnB;e4p#yZ+|V RNkGdPJYD@<);T3K0RTo+ORoR` literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/dagger/thaumium_dagger_handle.png b/mods/tinker/textures/items/dagger/thaumium_dagger_handle.png new file mode 100644 index 0000000000000000000000000000000000000000..a23e17126f622badccbc74b788b351fe23b519d5 GIT binary patch literal 177 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rU_+m14)H9#RdPZ!4!i_^&o60D083>e%>7Q*#yT?6NG5YWT!Jj>k!1z+qtpA>6jLgi;&0A(XtFMdmZ0nyt-`J+MbgoMH2B6jh eCV$n{c^EXm3FNVS39kj3&*16m=d#Wzp$P!remj={ literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/excavator/thaumium_excavator_handle.png b/mods/tinker/textures/items/excavator/thaumium_excavator_handle.png new file mode 100644 index 0000000000000000000000000000000000000000..cc8945cf8e5e2164db00e7c1d36043f15c37396c GIT binary patch literal 225 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0l05&Zz}_AAv%7o-U3d7N?UFBv_ppGBmCK@|Udp zsjs{2=X|wUk{>glJr_-{`0|G7@a6F9lAcBl5oaTK6=&dpt2@*ft9l) zB_t#w5~P5X$2FesOtFMdmZ0nyte{v23H#0M{&*l0eAt?qE6$n;AS^ L{an^LB{Ts5dD=yK literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/excavator/thaumium_excavator_head.png b/mods/tinker/textures/items/excavator/thaumium_excavator_head.png new file mode 100644 index 0000000000000000000000000000000000000000..36f428d477c97b7660c399d186f744b16827ba2f GIT binary patch literal 280 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0pi6tEr|G&zh5YfIvepQ6**f%sc~TAUM48bhhM~l4ePhtGyCmd{ZClC8(G^ zNt`7qAt52QZe?1^5I252QzrO L`njxgN@xNAeEVRh literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/excavator/thaumium_excavator_head_broken.png b/mods/tinker/textures/items/excavator/thaumium_excavator_head_broken.png new file mode 100644 index 0000000000000000000000000000000000000000..d3cdee59cf11011c408ae50c1129c9c99b93a694 GIT binary patch literal 268 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0pjn{0^n0RZw{JG)|yZ72W$002ovPDHLkV1mAT BC%^yz diff --git a/mods/tinker/textures/items/frypan/thaumium_frypan_head.png b/mods/tinker/textures/items/frypan/thaumium_frypan_head.png new file mode 100644 index 0000000000000000000000000000000000000000..a63dbfa3441b0ae9ce294c37fdf62a50f210b804 GIT binary patch literal 347 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0piM--9*EoIs%$o-U3d7N?U_6d0BqHTi$|hJSo) zy36!*#U+7$rx+rC*za=G*gf1*Jm7eXKG#H3V*>+&H4&R8K0JDR_l~^{?|35` zGFM3(#_X@`0|^xrHZ^w0B>e7Q>vpl{I;%nWjF)VOnR#voJkdCk$x!6gBFS>OW1f(t e=2`B;K#%g=u36-A!A1ngWbkzLb6Mw<&;$Sjkb^Y< literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/frypan/thaumium_frypan_head_broken.png b/mods/tinker/textures/items/frypan/thaumium_frypan_head_broken.png new file mode 100644 index 0000000000000000000000000000000000000000..43933667d9e25b0e3f558a833a6b995f5ca6fd49 GIT binary patch literal 400 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0pj%Y>H6Qbp{4TSx*Ge8WFJ zHr-`Rzf%m6KkRoo>a>{D|M?@N*OzjmeukpX4ijh5Kkr}1uuRX+(M%5r-;gvx zAS}(IwDRr$!YKW`z0lS;7m!gq+e{@ zX#x35rvwBa_b=?@j2DU9U&+_HKk1}fn|S{FMIDAo+%7ZBuZXUBuq}RnW#7Z2w|8qi zvS6Or*x2Y8d$8-_v*u);v|R^ze)q3UOGrp)$UgR(X@+)!V(sUHh9b^DYaVQSY{Fn^ ptKfcf<>_q0NhZomD-(esRw>pL^|8QU3oz^$JYD@<);T3K0RW0qp0@x1 literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/hammer/thaumium_hammer_back.png b/mods/tinker/textures/items/hammer/thaumium_hammer_back.png new file mode 100644 index 0000000000000000000000000000000000000000..f3576c35205d2d57c1eef0111314b223fa1dd3bc GIT binary patch literal 202 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0piUtFVxLD^Muh)5S5w;&gI?1Z&TetSMrb|M+iX zj5_7_Us6Is!mh6F+yR$W&sMD|{eM+-jl`>LtCO28FYJ8w|J2Xr{}1nRm^6Rul(_~b q#*?Hnc!0n^J~my(x4xN^fk8D|cE!b%-I_ov7(8A5T-G@yGywn(l0j4e literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/hammer/thaumium_hammer_front.png b/mods/tinker/textures/items/hammer/thaumium_hammer_front.png new file mode 100644 index 0000000000000000000000000000000000000000..f3ceddf7a22f26b5c1386bface91d3dec86c6b93 GIT binary patch literal 203 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0pjf{>4qlg@8g4o-U3d7N?U_6qr1^Gyk=3oWF0^ zxelG)m} z{=vM%1%IDewgpeWZe&wiI(K3QbH~M=%M7}y%m2UP3gZES3e#j$hGjpG-rmjAKQH#c zYRSV4L8gl(9Qx9BFh-s7`~S1@sH9z8-N_FhKNl}DH8uc(phYtqfgmu-=d*o}^Qts9 aAYhoz7RWXES*)m} z{=vM%1%IDewgpeWZe&wiI(K3QbH~Lq2Y{f(SGmX6!?=y{#4Je(3688~c?wFm>)yVz zTa=sHl=CBFcdy-DNv4MbJS)IuB2c`^>o0shpY~Ix*$}BA{-lo{| zgQvkVI`&|fWANRMhriAi^O(!aB>(vOTKe$!`SOwyKro|F^1yN3TOU4O7iUv*OKanw zA8+vI|LH>uR^}b~@L!+%aQk_E35y$*l6C)n9Xil-njs?N@SN(;2MxjY`j#q#=(Y}t z`nE-%EbhcPeCJcQwg=e`az%`B)f6EU7w?-d|DXD~{J*eh#}bugfd&^C7y^y`bvXaN RFai3N!PC{xWt~$(697fre%1g0 literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/longsword/thaumium_longsword_accessory.png b/mods/tinker/textures/items/longsword/thaumium_longsword_accessory.png new file mode 100644 index 0000000000000000000000000000000000000000..6b3fa0c8c3eea64233342763c4458b0096a6f54d GIT binary patch literal 203 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0pjpap)H7OrTJNr;B5V#p&b(3D(68Tn&Q9CWu}B z!=G$lTRL}Q1oMo9Sx=YnNPM|!EBVVxe4&KfChjvO&5|ZpdnLrytyDXus`KKUU1{ap q`k+G%oU bk{K8ZHabo2+t2zEXe5KDtDnm{r-UW|S|vb2 literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/longsword/thaumium_longsword_blade_broken.png b/mods/tinker/textures/items/longsword/thaumium_longsword_blade_broken.png new file mode 100644 index 0000000000000000000000000000000000000000..97e06e4978ecbe666c09ec31a16495ecb1bd012a GIT binary patch literal 247 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0pjZxYMkjYM@Yyr;B5V#p&b}1!j-#%zy10XP&s4 zvrO7&-dXME^Z&`ei1{pkQ&c5$n%HHRi)VbgHs9Z$l2q~QmDS-PiQ!{F)a=d#Wzp$Pz}pIXHL literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/longsword/thaumium_longsword_handle.png b/mods/tinker/textures/items/longsword/thaumium_longsword_handle.png new file mode 100644 index 0000000000000000000000000000000000000000..945078a6763edc156d47537b5897d0bea4e87164 GIT binary patch literal 198 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0pjp!1v2u(m6}%Br&@C4gYb jQIr4P-I@Q?&5tpxsZvYapR?TsXgq_btDnm{r-UW|-i1B8 literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/lumberaxe/thaumium_lumberaxe_binding.png b/mods/tinker/textures/items/lumberaxe/thaumium_lumberaxe_binding.png new file mode 100644 index 0000000000000000000000000000000000000000..aae7bf938d00a61fabcf6363791ae76e46efcc6f GIT binary patch literal 181 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0pjRv}{@WHK34_r;B5V#p&b(3D(64A_)w-smuQ_ zd6npNZOyubqY0S;Kj-T(O8`OKp1r3(eEjUqmTBm_h&QptaDu6AZRy;J5zGv4wh7og TIrS+7Xc~j3tDnm{r-UW|T$48e literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/lumberaxe/thaumium_lumberaxe_handle.png b/mods/tinker/textures/items/lumberaxe/thaumium_lumberaxe_handle.png new file mode 100644 index 0000000000000000000000000000000000000000..7a15968790ce4e0abb3de110d5e16b792b09d882 GIT binary patch literal 263 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0pj(dTm7SG@#HFPZ!4!i_^&o60C-l^Aw&m;d4E9u2w=YNo$*HBB1L?D?t2_DO q>%QMUu3T0fr!K4xBJ_b)$KbLh*2~7ZUIa>z+ literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/lumberaxe/thaumium_lumberaxe_head.png b/mods/tinker/textures/items/lumberaxe/thaumium_lumberaxe_head.png new file mode 100644 index 0000000000000000000000000000000000000000..b4c45259825f96cfa351485a459c1b258747f80b GIT binary patch literal 255 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0pjRwVH&x98jpo)5S5w;`G~z3%Obx1lsmbU7aL+ zgnh!=@6*KM9W8jIYB{?LN;gL8m~}5oU4KVrd+zq%TN8hz)ukyk*jzR9->NDixVvgg ztgV%^oLy1qK8B3haz>SBlv~Ac=8IaVv5M=H&9NyBnR17OJ#r?l&;I{)%6VRf vNfyOV9^Z)wTO4vi{om_U)2`XG_2vK1HepD)X~@bOEsh@n_gPFg}jLdCCFR*zSn&i-#~U|{g! zvzHN&`cn@SR2Eh|TRXQ~;!H{NL$Kq-TaRnmqE+5f)2mX7J07@_Ylm-qUg vzt7#n8z!R6+od-PZ!4!i_^&o60Bd?r?E}^zx1fd z|HD6gmSjv5yZlH0g!V}R`Aer5j9XeonCI==b?(H010U`?TyHbV_vp_2xBgVr_xLEE q&-TJQ+g{8*74)v_qKd031H=3~LJOkYKJx%AVDNPHb6Mw<&;$UU=|#W* literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/mattock/thaumium_mattock_handle.png b/mods/tinker/textures/items/mattock/thaumium_mattock_handle.png new file mode 100644 index 0000000000000000000000000000000000000000..c4a8210349aef68a86ecf3f6e8dba088bf336492 GIT binary patch literal 204 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0pjh=~dLNNdU literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/mattock/thaumium_mattock_head.png b/mods/tinker/textures/items/mattock/thaumium_mattock_head.png new file mode 100644 index 0000000000000000000000000000000000000000..f93a35ddd2cae8e5f18ff649afa79ee4f3b7848f GIT binary patch literal 243 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0pj>x}=H6B%n}(r;B5V#p&b(1%@R@P5wWgoUXLQ z(r$_9dc~d=llUDqEsa3%@X^_~JpS>q=_)5#PdLQi6<+OKAobzP)zV|F*{dWUO;&oC zR20M}(e|M9;N|e^lHI2sOYoHBO5CfjJEw3$yYs5RqJ}Lqp4Dd>p8c==eEz@psnK8N h>o~g|)HuM(z#y#k=0oJ_K%iR~JYD@<);T3K0RUQWSe5_) literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/mattock/thaumium_mattock_head_broken.png b/mods/tinker/textures/items/mattock/thaumium_mattock_head_broken.png new file mode 100644 index 0000000000000000000000000000000000000000..96df8a2949ee3ef2a3ac94212d761e8309c37790 GIT binary patch literal 213 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0pj>d@ zbQ@vCv$b=(CB9s>l`N1vuOi(fGei6N{D1LNxAxgMyB*Xxz{;S1T6v{F&qOnzZ492SelF{r5}E*F Cu}6CV literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/parts/thaumium_axe_head.png b/mods/tinker/textures/items/parts/thaumium_axe_head.png new file mode 100644 index 0000000000000000000000000000000000000000..5cb5eb5040d7d6d1625995b734c1d216bb52cebe GIT binary patch literal 238 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0m+EcgnXv%Yj1Go-U3d7N?UFBv`jFUrL(wf9X+^ z|H47XJG_f)JhYjC;P4^St33YkvFR$e7-l@*=`4eaYeDo=l@dug+uaVgB_vle ZFw_O=ymD}_`wnylgQu&X%Q~loCIDKuPci@i literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/parts/thaumium_battlesign_head.png b/mods/tinker/textures/items/parts/thaumium_battlesign_head.png new file mode 100644 index 0000000000000000000000000000000000000000..f8fbaf1690cf0303d777da77a0cc25e9524a1b3c GIT binary patch literal 301 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rU|N7{cDR-n)>PZ!4!i_^&o5}z6-Ha0dUKK*m~ zf9KT=NhjUfX7l$M#_ZnR4-#)=jdTjW%i(2Sx#HtDy~D@P zpMUtt$Kcq?)7g?@>sGd9@2dMO!@TLv*V)e{{9@y}Z*zViYro)%R zuS*8T95`@*Vf)u#XNxuT9K_t&bxzc!CL|_~`6g9uP>|b&zMd-ul#vU$3l`1O2v}bo}X;>xkRt8nL(ODtG_9Sci?g gr~cW`I`(?TBq_}FxnliyaYDgD3n usEJ{Ynpg3HV&0ch?Hkf07I=KVz{23_YUZ82WbqTAEexKnelF{r5}E*zDn;-B literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/parts/thaumium_chunk.png b/mods/tinker/textures/items/parts/thaumium_chunk.png new file mode 100644 index 0000000000000000000000000000000000000000..9c73b9ffb45d42d7a79c4559f1dd3efcb81e329e GIT binary patch literal 352 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rW47Mr2<8lccyPZ!4!i_=Fh`*Jloh_HY7-y*^K zP_I+uPNx$`lkOV^-RLcu7bUHHzQ16QT_DEU#B%BlQ)_{wY(i9~)#An-FAnNFdwqQN zO!F4QHakOy^DlTk{xmGR^>pSY8@0I%zFTJ+%{*xGN9r55kdXne{Ir*5X;)c1uezQ- zy6w)J3M(0ZcabHg9qvoEUFqtzIikEZd_ljqkQ7&d$P$kX4VkrHC55H9F68YOJjT!< zGIhmDGihGY6Q6eMIisX=+11JU&O3Dmg-E$>2T{fVCx#DI_KXa#uQtxnci+NPqxg|^ s>B_Q;|NV@PS#AA!W!2Y{_v;_CE6nYGvUzt(I?&?`p00i_>zopr0Of;&^8f$< literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/parts/thaumium_crossbar.png b/mods/tinker/textures/items/parts/thaumium_crossbar.png new file mode 100644 index 0000000000000000000000000000000000000000..3f178ceef01e4c7be311d3b667072d6ccdfec8a5 GIT binary patch literal 213 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rW01e^T>6`)X(r;B5V#p&b(3Dzx)my%}vUwYK! zzwqK|tkYZOOkreZWUpReEmA(Nl&|0tttH3mOjsCL8RTxf*c3hqXd8p4tDnm{r-UW|v|UAA literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/parts/thaumium_excavator_head.png b/mods/tinker/textures/items/parts/thaumium_excavator_head.png new file mode 100644 index 0000000000000000000000000000000000000000..6bc65802bc27056498c1906d320946698fd86312 GIT binary patch literal 267 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rWa;5x;}CxJpUJY5_^EKVmUNc?k%^7(A(fFW|M=K+ zl~b$+XU*khk`odV4!jg{%h@*jC7ZDU5X{-NXWBs@^BIo8cRL*Khls7_miX9e<73Rs z%zXHe=~anYoW~p%6rZinG(7u1#a-1kGl7MX;X0?yNtM{(wLmvAc)I$ztaD0e0svw! BT897t literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/parts/thaumium_frypan_head.png b/mods/tinker/textures/items/parts/thaumium_frypan_head.png new file mode 100644 index 0000000000000000000000000000000000000000..9657852dcc71f8d938307cee644ff119f98974d6 GIT binary patch literal 344 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rW8R8Oo64^Zf-r;B5V#p&dP1p)?-CQT5#{D(i; zzP40$xs_Oq)YBzA6I%a2HtJxFHTHRY{Jj3dM;>i|-OXDBr$75O%Wub`W7CS*N?Enp zfS@gS`t?OSS~%}|o|vUSukOr-q?2wSxwhH-eGmCuX1p~xEADTfmH-4h>ORYKJpzgw zuF#HHxP$31>x)^YS9>LtlKvFBDGQr9rkv#g0_|xzDHR{T>HRBdc*7gfkhx0QFlK*c z-@~J~cNY{kHFn4({O(`tcG1T`)vG)6pZR6pHg<_k3vVnE$PQ{->N3O8pm#@*($UJq b2aF84Huatte{byudYHk})z4*}Q$iB}j6#Al literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/parts/thaumium_full_guard.png b/mods/tinker/textures/items/parts/thaumium_full_guard.png new file mode 100644 index 0000000000000000000000000000000000000000..974c00adae725729ce555bef67d8110eb3c9778a GIT binary patch literal 233 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rWa#z&RxgFvA&PZ!4!i_^&o5}z6-PGHJ3Jp13^ z+vV`(EoqjNkdXM0bu5cPa~6m>Lxb1l zmPEnlgNCOT1xERNwzpre!VCn>yP8Csm+cZfe8}|b6IW%RXq>Z#pT}XKwZ@Zldl}cu QL;{%%p00i_>zopr0BFogCjbBd literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/parts/thaumium_hammer_head.png b/mods/tinker/textures/items/parts/thaumium_hammer_head.png new file mode 100644 index 0000000000000000000000000000000000000000..48e14c8d9224e2895dcdb713f02321fd5ae24698 GIT binary patch literal 317 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rUcQ|djF3qYY$o-U3d7N?UFBtA6=PH)*V<5|7L z@0Y7zTU<4Kc7n)w=qST83fd=?Ypu+NHwg948Ggp7<;g*vA36d zy<*P`wgYq4u1h$&U}fHsg1^r!+h+6k8UFe8wfEug^ZgQuhnn&p9Y23w(&FY%$viuY zV+Vi$q!dIKd_HK%W@e_>)<1v#;uY?O3~5GZcD`tHIr76;Wa@E2`QABi{_y1F#PGc0 z3M)AKW0A;e#i&z$|HIGO|DC_WLB-sVw~&G1VTMnp^yh08KwmLUJqI^E@-!kJ_ zebQCqMByoujS>`&3anYjQL;|)l&a4T6_cyI8vNZ;Kl}ezH}x^#S$Qg|{knC}5eX*l w8}8@z3~XvkWnKBX6`3cP{E_#4a)XhfK}_kYU(^hY p^7(A9Zf);5YhzV&hCRO&(8&%Z|9%NAas#@G!PC{xWt~$(69A!IU2gyY literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/parts/thaumium_largeplate.png b/mods/tinker/textures/items/parts/thaumium_largeplate.png new file mode 100644 index 0000000000000000000000000000000000000000..c04495d1628268189d57caf4b4c72de20e0c8c8a GIT binary patch literal 377 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rWOM*ea)e+C9dHcuDF5R21CC+zh*Y#`$1@2ru; z&^fXFndA)aq%_SWc1}*tP^XYwc8@D8IYF<~3hNTQHV6xe8h*$P|7Q7p^TU2gh919s z`+8}EXhmy_@4oQlZ{LhcAz9G1x6 z>2NAMdIK-dgP(F2+y97NV`8rRmVRPteEcNs`?J=%J-e`dr}j1Vun!j>7Vf<{CwT2I z=^2@JidVVj9{tNZYo!@`Qs23uir||*!ulDUzUZw6-%~i^rThWIG0BSPTTpH zMbYVsTGGS2kKgeW-d(7gbtpCRM$>nXg6{>sb6hO^zHbjH@GdB`Q>vK#N&hF)_WpAd U&S}Xf0|SY{)78&qol`;+07J-=S^xk5 literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/parts/thaumium_lumberaxe_head.png b/mods/tinker/textures/items/parts/thaumium_lumberaxe_head.png new file mode 100644 index 0000000000000000000000000000000000000000..175cfecf0067bdddd668c75ffd924a180fa84ac7 GIT binary patch literal 251 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rV{$*Povo)eG}g?&DfkctN!n=woqB+bp{DQ@ZkAWmy3V?K6h_hzJ8st lkO{+G1qp}iHe3n}40B{n7;h;4zXx;^gQu&X%Q~loCID4GS~36t literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/parts/thaumium_medium_guard.png b/mods/tinker/textures/items/parts/thaumium_medium_guard.png new file mode 100644 index 0000000000000000000000000000000000000000..bd9e3dc4a6927aaafa2931de82025c25c954de2f GIT binary patch literal 204 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rWGVv)G@d!SIHr;B5V#p&b(304tiw-}*INwfYZ zzFEG0-Q$qsE#8~wOkr%^w@ckQ{<)IKVUM!LnRy1y%XSGKK4f||BKAj=|L?B-EU~Yy{``m6-_6_R@84$_vuCI5a>t$< zNsKpD({>%?0fC$~F+A?)bdMRdv`(0udSvUr+Y(2O{`~seyT_sC(3cEN9;JjFqAPxMPd| T0t-E$n;AS^{an^LB{Ts5VcTrl literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/parts/thaumium_rod.png b/mods/tinker/textures/items/parts/thaumium_rod.png new file mode 100644 index 0000000000000000000000000000000000000000..e3bb3d16aaed9812ca2ec22aac5e202dc629efb2 GIT binary patch literal 201 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rUYr`6T;0H9Eqr;B5V#p&b(iAfILH(&1GGUHkO zCe!tE>Sx(7Yg~(&x;3xCgx%`;1wUhDyR(1xJmTq}7n@M=>y?$VC!4@($<>TYGL9KE qgq+o2o3L1t)uTIe()@jzj10|Up1GIOJRbpVVDNPHb6Mw<&;$U^zCcp| literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/parts/thaumium_scythe_head.png b/mods/tinker/textures/items/parts/thaumium_scythe_head.png new file mode 100644 index 0000000000000000000000000000000000000000..45b120a92a6563fdc0a45504d9e637a118df3f97 GIT binary patch literal 249 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0rV34&u4pPX6EKyO`<@Gxp~=lw;vN fD7Is91JG+yw#vICFNq5RUBuw&>gTe~DWM4fG{;Cf literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/parts/thaumium_shovel_head.png b/mods/tinker/textures/items/parts/thaumium_shovel_head.png new file mode 100644 index 0000000000000000000000000000000000000000..f92ade589a31655280565bc9852f2dccffc2a8ab GIT binary patch literal 221 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0m-fT z^YyB&$h&v`3m>ehGrx6DxUo85USCsV+)`fSgQM^S#K p8XjKU%zfmyGM>AKVYBSeV_Db=8XDK|z$Z(t@jRgc$C~hcDUgvhs<3ZyW3NkDHen-6*Y@;ihgK zTsiTc5Gw;?!|NXhxTe%|woiU6Hv8|S@B4XD)RZDLVw11D@6E95UU~J+r5dr|{pL!s z$zMu$RSHYS2ufaARcdhgSc(;!aqb6B(WR#@@hxUOH(mD73Y!~2%}QsQr_S7S&{==M zHq#$JHm@_xie{FoVx0P}lV{q@J!^{+Lux)?%>ufR4a=rCO zKbR}4&iW{|VCkDL@v#TH8XFrKm#58PJ7BWEqI&wni<`MC7I#k+IxE38VU^@j29Pa( v_B;aGvR_4Ws$tL~$vlRlM+%m;!CVYK5{tBcxCtr%-NxYQ>gTe~DWM4fy2oAz literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/pickaxe/thaumium_pickaxe_accessory.png b/mods/tinker/textures/items/pickaxe/thaumium_pickaxe_accessory.png new file mode 100644 index 0000000000000000000000000000000000000000..f00c73dd7bdb0df63ba8bb08f9ae9b5ee8481d57 GIT binary patch literal 167 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0pjthB!w>FHp$D)5S5w;&gI?M5IHM&*%MHW<0A; zF;olUF}Tc|_TqKSk%k-&PqqykiwxI9Y?_!T($jR1onh(;j)@hr>+b;dGkCiCxvXuK*K{4-J6XQph&z#pj_u<7&*0$yA*BMVrVc0lpqm)Be8V|F_ p)t)2<%UOX9TV|+L2D)l8FihvPH(9!Ew;9j^22WQ%mvv4FO#nhTLR|m= literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/pickaxe/thaumium_pickaxe_head.png b/mods/tinker/textures/items/pickaxe/thaumium_pickaxe_head.png new file mode 100644 index 0000000000000000000000000000000000000000..c72a3040e682af848d4f5fbba8f29e2956c2fc69 GIT binary patch literal 289 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0pjdc$YI9P@Z9(r;B5V#p&b(iHrjsz5!7_pY6>) zE?>Vcc}4ocr6BJ9-KBDeufKmUS@-wfu@9fGo3pX8wf%p=X85RBZj<+!l4eN>Ah`BE zH*t#CBB2eXFpt*pmePPXsWTC<@OnkK;RgESNNTk zT9DJ9m#bg*EZ19~nvnjusoQX(aB0pO5vc=bH9aC9O#~X)uf29c3ddoM1Q1|gcoS=0 TCZ*sF3IqmES3j3^P6Rnj)=d?={D;5z?8?*G57#9qU29mrex0$L<@OnkK;RgESNNTgT9DHppy55s_132* yq(5%zHk>G2nzJTm%F(@BW<0C^q9Mo1%*oK3rT2~hX0i*=c?_PeelF{r5}E+gd0`3w literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/rapier/thaumium_rapier_accessory.png b/mods/tinker/textures/items/rapier/thaumium_rapier_accessory.png new file mode 100644 index 0000000000000000000000000000000000000000..a383a5f685c76d2e8abf3eed565ca5776d4cf1d2 GIT binary patch literal 201 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0piK|Ft}hM?j%4PZ!4!i_^&o60D0GcocM({fv+D z`E1{F-er}Wr6%*IoLI~MU;eLJQ>wAe*ucPGgFyC)E>&sCx_`gg6wi6|y#4iR9*=l_ oUU~u$RQ!5nrR>^h_Je^zdXLOOhCi9LKpPl5UHx3vIVCg!0HtI>F8}}l literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/rapier/thaumium_rapier_blade.png b/mods/tinker/textures/items/rapier/thaumium_rapier_blade.png new file mode 100644 index 0000000000000000000000000000000000000000..95d44c4d4cf7a39925139a11191aed04cb8b27e1 GIT binary patch literal 186 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0pj#MsdpCPN0yxr;B5V#p&b?CLMqBGX;LmZ;VmU zUG}s7>7UDoPfl31rqub2fLl%5jF)W2dn&4@Km5`9v`0nSVU1$Xk&1SS=>jG#i6R&H a7#QXV+NN~Ix99+kWbkzLb6Mw<&;$U@7CbQk literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/rapier/thaumium_rapier_blade_broken.png b/mods/tinker/textures/items/rapier/thaumium_rapier_blade_broken.png new file mode 100644 index 0000000000000000000000000000000000000000..cdc0b7dd3c9347298974bf3393c335867642375f GIT binary patch literal 191 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0pi4^OvvUAR~P|T^vI!PA4Zwux?>&JZJh}msjb( z@ZxElvmdNHoh_--GF7s}utjis%a$3>>W%Lvw29}xHmdKI;Vst0Or&}+yDRo literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/scythe/thaumium_scythe_accessory.png b/mods/tinker/textures/items/scythe/thaumium_scythe_accessory.png new file mode 100644 index 0000000000000000000000000000000000000000..dd2d2361b1b20cbb8f64697a74da406e40608353 GIT binary patch literal 169 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0ph?w@l=rRG^TVr;B5V#p&b(3Dzs@QK$U=YhKz@ z^zY^W!$&5pT2uO;T}@15TV#~a=lTW3XX`T!&jKX`oU$0M+|anbBvUp0?{jC3d z(2z~7$khGF4`TxZg9+&lEoo-U3d7N?UFBv^Z%WL*g=`}P0h z=i*PM>*v(}+P`JSvwF1{t`C{(*1t^IQSr;L?(#+6i$FE~Ih#RpO@1wzmw?>(sayHh zN#-jY%HbAE+h)2qJbYlRBDE z(ksEXAp6)-M%e{N4uN!tty`I9aG5vlfV9VrKe8`knE4el4ShxIF6udad%yB@cIP)X e=7SYSnHgRtr>QYA_m%*C!QkoY=d#Wzp$PyW;(1m8 literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/scythe/thaumium_scythe_head.png b/mods/tinker/textures/items/scythe/thaumium_scythe_head.png new file mode 100644 index 0000000000000000000000000000000000000000..fbe08223bc5fd43d4ed3f250680d35565f109fd2 GIT binary patch literal 244 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0pj&QIvbN4p6Ak)5S5w;&gJ#0p=}J=KfpU9lLvX zzu?UCO}>k_%y?GM1_Y(7+8~O}w^SKS*9J$n9h>&){|Pq3N5zb16pZgC>~Q?GY!eR% z^y)t4x&H25@{w$YU5-UTY&?Bo3pLsVQW-XZc|wOy@x1=NZNd`q!={T9M0oTV7%I(V Vb``YtUI#jc!PC{xWt~$(69A`NO^5&h literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/scythe/thaumium_scythe_head_broken.png b/mods/tinker/textures/items/scythe/thaumium_scythe_head_broken.png new file mode 100644 index 0000000000000000000000000000000000000000..3f7f6eaf41387da2d0d5df85905096ffc7e378df GIT binary patch literal 223 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0pjQkY2`FWuQ=wr;B5V#p&b}1%@qC=KfRuy#DUp z;~i(x4=%U7u=ANcGc$AZvR#5eiuv%@+0P|_;GeSekrNIq4U#Q9d3F}Z3f{i6b6dpY zVCE5gx5M#%$h1ZvSh#WNoW>M^7crmrYh~Z9ZwoZwY7=K*&^40T=KcP20?=LtPgg&e IbxsLQ0Q#6pc>n+a literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/shovel/thaumium_shovel_handle.png b/mods/tinker/textures/items/shovel/thaumium_shovel_handle.png new file mode 100644 index 0000000000000000000000000000000000000000..d892c8cedfba3036ca0175b34f27db52e5367ed0 GIT binary patch literal 205 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0pjg$X8pgDL|npPZ!4!i_^&o60FWF8JgCA`AgRQ z)Yo11bN;JYlAM{(o{Oeee0jrk_;UDlNl&8&iL(~G3Sq`!%pMnek{YIMx?Il&1VJXo q20)-#>~Xb+ami7Wlik@~3=ESkOeGw)iEjtm!rUeHO+5d-k%581pZZ^~tdxZ~E+QYpfd#=zilMdym=^ZS>8 PRx^0I`njxgN@xNA@(WB1 literal 0 HcmV?d00001 diff --git a/mods/tinker/textures/items/shovel/thaumium_shovel_head_broken.png b/mods/tinker/textures/items/shovel/thaumium_shovel_head_broken.png new file mode 100644 index 0000000000000000000000000000000000000000..b4ce339f9f662039c077421b30d31e549c236d68 GIT binary patch literal 235 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP)J0piVlf