Stay A While

Stay A While

Mod

Add gamerules for item despawn timers!

Server Game MechanicsUtility

703 downloads
13 followers
Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Stay A While 1.1.0 - 1.19.4

Changelog

Version 1.1.0

Additions

  • Added maxPlayerThrownItemAge gamerule. Controls number of ticks until items thrown on the by players (using the Q key by default) despawn (default: 6000)

Changes

  • Renamed gamerule itemDespawnAge to maxItemAge
  • Renamed gamerule deathItemDespawnAge to maxPlayerDeathItemAge

Technical Changes

  • Negative value despawn prevention is now implemented by setting the itemAge in the ItemEntity to the minimum signed 16-bit integer limit (-32768), taking advantage of vanilla behavior

Files

stay-a-while-1.1.0-1.19.4.jar(14.06 KiB) Primary Download

Project members

Jolkert

Owner

Details

Licensed MIT
Published a year ago
Updated a year ago