Chickenfix
A really hacky workaround for chickens suffocating when growing in a 1x1 space, designed for my fox-based chicken farm (temporary fix for MC-9568)
截图
介绍
Chickenfix
If raw chicken keeps appearing in your cooked chicken farm, this will probably fix it.
A really simple brute-force fix to chickens suffocating to death when they grow up in a confined space, such as in fox-based chicken farms. This datapack “fixes” the problem by teleporting a chicken that has just grown up to the horizontal center of the block it is standing on, but only if it is within five blocks of any entity named chickenfix (no upper case, no spaces).
Why isn’t the fix applied globally?
The primary reason is that normal chicken farms are very unlikely to run into this as an issue. If you know you need this fix, then you know you need it – for everyone else, it isn’t a problem.
As a side effect of applying this solution globally, if a chicken was standing in the same block as a fence when it grew up, it would be teleported to the center of the block and could escape. This would cause issues for chicken pens.
Performance
The Age NBT data of chickens is only accessed once every 60 seconds, and not for all chickens in the world – only those within five blocks of entities named chickenfix. This is extremely unlikely to cause any performance problems for real-world chicken farms.
常见问题
Chickenfix 支持哪些 Minecraft 版本?
Chickenfix 支持 Minecraft Java 版 1.18–1.21.8,共 24 个版本。下载时注意选择和你游戏版本一致的文件。
Chickenfix 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
clo4 的其他作品
查看全部 →
Detect AFK Players
AFK/idle detection that's extremely performant · Players go AFK after 3 minutes (configurable) without moving their mouse · Extend with plenty of add-ons!
Pause Day Cycle
Pause the in-game day if nobody's online or when all players are AFK. Fixes local difficulty on small SMP servers.
No Free Deaths: Better keepInventory
Lose XP and hunger with keepInventory. Stops players abusing death as a free reset, but without the punishment of losing all their stuff 😌
AFK Dim Names
Dim player names when they go AFK. Shows above their heads and in the server list.
评论
登录后评论和评分