Cosmetic Armor Reworked
Important Note: For the mod to work in multiplayer, it must be installed on both client and server.
This project is a reworked version of the original Cosmetic Armor mod, created specifically for Forge. The original mod had several bugs that the author didn't fix, so I decided to create my own improved version.
Main Features
The mod provides the ability to wear two sets of armor simultaneously: one for visual display, another for actual protection. You can also completely hide armor to see only your skin.
For PVP mode, there's a function to temporarily disable the mod on the client side.
How to Use
You can open the cosmetic armor inventory in two ways: by pressing an assigned key (not set by default, needs to be configured in the controls menu under "Inventory" category) or through a special button in the inventory interface (located in the bottom right corner near the character, similar to the Baubles button).
In the opened window, regular armor slots are on the left, cosmetic armor slots are on the right. Any armor placed in cosmetic slots doesn't affect character stats and serves only for visual display.
System Features
- Cosmetic armor drops on death, but you can enable an option in settings to keep it
- Small square buttons on cosmetic slots allow hiding individual armor pieces (white color - hidden)
- Same buttons are added to slots of other supported mods
- Button to the left of the inventory button disables the mod on the client (useful for PVP)
- Available commands:
/clearcosarmor [player]to clear cosmetic slots and/coshatto swap item in main hand with cosmetic helmet
Technical Details
The mod provides API for interaction with other mods. There might be some imperfections since development was done in a short timeframe - bug reports are welcome.
Credits
- dmillerw - original mod author
- azanor - for code learned from Baubles
- izuminya - for button icon
- Deph0 and sblectric - for support during my absence