# Ragdollified Player Corpse - Custom Colors
A lightweight addon mod that lets you fully customize the colors of **Ragdollified Player Corpses**'
corpse inventory screen and compass screen through a client-side config file.
The target mod draws its GUI with flat-color rectangles (`fill()` calls) instead of textures, so a
normal resource pack cannot change its look. This addon uses Mixin to swap out **only the raw color
values** — no logic or layout in the base mod is touched.
## Features
- Recolors both the corpse inventory screen (`CorpseScreen`) and the compass screen (`CorpseCompassScreen`)
- Individually configurable: panel background, borders, dividers, slots, lock overlay, and the padlock icon
- Colors are specified in the familiar **`#RRGGBB`** hex format (same as HTML/CSS)
- Configured via `config/rpccolors-client.toml` — **just save the file while the game is running** and the
new colors apply next time you open the GUI (no restart or rebuild needed)
- Malformed entries fall back to their default color individually, without affecting the rest of the config
## Requirements
| Item | Version |
|---|---|
| Minecraft | 1.20.1 |
| Forge | 47.1.0 or later |
| Required mod | Ragdollified Player Corpses (**not bundled**, must be installed separately) |
## Installation
1. With Ragdollified + Ragdollified Player Corpses already installed, drop this mod's jar into your `mods` folder
2. Launch the game once — `config/rpccolors-client.toml` will be generated automatically
3. Edit the values to your preferred colors (`#RRGGBB` format) and save
4. The new colors will show up the next time you open the corpse GUI or compass GUI
## Example config
```toml
[colors]
panelBackground = "#4B3A2F" # Overall panel background
panelBorderDark = "#2A1F19" # Dark outer shadow line
panelBorderLight = "#B88A5A" # Light outer highlight line
dividerDark = "#241A15" # Divider / slot border (dark)
dividerLight = "#C9A876" # Divider / slot border (light)
slotFill = "#6B5240" # Slot interior / portrait background box
lockOverlayColor = "#1A1210" # Lock overlay tint color
lockOverlayAlpha = 170 # Lock overlay opacity (0-255)
lockBorder = "#3A2A20" # Lock overlay border
padlock = "#E8C88A" # Padlock icon color
```
## Compatibility & Notes
- This is an **unofficial fan-made addon** and is not affiliated with the developer of Ragdollified Player Corpses
- Purely cosmetic — has no effect on existing worlds or save data
- May break if a future update to the base mod changes its internal class structure
- Client-side only (`side="CLIENT"`) — safe to leave off servers, or install client-side only in a server pack
## Credits
- Base mod: **Ragdollified Player Corpses** by raiiiden
- This addon: takapii_kun0717