Backtank is not hidden when the player chestplate is hidden
GibrielS opened this issue · 2 comments
Describe the Bug
the copper backtanks cannot be modified by figura models - as they are not hidden if vanilla chestplates are hidden
attached is the figura model I used - it hides the vanilla chestplate's center, which should hide the backtank and the middle section of the netherite chestplate added to the netherite backtank.
create mod.zip
In scripts/run.lua,
vanilla_model.CHESTPLATE_BODY should affect the backtank, and the middle section of the netherite chestplate added to the netherite backtank, not the arm covers.
vanilla_model.CHESTPLATE should affect the backtank, and all sections of the netherite chestplate added to the netherite backtank.
Reproduction Steps
- activate the model in figura
- wear a copper backtank
X backtanks appear despite the chestplate body part being hidden
X netherite chestplate added to netherite backtank also appears despite being set to hide.
...
Expected Result
The backtank would hide because I have hidden the vanilla model parts.
vanilla_model.CHESTPLATE:setVisible(false) should hide all chestplates
vanilla_model.CHESTPLATE_BODY:setVisible(false) should hide all chestplate bodies
Screenshots and Videos
No response
Crash Report or Log
No response
Operating System
Ubuntu 23.10 (Linux), (shouldn't be relevant)
Mod Version
0.5.1d
Minecraft Version
1.20.1
Other Mods
figura
Additional Context
Create's goggles seem to work fine though.