Mineuniverse
Log in Register
Mods

Death Controls

Take control of death and customize the logic behind what happens during death.
by Flytre7
Claim this project
600 downloads
0 likes
Updated Jun 30, 2026
0 hypes

 


https://imgur.com/ikjJxIi.png

 

REQUIRES FLYTRE LIB!

Use /reloadconfig after changing the config!

Fabric equivalent to CORPSE COMPLEX

 

Take control of death through a config powered by FlytreLib:

 

{
"inventory": {
"partial_keep_inventory": {
"keep_armor": true, <--- whether armor should drop on death
"keep_hotbar": true, <--- whether the hotbar should drop on death
"keep_mainhand": true, <--- whether your mainland item should drop on death
"keep_offhand": true, <--- whether your offhand item should drop on death
"keep_main_inventory": false <--- whether the main 27 slots of your inventory should drop on death
},
"loss": {
"durability_loss_on_dropped_items": 0.0, <---- % max durability that should be taken off dropped items
"durability_loss_on_kept_items": 0.0 <--- % max durability that should be taken off kept items
},
"random": {
"chance_of_dropping_each_kept_item": 0.0, <--- chance of dropping each item that would normally be kept instead
"chance_of_destroying_each_dropped_item": 0.0 <--- chance of destroying each item that would otherwise be dropped (including above)
},
"lists": {
"always_keep": [], <--- a list of item ids (i.e. "minecraft:diamond_ore") to always keep
"always_drop": [], <--- a list of item ids to always drop (may still be destroyed)
"always_destroy": [] <--- a list of item ids to always destroy
}
},
"effects": {
"respawn_effects": [ <--- a list of status (potion) effects to apply on respawn
{
"id": "minecraft:regeneration",
"duration": 200,
"amplifier": 0
}
],
"custom_effect": { <--- a custom effect to apply using attribute modifiers
"_comment": "Modifiers are added, while multipliers are multiplied to the default value. Gradual: true makes the effect intensity scale with duration",
"duration": 0,
"gradual_recovery": true,
"max_health_modifier": -10.0,
"knockback_resistance_modifier": 0.0,
"movement_speed_multiplier": 1.0,
"attack_damage_modifier": -1.0,
"attack_speed_multiplier": 1.0,
"armor_modifier": 0.0,
"armor_toughness_modifier": 0.0,
"attack_knockback_modifier": 0.0,
"luck_modifier": 0.0
}
},
"experience": {
"_comment": "Recoverable xp percent is the percentage of dropped xp the orbs contain. I.e. for 0.25, the orbs would contain 25 xp for every 100 xp dropped.",
"dropped_xp_percent": 0.25, <--- the percentage of xp that should be dropped, rather than kept by the player (1 - dropped_percent = kept percent)
"recoverable_xp_percent": 0.25, <--- the percentage of the value of dropped xp that is gained by collecting the orbs at the death location
"maximum_recoverable_xp": 1000.0, <--- a cap on the amount of recoverable experience
"use_vanilla_formula": false <--- whether to use the vanilla formula instead
}
}

No files available for download.

More from Flytre7

Giant AI
9,037
Terran Expansion
8,016
Chat+
75,407
Grass Bypass
716,723
World Properties
644
Aim Plus
6,355

You Might Also Like

APTweaks: Items (11.x Classic)
Item clustering (fallen blocks, experience orbs, ...) and garbage cleanup.
9,884,514
VanillaDeathChest (Fabric)
Places containers when players die that contain their items.
994,762
Styled Nicknames
Simple, but configurable nicknaming mod allowing your server's players (and admins) to change their nickname with full formatting support
989,499
Tiquality
Make server lag the problem of the source player.
99,489
Blame (Fabric)
Those gosh darn crashlogs not saying which worldgen feature is crashing!
99,012
Weathering with You
Forecast Minecraft weather with a radar or a hat!
98,579