Configurable Despawn Timer

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

64,63k

Configurable Despawn Timer

<p style="text-align: center;"><center><a href="https://serilum.com/" target="_blank" rel="noopener noreferrer"><img src="https://cdn.serilum.com/description/header/header.png" alt="" width="838" height="400" /></a></p><p style="text-align: center;"><a href="https://curseforge.com/members/serilum/projects" target="_blank" rel="noopener noreferrer"><img src="https://wsrv.nl/?url=https://workflow.serilum.com/badges/svg/curseforge.svg&w=400" width="200" /></a> <a href="https://modrinth.com/user/Serilum" target="_blank" rel="noopener noreferrer"><img src="https://wsrv.nl/?url=https://workflow.serilum.com/badges/svg/modrinth.svg&w=400" width="200" /></a> <a href="https://patreon.com/serilum" target="_blank" rel="noopener noreferrer"><img src="https://wsrv.nl/?url=https://workflow.serilum.com/badges/svg/patreon.svg&w=400" width="200" /></a> <a href="https://youtube.com/@serilum" target="_blank" rel="noopener noreferrer"><img src="https://wsrv.nl/?url=https://workflow.serilum.com/badges/svg/youtube.svg&w=400" width="200" /></a></center></p><p><strong><span style="font-size: 24px;">Requires the library mod <a style="font-size:24px" href="https://modrinth.com/mod/collective" target="_blank" rel="nofollow">Collective</a>.</span></strong><br><br><strong>   This mod is part of <span style="color:#008000"><a style="color:#008000" href="https://modrinth.com/modpack/the-vanilla-experience" target="_blank" rel="nofollow">The Vanilla Experience</a></span> modpack and <span style="color:#666"><a style="color:#666" href="https://modrinth.com/mod/serilums-customization-bundle" target="_blank" rel="nofollow">Serilum's Customization Bundle</a></span> mod.</strong><br><span style="font-size:18px">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.<br><br>Minecraft's default despawn time is 5 minutes. The mod's default is 10 minutes for both items and experience orbs.</span><br><br>The ItemExpireEvent will still run after the altered lifespan, making it compatible with other mods.<br><br><br><strong><span style="font-size:20px">Configurable:</span> <span style="color:#008000;font-size:14px"><a style="color:#008000" href="https://github.com/Serilum/.information/wiki/how-to-configure-mods" rel="nofollow">( how do I configure? )</a></span><br></strong><span style="font-size:12px"><strong>globalItemDespawnTimeInTicks</strong> (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.</span><br><span style="font-size:12px"><strong>globalExperienceOrbDespawnTimeInTicks</strong> (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.</span><br><span style="font-size:12px"><strong>preventDespawnForPlayerItems</strong> (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.</span></p>
<p><br><span style="font-size:24px"><strong>Commands:</strong></span><br><span style="font-size:14px"><em>/cdt usage</em></span> - Shows the usage of commands.<br><span style="font-size:14px"><em>/cdt reload</em></span> - Reloads all manual changes to the despawn timer config file.<br><br><br><span style="font-size:24px"><strong>Item specific settings:<br></strong></span><span style="font-size:14px">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 '<em><strong>./config/configurabledespawntimer</strong></em>' called '<em><strong>specific_despawn_times.txt</strong></em>'.<br><br>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.</span><br><img src="https://cdn.serilum.com/projects/configurable-despawn-timer/a.png"><br><br>------------------<br><br><span style="font-size:24px"><strong>You may freely use this mod in any modpack, as long as the download remains hosted within the Modrinth ecosystem.</strong></span><br><br><span style="font-size:18px"><a style="font-size:18px;color:#008000" href="https://serilum.com/" rel="nofollow">Serilum.com</a> contains an overview and more information on all mods available.</span><br><br><span style="font-size:14px">Comments are disabled as I'm unable to keep track of all the separate pages on each mod.</span><span style="font-size:14px"><br>For issues, ideas, suggestions or anything else there is the <a style="font-size:14px;color:#008000" href="https://github.com/Serilum/.issue-tracker" rel="nofollow">Github repo</a>. Thanks!</span><span style="font-size: 6px;"><br /><br /></span></p>

ADS