Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Don't Drop XP

Don't Drop XP

Disables dropping your XP when you die. Perfect for players who want to drop items upon death but not lose their levels.

1,030
13
Game Mechanics
Utility

Compatibility

Minecraft: Java Edition

1.19.x
1.18.x

Platforms

Data Pack

Supported environments

Server-side
Client and server (optional)

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Creators

TimmyChips
TimmyChips Owner

Details

Licensed MIT
Published 2 years ago
Updated 2 years ago
DescriptionGalleryChangelogVersions

Overview

Drop Drop XP is a datapack that eliminates the hassle of losing your experience when dying. Unlike the gamerule keepInventory, players will drop their items upon death without worrying about losing their levels. It may be annoying to lose your XP when you want to enchant something, so this datapack removes players dropping XP while still losing their items. This datapack also has the option to have XP penalties when players die.

Scoreboard to Point Binary Decomposition by Cloud Wolf.

Optional Features

By default, the datapack's goal is to prevent any levels from being lost on death. However, there are a couple of options to have a penalty be applied upon death. By using the command, /function dont_drop_xp:_change_xp_penalty_type, you can change the type of XP penalty that will be applied when players die. Operators can additionally customize the percent of XP lost with /function dont_drop_xp:_change_xp_percent_lost.

Penalty Type Options:

  • Don't Drop XP: Default option. Players will not lose any levels.
  • Drop X% of XP: Players lose a percentage value of their XP ranging from 10% to 90%. Defaults to 60%.
  • Do Both; Players Decide: A mixture of the two. Players will retain all XP by default. A new text message will appear and give players the option to take a penalty. This is to give more freedom to players to decide for fair or unfair deaths.

Installing and Uninstalling the Pack

This datapack can not be easier to install and uninstall. Simply place the datapack file into the datapacks folder in your singleplayer or multiplayer world. Upon loading the world or by using the /reload command, the datapack will be installed.

To uninstall, use the command, /function #dont_drop_xp:uninstall. This will automatically remove all related objective scoreboards. You can then disable or delete the datapack from there.

Modrinth is open source.

main@396f737

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.