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
Configurable Despawn Timer

Configurable Despawn Timer

✏️ Allows items and experience orbs to remain longer, shorter or infinitely on the ground

39.1k
79
Game Mechanics
Utility

Compatibility

Minecraft: Java Edition

1.21.x
1.20.x
1.19.2–1.19.4
1.18.2
1.16.5

Platforms

Fabric
Forge
NeoForge
Quilt

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source
Donate on Patreon

Creators

Serilum
Serilum Owner

Details

Licensed ARR
Created 2 years ago
Updated last month
DescriptionChangelogVersions

Requires the library mod Collective.

   This mod is part of The Vanilla Experience modpack and Serilum's Customization Bundle mod.
Configurable Despawn Timer allows items and experience orbs to remain on the ground longer or shorter than the default lifespan. It is highly configurable. There is a global settings file for the default values. You can also set it so that all items dropped by players will remain on the ground infinitely. And lastly a config file is generated after the first world load, containing all item names. Here you can set a despawn time for any item specifically. There is a command to reload any changes.

Minecraft's default despawn time is 5 minutes. The mod's default is 10 minutes for both items and experience orbs.


The ItemExpireEvent will still run after the altered lifespan, making it compatible with other mods.


Configurable: ( how do I configure? )
globalItemDespawnTimeInTicks (default = 12000, min 1, max 2147483647): The delay in ticks when an item should despawn. Minecraft's default time is 6000 ticks. 1 second is 20 ticks.
globalExperienceOrbDespawnTimeInTicks (default = 12000, min 1, max 2147483647): The delay in ticks when experience orbs should despawn. Minecraft's default time is 6000 ticks. 1 second is 20 ticks.
preventDespawnForPlayerItems (default = false): Whether items thrown/dropped by players should not despawn at all. Works for manual dropping and also on death. Overrides the other time settings.


Commands:
/cdt usage - Shows the usage of commands.
/cdt reload - Reloads all manual changes to the despawn timer config file.


Item specific settings:
It is possible to set despawn times for specific items as well. When you first generate or load a world, a file is created located in './config/configurabledespawntimer' called 'specific_despawn_times.txt'.

A value of -1 means it will use the global settings, 0 means the item won't despawn at all, and any other positive value will be the despawn time in ticks. 20 ticks = 1 second.



------------------

You may freely use this mod in any modpack, as long as the download remains hosted within the Modrinth ecosystem.

Serilum.com contains an overview and more information on all mods available.

Comments are disabled as I'm unable to keep track of all the separate pages on each mod.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!


Modrinth is open source.

main@016c3d7

© 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.