介绍
Block Rotation Lock
Features
This mod lets you lock the placement axis for blocks with the axis property (Logs, Pillars, Deepslate, Basalt, etc.).
Press the lock key (default: H) to set the lock direction. (Targeted block face or view direction if no block is targeted)
While the lock is active, all axis-based blocks you place will be oriented along the locked axis.
This is achieved by modifying the BlockHitResult of your placement action. A server running cheat detection might notice that you’re trying to place a block in a way you shouldn’t be able to. Use this mod only on servers where you know it’s allowed.
I only made this mod because I was using a lot of raw Deepslate for a build and didn’t like the fact that it can be placed like logs.
License
This mod is available under the CC0 license. Feel free to learn from it and incorporate it in your own projects.
常见问题
BlockRotationLock 支持哪些 Minecraft 版本?
BlockRotationLock 支持 Minecraft Java 版 1.21.10,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
BlockRotationLock 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
评论
登录后评论和评分