Allow hiding of Traveller's Gear accessories (gloves and belt) through config option and Translucency enchant (#125)

* 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

---------

Co-authored-by: Martin Robertz <[email protected]>
Co-authored-by: Alexander Anishin <[email protected]>
This commit is contained in:
authored and GitHub committed 2024-10-10 09:06:21 +02:00
1 parent 46e26a7168
commit 3ffa69d254
3 files changed
+69 -37

No files matched your search

@@ -250,6 +250,8 @@ public class PHConstruct {
conTexMode.comment = "0 = disabled, 1 = enabled, 2 = enabled + ignore stained glass meta";
connectedTexturesMode = conTexMode.getInt(2);
showTravellerAccessories = config.get("Looks", "Show Traveller Gear Accessories", true).getBoolean(true);
// dimension blacklist
cfgForbiddenDim = config
.get(
@@ -482,6 +484,7 @@ public class PHConstruct {
// Looks
public static int connectedTexturesMode;
public static boolean showTravellerAccessories;
// dimensionblacklist
public static boolean slimeIslGenDim0Only;