Overview#
RpgZ is a gameplay enhancement mod that fundamentally changes how players interact with defeated enemies. Inspired by classic RPG titles, the mod removes the standard 'red flash' death animation and immediate item scattering. Instead, when a mob is killed, its model remains in the world as a lootable corpse. Players must manually interact with these remains to claim their rewards, adding a layer of realism and immersion to combat encounters.
While the mod is primarily developed for the Fabric loader, versions for Forge and NeoForge are also available for modern Minecraft versions like 1.20.1 and 1.21.1.
Core Mechanics#
The mod introduces several key mechanical shifts to the standard survival loop:
- Corpse Persistence: Upon death, a mob does not disappear. It transitions into a 'corpse' state, lying on the ground where it fell. By default, these corpses persist for 4 minutes before despawning.
- Manual Looting: Items are no longer automatically added to the player's inventory or dropped on the ground. Players must right-click the corpse to open a dedicated looting interface.
- Experience Handling: Experience points (XP) are typically handled through the same looting interface or dropped upon the initial death, depending on configuration settings.
- Environmental Interaction: Corpses are treated as temporary entities. They do not block movement like solid blocks but serve as the sole container for the mob's loot table.
Looting System#
When a player interacts with a fallen mob, a custom GUI appears. This interface displays all items the mob would have normally dropped according to its vanilla or modded loot table.
Interface Features
| Feature | Description |
|---|---|
| Loot Grid | A visual display of all items found on the mob. |
| Quick Collect | Players can shift-click items to move them instantly to their inventory. |
| Take All | A button or shortcut to empty the corpse's inventory in one click. |
| Corpse Cleanup | Once all items are removed, the corpse entity typically despawns immediately to save server resources. |
Configuration#
RpgZ is highly customizable through the Cloth Config API. Server administrators and players can fine-tune the looting experience to fit their specific gameplay style.
Available Settings
| Option | Default Value | Description |
|---|---|---|
corpseDespawnTime |
240 (seconds) | Determines how long a corpse stays in the world before disappearing with its loot. |
lootingDistance |
3.0 | The maximum range from which a player can interact with a corpse. |
onlyPlayerKills |
false | If true, only mobs killed by a player will leave a corpse; others will drop loot normally. |
entityBlacklist |
[] | A list of mob IDs (e.g., minecraft:creeper) that should never leave a corpse. |
autoLoot |
false | Enables automatic collection of items upon opening the corpse GUI. |
showCorpseName |
true | Toggles whether the name of the mob is displayed when hovering over the corpse. |
To access these settings in-game, the Mod Menu mod is recommended for Fabric users.
Technical Details#
RpgZ is designed to be lightweight and highly compatible with other mods. It does not add new items, blocks, or permanent entities to the game registry, ensuring that it can be added or removed from existing worlds with minimal risk.
- Mod Compatibility: Works seamlessly with mods that alter loot tables (such as LootJS or KubeJS) and mods that add new creatures. If a modded mob has a custom death animation, it may need to be added to the blacklist to prevent visual glitches.
- Requirements:
- Fabric: Requires Fabric API and Cloth Config API.
Gallery#

