跳到正文

Arrow Despawner

This is a datapack that reduces the time arrows shot by other mobs are stuck in the ground down to 10 seconds (vanilla is 60)

收藏

介绍

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

This datapack changes the max inGround value for Arrows to 10 seconds (200 ticks).

The vanilla arrow despawn time is a minute, which was causing severe lag combined with the mods Guard Villagers) and Traben’s 3D Arrows, during Raids and such. I imagine this datapack will also help people who use mods where they recruit villagers such as Villager Recruits

awesome sauce

If you want to adjust the amount of time arrows stay stuck in the ground, unzip the datapack, go to this file path:
arrow_despawner/data/arrow_timer/functions/tick.mcfunction

and adjust the command:
“execute as @e[type=arrow,tag=stuck_arrow,scores={arrow_timer=200..}] at @s run kill @s”

You can change the {arrow_timer=200..} to 600 ticks, which is 30 seconds, or even past the vanilla 1200 ticks (1 minute).

By default I have kept arrows shot by the player from despawning until 6000 ticks–5 minutes–which is the vanilla default. But you can of course change this value as well.

This was created for 1.20.1, but should work for all the other versions listed.

Happy mine and crafting!

常见问题

Arrow Despawner 支持哪些 Minecraft 版本?

Arrow Despawner 支持 Minecraft Java 版 1.17–1.21.5,共 23 个版本。下载时注意选择和你游戏版本一致的文件。

Arrow Despawner 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分