
Elevators
功能介绍
它基本上将 OpenBlocks 模组中的电梯方块添加到了原版游戏中。
电梯方块可以通过在工作台中用 8 块羊毛围绕一颗末影珍珠来合成。

当放置在相同的 x/z 坐标时,跳跃或潜行会让你直接传送到正上方/下方的下一个电梯。只有当该方块正上方的两个方块均为空气时,该电梯才会被视为可用。
默认情况下,所有电梯互相连接,但通过_设置_你可以启用颜色模式,允许你为电梯染色,并仅连接相同颜色的电梯。
在设置中,你还可以设定使用电梯所需的经验值消耗。
得益于 1.20 引入的新机制,你甚至可以通过右键点击任意方块来伪装你的电梯方块。
要移除电梯,用镐子敲击它即可。
要在游戏内显示一些基本帮助信息,请使用 /trigger elevator.help。
安装方法
下载 zip 文件并将其放入 world/datapacks 文件夹中。如果世界已经运行,请执行 reload。至此即可完成安装并开始生效。
不过,请查看以下设置以自定义你的体验。
设置
这个数据包包含一些设置,你可以根据需要进行调整以自定义体验。所有设置都通过在聊天栏中运行以下命令来更改:
scoreboard players set <setting> elevator.settings <value>
range
默认值:384
限制电梯传送玩家的最大距离。默认为整个世界的垂直高度。将其设置为低于 3 的值将使所有电梯失效。
sameColor
默认值:0
如果设置为 1,电梯只会将玩家传送到同色的其他电梯。建议在此选项开启时也启用 showColor。右键点击电梯并使用染料可以改变其颜色。
showColor
默认值:0
如果设置为 1,电梯会用一个小粒子显示其设定的颜色。这也便于观察电梯的位置。
requireXP
默认值:0
一个大于 0 的值,要求玩家支付相应数量的经验点(不是等级!)才能使用电梯。如果他们的经验值低于此数值,将无法使用电梯。
故障排除
如果数据包的某些部分不再按预期工作(合成、放置、破坏、交互),你可以采取以下步骤尝试解决:
由于许多功能是通过进度(advancements)触发的,运行 advancement revoke Player from elevator:root 应该可以重置“Player”的触发器。这应该能修复大多数问题。
联系方式
如果你有任何问题、意见、赞扬或发现了 bug,可以直接联系 contact@plagiatus.net 或使用我的联系表单。

Elevators
What it does
It basically adds the elevator blocks from the OpenBlocks mod to the vanilla game.
The elevator blocks can be crafted from 8 wool surrounding an ender pearl in a crafting bench.

When placed on the same x/z coordinate and jumping / sneaking, they will teleport you up / down to the next elevator directly above / below. An elevator is only considered operational if the two blocks direcly above it are air.
By default, all elevators link to all elevators, but through the settings you can enable colors mode, which allows you to dye elevators and link only elevators with the same dye.
Also in the settings you can set an xp cost to use an elevator.
Thanks to new tech introduced in 1.20, you can even camouflage your elevator block by just rightclicking it with any block.
To remove an elevator, hit it with a pickaxe.
To show some basic help in-game, use /trigger elevator.help.
How to set up
Download the zip file and place it into your world/datapacks folder. If the world is already running, run reload. That's all you need to do for it to start working.
However, have a look at the following settings to customize your experience.
Settings
This datapack comes with some settings that you can adjust to customize your experience. All settings are changed by running this command in chat:
scoreboard players set <setting> elevator.settings <value>
range
Default: 384
Limits the maximum distance an elevator can teleport a player. By default it's the entire world height. Setting it to a value below 3 will render all elevators useless.
sameColor
Default: 0
If set to 1, elevators will only teleport players to elevators with the same color. It is recommended to also enable showColor when turning this on. Rightclick an elevator with a dye to change its color.
showColor
Default: 0
If set to 1, elevators will display the color they have been set to with a small particle. Also useful to see where elevators are.
requireXP
Default: 0
A value >0 required players to pay with this amount of experience points (not levels!) to use an elevator. If they have less XP than this value, they won't be able to use an elevator.
Troubleshooting
In case some parts of the datapack don't work as expected anymore (crafting, placing, breaking, interacting), here is a simple steps you can take to try to resolve them:
Because a lot of things are triggered through advancements, so running advancement revoke Player from elevator:root should reset those triggers for the "Player". This should fix most issues.
Contact
If you have any questions, concerns, praise or found a bug, you can contact me directly at contact@plagiatus.net or use my contact form.
评论 0
登录后参与评分
还没有评论,来抢沙发吧