# RPC Slots Bridge
**Compatibility addon for Ragdollified Player Corpse × Slots Unofficial**
## What This Addon Does
- **Prevents the ground-dump.** Your Slots Unofficial inventory is captured the instant you die,
before it ever hits the floor.
- **Binds it to your corpse.** The captured items are tied to that specific corpse, so if you
die more than once, each corpse keeps its own separate stash.
- **Adds a "Slots" button** to the corpse screen that opens a dedicated inventory view for
those items, plus a "Back" button to return to the corpse's own screen.
- **Always shows a full 9×6 (54-slot) grid**, no matter how many slots you actually had
unlocked when you died — nothing is hidden.
- **No extra textures.** The bridge screen reuses vanilla's large chest texture
(`generic_54.png`), so it looks and feels exactly like a vanilla double chest.
- **No Mixin.** The corpse-screen button is added through Forge's standard `ScreenEvent`
hook, without touching either mod's classes directly — should be resilient to minor
updates on both sides.
## Requirements
- Minecraft 1.20.1
- Forge 47.4.10+
- Ragdollified Player Corpse (required)
- Slots Unofficial (required)
Both are hard dependencies — this addon does nothing on its own.
## Configuration
Client-only config (`config/rpcslotsbridge-client.toml`) lets you reposition and resize both
injected buttons, in case they overlap other UI elements in your particular setup:
```toml
[openSlotsButton]
showButton = true
buttonOffsetX = 135
buttonOffsetY = 34
buttonWidth = 35
buttonHeight = 15
[backButton]
showBackButton = true
backButtonOffsetX = 4
backButtonOffsetY = -18
backButtonWidth = 40
backButtonHeight = 15
```
## Localization
Ships with English and Japanese translations out of the box, using the standard vanilla
JSON language file format. Contributions for other languages are welcome.
## Known Limitations
- If `keepInventory` is enabled, neither mod drops or captures anything, so this addon simply
does nothing on death (as expected).
- The captured Slots Unofficial items live in their own save data keyed to the corpse's ID —
if the corpse itself is deleted/expired by Ragdollified Player Corpse, the bridged items go
with it.
## Credits
- **Ragdollified Player Corpse** by raiiiden
- **Slots Unofficial** by takapii_kun0717 (unofficial fork of the original Slots mod)
This add-on is an unofficial compatible MOD not affiliated with the author of Ragdollified Player Corpse.