Trapdoors and Ladders
Vanilla trapdoor-and-ladder behavior is hardcoded to only the vanilla ladder. This fixes it so it works with modded ladders too.
介绍
When I created a mod to add ladders of all the vanilla wood variants, I discovered rapidly, to my dismay, that vanilla Minecraft has a very stupid thing: The code which allows an entity to climb through an open trapdoor as if it were a ladder, providing the block below is also a ladder, is _hardcoded to the vanilla ladder_.
This made no sense to me, and was also easily fixed with a small mixin (after I successfully made trapdoors crash the game briefly). Since then, I have abandoned that variant mod, preferring those others have done… but they don’t necessarily include their own code for ladders and trapdoors!
So I’m releasing this. It’s literally just the mixin. You can plop it into your mod folder and poof, any ladder that is an instance of the vanila ladder block class should work with any trapdoor that’s an instance of trapdoor. Unless a mod did something really weird, this should work globally.
If a mod already has this, it may or may not still work with it but mine is likely not needed if someone else did it. You only need this if you get to the top of your ladder and can’t climb through the trapdoor itself.
License is ARR. Feel free to use it in modpacks, and it’d be absolutely stupid to say not to use it in videos… But if you see it posted elsewhere, assume the unscrupulous individual who did so may have also altered it dangerously! If they’re willing to go _that_ far… shrug
常见问题
Trapdoors and Ladders 支持哪些 Minecraft 版本?
Trapdoors and Ladders 支持 Minecraft Java 版 1.20.1–1.21.3,共 10 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Trapdoors and Ladders 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
obsidian29 的其他作品
查看全部 →
obsidian29’s Tuff Backport
将 1.21 实验版中的凝灰岩方块移植到 1.20.1。测试版。
Obsidian’s Bricks
添加更多砖块和其他城市建造材料。我受够了游戏里现有的那些。
HMBWIA Steel
Commissioned mod to just add steel.
Obsidian’s Fixes: Dyed Seasons
Prevents a crash when Fabric Seasons: Extras is loaded with any mod that adds dyes, such as Dye Depot.
评论
登录后评论和评分