本模组添加了一个新的配置文件,其中仅包含一个可修改的数值:盐墙的碰撞高度。
如果你不了解在《Bewitchment》中盐的作用:
盐是一种类似于红石粉、但呈白色的方块。它可以阻止邪恶生物跨越它,具体机制是让盐块上方 1 个方块的高度以及盐块本身产生碰撞箱。玩家也可能变成吸血鬼等形态,而成为吸血鬼意味着你也无法跨越盐墙;如果你试图破坏它,会受到大量伤害。
本模组的功能:
本模组允许你增加碰撞框的高度。默认值为 2(即盐块上方的 1 个方块 + 盐块本身),如果将其设置为 3,则碰撞框总高度变为 3 个方块。该数值没有上限。
免责声明,下载前请阅读!
本模组理论上可以仅安装在服务端,但如果仅安装在服务端,客户端将不知道碰撞框的高度为 X,这可能导致一些显示异常。不过问题并不严重,因此你可以选择仅安装在服务端。
然而,如果你同时安装在服务端和客户端,服务器与连接玩家的配置文件中的设置必须一致。例如,如果客户端设置的盐高度为 4,而服务器仍使用默认的 2,那么当玩家站在盐墙上时,服务器会认为玩家在飞行。因此,要么将服务器端的盐高度设置得高于或等于客户端,要么如果你只打算连接其他服务器,就不要在客户端安装此模组。
我知道文字很多,但你可以让 ChatGPT 帮你总结一下之类的,随便啦。
为什么制作这个模组?
因为我觉得基础的盐墙效果不够好,玩家可以直接在上面建造建筑。
加入 Discord!你可以在这里寻求帮助、推荐模组、提出建议、闲聊,或者请求我制作过的任何模组的源代码(如果我还保留着的话)。
或者捐赠支持我的 Kofi,如果你心情慷慨的话!
依赖 Bewitchment
特别感谢 Bewitchment 开源,让我得以查看其代码,并从中获取 gradle.properties 和 build.gradle 的相关配置。
This mod adds a new config file with just one number to change, the height of the salt barrier.
IF YOU DONT KNOW WHAT SALT DOES IN BEWITCHMENT:
Salt is a block similar to redsone wire that is white and can stop evil creatures from going over it, it does that by making 1 block above it and itself have collision, players could also become, for example, a vampire, and being a vampire means you also cant cross the salt, if you try to break it, you receive a lot of damage.
WHAT THE MOD DOES:
This mod makes it so that you can increase the collision height, so default is 2 (1 block above salt + the salt block itself) and if you set it to three, then the collision box goes to in total, 3 blocks tall. there is no limit on what the number can be.
DISCLAIMER, READ BEFORE DOWNLOAD!
This mod is technically possible to be only serverside, but having it only be serverside means that the client doesnt know that the collision box is x high, meaning that some funky stuff can happen, its not too bad though so feel free to just keep serverside.
If you do however, have it server and client side, the config files from the server and the player connecting MUST MATCH UP, if the client has, for example, a salt height of 4, and the server of the default 2, then the server will think the player is flying if theyre standing on top of the salt, so OR make the server height higher than the client side OR dont install it client side if you are only gonna connect to servers.
I know, lots of words, but ask chatgpt to summarize or something idk.
WHY DID YOU MAKE THIS?
cause I thought the base salt was not good enough cause you can just build over it.
Join the Discord! You can ask for help, a mod, just suggest something, hangout or request the source code of any mod I have made (if I still have the source code)
Or donate to my Kofi incase you are feeling generous!
REQUIRES BEWITCHMENT
I want to give a big thanks to Beschmirchment for being open source, allowing me to look at it and take the gradle.properties and build.gradle stuff from it.
评论 0
登录后参与评分
还没有评论,来抢沙发吧