想象一下:你正漫步在沙漠之中。你的饥饿值几乎见底,但背包里还有一些小麦,于是你放置下工作台,准备制作一些美味的面包……然后 BAM!脚下突然裂开一道巨大的深渊:撒旦本人把你直接拖进了地狱!你掉进岩浆中死亡,所有物品全部丢失。
如果你也曾经历过类似的遭遇(除了撒旦那部分,我猜),那么这个模组或许正是你所需要的!
工作原理
Sand Fix 使沙子、砾石及其变体不再响应来自上方或侧面的方块更新。 其他可以下落的方块保持未修复状态,以避免可能破坏某些红石装置或高级技术内容。
本模组不会修复沙/砾石在没有下方方块支撑的情况下在半空中生成的问题。
模组兼容性
以与 Minecraft 相同方式实现可下落方块的模组,其方块默认应被此模组修复,除非这些方块具有 concrete_powder 或 anvil 方块标签。如果你是模组开发者,并希望你的方块与本模组兼容,你可以为其分配 has_sand_fix_prioritized 或 no_sand_fix 方块标签,以定义是否应用该修复。如果一个方块同时拥有这两个标签,如名称所示,has_sand_fix_prioritized 标签将优先生效。
备注
这是我制作第一个模组才过去几天,因此你可以期待在这个模组中看到同样的(缺乏的)代码质量。
本模组也在 Planet Minecraft 上提供
Picture this: you are wandering through a desert. Your hunger bar is almost empty but you have some wheat in your inventory, so you
place down your crafting table to prepare yourself some delicious bread... and then BAM! A huge chasm opens below your feet: it's Satan himself dragging you straight to Hell! You fall in lava and die, losing all of your items.
If you have found yourself in a similar situation (minus the Satan part, I guess) then this mod might be what you are looking for!
How it works
Sand Fix makes sand, gravel, and their variants not react to block updates coming from above or from the sides. Other blocks that can fall are left unfixed to avoid potentially breaking some redstone contraptions or advanced technical stuff.
This mod does not fix sand/gravel generating mid-air without blocks below it.
Mod compatibility
Mods that implement blocks that can fall in the same way Minecraft does should have their blocks fixed by default unless said blocks have the "concrete_powder" or "anvil" block tags. If you are a mod develeper and want your blocks to work with this mod you can assign them the "has_sand_fix_prioritized" or "no_sand_fix" block tag to define whether they have the fix or not. If a block ends up having both tags, the "has_sand_fix_prioritized" tag will prevail, as the name might suggest.
Notes
It has been only a few days since I made my first mod, so you can expect the same (lack of) code quality in this one.
This mod is also available on Planet Minecraft
评论 0
登录后参与评分
还没有评论,来抢沙发吧