mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
Allow Traveller's Glove & Belt to be properly enchanted in the Infusion Altar with Transparency (#127)
* Add configuration option to hide Traveller's gear accessories from displaying on player model * Make Translucency I and II enchantments from WG work properly with traveler's accessories (must enchant from book for now) * Update src/main/java/tconstruct/armor/ArmorProxyClient.java Co-authored-by: Alexander Anishin <[email protected]> * Implement suggested style changes * spotless fix * Implement fix from adventure backpacks mod to allow glove and belt to be infused properly with the WG enchants --------- Co-authored-by: Martin Robertz <[email protected]> Co-authored-by: Alexander Anishin <[email protected]>
This commit is contained in:
2 files changed
+10
No files matched your search
@@ -40,6 +40,11 @@ public class TravelBelt extends AccessoryCore implements IAccessoryModel {
|
||||
return ArmorProxyClient.belt;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isItemTool(ItemStack stack) {
|
||||
return true;
|
||||
}
|
||||
|
||||
ResourceLocation texture = new ResourceLocation("tinker", "textures/armor/travel_2.png");
|
||||
|
||||
@Override
|
||||
|
||||
@@ -25,6 +25,11 @@ public class TravelGlove extends AccessoryCore implements IAccessoryModel {
|
||||
return slot == 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isItemTool(ItemStack stack) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
protected void registerModifiers(IIconRegister iconRegister) {
|
||||
|
||||
Reference in new issue
Block a user