Stay A While 图标

Stay A While

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 2.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/stay-a-while
资源信息

Minecraft 版本: 1.21.1

平台: neoforge

标签: game-mechanics utility

资源介绍

Stay A While

Have you ever thought that your items disappear too quickly? Perhaps the normal timer is just fine, but you wish you had
just a little more time to collect your items after you die. Or maybe you want your items to despawn faster to give death
that little extra stress factor. You might also hate it when you die and your items scatter everywhere.
If any of these things sound like you, Stay A While can help with that.

What does it do?

By default, Stay A While makes items dropped upon death never despawn and not scatter randomly.
Additionally, it adds 4 new gamerules to customize behavior:

  • maxPlayerThrownItemAge the amount of ticks an item that was thrown by a player (using Q key by default) takes to despawn (default: 6000)
  • maxPlayerDeathItemAge the amount of ticks an item that was dropped by a player upon death takes to despawn (default: -1; vanilla behavior: 6000)
  • maxItemAge the amount of ticks all other dropped items take to despawn (default: 6000)
  • scatterDeathItems whether or not items dropped upon death scatter randomly (default: false, vanilla behavior: true)

In case you are unfamiliar with them, 20 ticks == 1 second : 1200 ticks == 1 minute : 6000 ticks == 5 minutes
Values less than 0 (i.e. negative values) on the item-age gamerules are interpreted to mean "never despawn"

Other questions you might want answers to

Does this work on servers?

Yes! Just install on the server and you're good to go. No players need to install!

What if I change the value while items are still on the ground?

If the max age is raised while the item is still alive, it will always follow the new lifespan, extending the life of the item.
If the max age is lowered while the item is still alive, the behavior currently differs between modloaders:

  • On Fabric: items begin checking against the new age immediately, so the item's lifespan is reduced upon changing
    the gamerule
  • On Neoforge: items only begin checking against the new age if they attempt to despawn, so the item's lifespan is unaffected,
    continuing to follow the previous timer
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Alchemist's Arsenal

价格:0 墨喵币
下载量:0

查看详情
Project - New Wind

价格:0 墨喵币
下载量:0

查看详情
Item Group Creator

价格:0 墨喵币
下载量:0

查看详情
Melancholic Hunger & HUD

价格:0 墨喵币
下载量:0

查看详情