当矿车移动时,Chest_minecarts 仅加载其周围 3x3 的区块范围。
在驶离后卸载这些区块。
如果它们停止或已经静止,则卸载其周围 5x5 区块范围内所有强制加载的区块。
在矿车完全静止之前不要破坏它!否则区块将不会被卸载。
穿过传送门的 Chest_minecarts 会留下 3x3 已加载的区块。因此请注意这一点。
每次启动游戏或服务器以及每次重新加载都会移除所有强制加载的区块。
请注意,除了启动之外,如果矿车穿过这些区块,也会干扰强制加载的区块。
如果您附近有多个 chest minecarts(包括从废弃矿井自动生成的),它可能会崩溃。
对于服务器管理员,请注意这将使得构建区块加载器变得容易,并且容易被利用来造成卡顿。
您可以用于自己的项目和服务端。
您也可以将其放入整合包中,只需在整合包描述中注明我的名字即可。
Q&A:
问:你会为更新版本进行更新吗?
答:只要我自己还在用就会更新。如果你好好请求的话,也许吧。
问:你会优化它的性能吗?
答:目前不会,因为它对我的性能没有影响。
问:你会修复传送门遗留的区块加载和移动时的移除问题吗?
答:也许未来某个时候会。这是我的第一个数据包,我还没有这方面的知识(暂时)。
感谢 Reddit 上的 GalSergey 和 DatapackHub Discord 社区提供的技术支持
感谢 KamiKarl 提供缩略图
Chest_minecarts now load a 3x3 chunk area around them only when moving.
They unload them after moving past.
If they stop or are already standing still they unload any forceloaded chunks in 5x5 chunks around them.
Don't destroy chest minecarts before they are standing completely still! Otherwise the chunks won't be unloaded.
Chest_minecarts traveling through a portal will leave behind 3x3 loaded chunks. So be beware of that.
Every startup of the game or server and every reload will remove ALL forceloaded chunks.
Note that beside the startup, it also will mess with forceloaded chunks if the minecart travels through them.
It might brake if you have multiple chest minecarts in vicinity. Even autogenerated ones from mineshafts.
For server owners, know that this will make it easy to build chunk loaders and can be easily exploited for lag.
You may use it for your own and for servers.
You can also put it in a pack if you want, just credit me in the pack description.
Q&A:
Q: Will you update this for newer versions?
A: As long as I use it myself yes. And if you ask nicely, maybe.
Q: Will you optimise it for performance?
A: Currently not, since it has not impacted my performance.
Q: Will you fix the left over chunk loading from portals and removing while moving?
A: Maybe some time in the future. This is my first datapack and I don't have the knowledge for this (yet).
Thanks to GalSergey from Reddit and the DatapackHub Discord for the TechHelp
Thanks to KamiKarl for the Thumbnail
评论 0
登录后参与评分
还没有评论,来抢沙发吧