Giter VIP home page Giter VIP logo

configurable-despawn-timer's Introduction

Configurable Despawn Timer

Download

You can download Configurable Despawn Timer on CurseForge and Modrinth:

  CurseForge:   https://curseforge.com/minecraft/mc-mods/configurable-despawn-timer
  Modrinth:      https://modrinth.com/mod/configurable-despawn-timer

Issue Tracker

To keep a better overview of all mods, the issue tracker is located in a separate repository.
  For issues, ideas, suggestions or anything else, please follow this link:

    -> Issue Tracker

Pull Requests

Because of the way mod loader files are bundled into one jar, some extra information is needed to do a PR.
  A wiki page entry about it is available here:

    -> Pull Request Information

Mod Description

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 CurseForge or 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!


configurable-despawn-timer's People

Contributors

ricksouth avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.