跳到正文

Trapdoors and Ladders

作者:obsidian29

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 的其他作品

查看全部 →