跳到正文

Configurable Despawn Timer

作者:Serilum

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

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

A Serilum Mod. Made with love. Lots of active mods for Fabric, Forge and Neo!

CurseForge Modrinth Patreon YouTube

About the 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.

Dependencies

Requires Collective
Included in The Vanilla ExperienceIncluded in Serilum's Customization Bundle
Environment: Server

Configurable

Configuration guide

   All available config options:

Show Spoiler

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.

Description

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.

Notes and links

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

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

For issues, ideas, suggestions or anything else there is the Github repo. Thanks!

常见问题

Configurable Despawn Timer 支持哪些 Minecraft 版本?

Configurable Despawn Timer 支持 Minecraft Java 版 1.16.5–26.3,共 29 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Configurable Despawn Timer 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

Serilum 的其他作品

查看全部 →