mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-27 23:45:48 +00:00
Fix some bugs, and format code (Commented out woolslabs for now)
This commit is contained in:
1 parent
0241e5273c
commit
b6ba8700ad
28 files changed
+216
-1877
No files matched your search
@@ -26,7 +26,8 @@ public class ArmorBasic extends ItemArmor
|
||||
@Override
|
||||
public String getArmorTexture (ItemStack stack, Entity entity, int slot, String type)
|
||||
{
|
||||
return "tinker:textures/armor/" + textureName + "_" + type + ".png";
|
||||
int suffix = this.armorType == 2 ? 2 : 1;
|
||||
return "tinker:textures/armor/" + textureName + "_" + suffix + ".png";
|
||||
}
|
||||
|
||||
}
|
||||
@@ -3,6 +3,7 @@ package tconstruct.items.armor;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import tconstruct.common.TRepo;
|
||||
import tconstruct.library.armor.ArmorCore;
|
||||
import tconstruct.library.armor.EnumArmorPart;
|
||||
|
||||
@@ -23,7 +24,8 @@ public class ArmorStandard extends ArmorCore
|
||||
@Override
|
||||
public String getArmorTexture (ItemStack stack, Entity entity, int slot, String layer)
|
||||
{
|
||||
return "tinker:textures/armor/wood_" + layer + ".png";
|
||||
int suffix = this.armorType == 2 ? 2 : 1;
|
||||
return "tinker:textures/armor/wood_" + suffix + ".png";
|
||||
}
|
||||
|
||||
}
|
||||
@@ -48,12 +48,12 @@ public class Mattock extends DualHarvestTool
|
||||
}
|
||||
|
||||
static Material[] axeMaterials = { Material.wood, Material.cactus, Material.plants, Material.vine };// TODO
|
||||
// find
|
||||
// this//,
|
||||
// Material.pumpkin,
|
||||
// Material.plants,
|
||||
// Material.vine
|
||||
// };
|
||||
// find
|
||||
// this//,
|
||||
// Material.pumpkin,
|
||||
// Material.plants,
|
||||
// Material.vine
|
||||
// };
|
||||
static Material[] shovelMaterials = { Material.grass, Material.ground, Material.clay };
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user