mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-26 06:52:58 +00:00
getting super close
This commit is contained in:
1 parent
625d319b0c
commit
f936434c71
17 files changed
+32
-29
No files matched your search
@@ -23,9 +23,9 @@ public class ArmorBasic extends ItemArmor
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getArmorTexture (ItemStack stack, Entity entity, int slot, int layer)
|
||||
public String getArmorTexture (ItemStack stack, Entity entity, int slot, String type)
|
||||
{
|
||||
return "tinker:textures/armor/" + textureName + "_" + layer + ".png";
|
||||
return "tinker:textures/armor/" + textureName + "_" + type + ".png";
|
||||
}
|
||||
|
||||
}
|
||||
@@ -21,7 +21,7 @@ public class ArmorStandard extends ArmorCore
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getArmorTexture (ItemStack stack, Entity entity, int slot, int layer)
|
||||
public String getArmorTexture (ItemStack stack, Entity entity, int slot, String layer)
|
||||
{
|
||||
return "tinker:textures/armor/wood_" + layer + ".png";
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ public class ExoArmor extends ArmorCore
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getArmorTexture (ItemStack stack, Entity entity, int slot, int layer)
|
||||
public String getArmorTexture (ItemStack stack, Entity entity, int slot, String layer)
|
||||
{
|
||||
return "tinker:textures/armor/" + textureName + "_" + layer + ".png";
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ public class TArmorBase extends ItemArmor
|
||||
*/
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public String getArmorTexture (ItemStack stack, Entity entity, int slot, int layer)
|
||||
public String getArmorTexture (ItemStack stack, Entity entity, int slot, String layer)
|
||||
{
|
||||
return "/mods/tinker/textures/armor/wood_1.png";
|
||||
}
|
||||
|
||||
@@ -275,7 +275,7 @@ public class Battleaxe extends HarvestTool
|
||||
localMeta = world.getBlockMetadata(x, yPos, z);
|
||||
if (!player.capabilities.isCreativeMode)
|
||||
{
|
||||
if (block.removeBlockByPlayer(world, player, x, yPos, z))
|
||||
if (block.removedByPlayer(world, player, x, yPos, z))
|
||||
{
|
||||
block.func_149664_b(world, x, yPos, z, localMeta);
|
||||
}
|
||||
|
||||
@@ -217,7 +217,7 @@ public class Excavator extends HarvestTool
|
||||
{
|
||||
if (!player.capabilities.isCreativeMode)
|
||||
{
|
||||
if (block.removeBlockByPlayer(world, player, xPos, yPos, zPos))
|
||||
if (block.removedByPlayer(world, player, xPos, yPos, zPos))
|
||||
{
|
||||
block.func_149664_b(world, xPos, yPos, zPos, localMeta);
|
||||
}
|
||||
|
||||
@@ -314,7 +314,7 @@ public class Hammer extends HarvestTool
|
||||
{
|
||||
if (!player.capabilities.isCreativeMode)
|
||||
{
|
||||
if (localBlock.removeBlockByPlayer(world, player, xPos, yPos, zPos))
|
||||
if (localBlock.removedByPlayer(world, player, xPos, yPos, zPos))
|
||||
{
|
||||
localBlock.func_149664_b(world, xPos, yPos, zPos, localMeta);
|
||||
}
|
||||
|
||||
@@ -240,7 +240,7 @@ public class LumberAxe extends HarvestTool
|
||||
}*/
|
||||
if (!player.capabilities.isCreativeMode)
|
||||
{
|
||||
if (block.removeBlockByPlayer(world, player, xPos, yPos, zPos))
|
||||
if (block.removedByPlayer(world, player, xPos, yPos, zPos))
|
||||
{
|
||||
block.func_149664_b(world, xPos, yPos, zPos, meta);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user