Difference between revisions of "TrainCarts/Signs/Enter/zh-cn"
(Created page with "=== 第二行 ===") |
(Created page with "=== 第三行 ===") |
||
Line 18: | Line 18: | ||
=== 第二行 === | === 第二行 === | ||
− | + | ''enter'',后面可以跟随搜索附近玩家或生物的方块半径数值。当在半径数值后面跟随 ''s'' 时,搜索区域是球形的,否则就是高为 1 格的圆柱体。所以,如果你不想让高或低的玩家或生物进入列车,请不要填写 s,如果你需要,那就加上 s。 | |
− | ''enter'' | ||
− | |||
− | + | === 第三行 === | |
− | === | ||
− | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> |
Revision as of 10:12, 14 September 2024
介绍
进入牌可以让附近的玩家和/或生物进入列车。它会覆盖 allowenter 属性,这意味着你可以拒绝玩家手动进入列车的同时还能通过进入牌来让玩家自动进入列车。
语法
第一行:[train] 让玩家进入列车的任意一节车厢,[cart] 让玩家进入单辆矿车。
第二行
enter,后面可以跟随搜索附近玩家或生物的方块半径数值。当在半径数值后面跟随 s 时,搜索区域是球形的,否则就是高为 1 格的圆柱体。所以,如果你不想让高或低的玩家或生物进入列车,请不要填写 s,如果你需要,那就加上 s。
第三行
What type of entities this sign operates on. By adding mob mobs will enter, by adding player players will enter. misc will let in other types of entities, like armor stands. When this line is left empty only players enter the minecarts. You can allow both mobs and players by appending them, for example player mob
Fourth line
Sets whether to look around the sign for players/mobs to enter, or whether to look around each individual minecart. By specifying 'yes/true' it will look around the sign, by specifying 'no/false' or by leaving the line empty it will look around each minecart.
Remote Control
You can remotely make trains take in passengers. Say your train is called train01, then you use the following on the sign:
Then it will teleport all players near the enter sign into the train named train01. Note that long-distance teleportation (between worlds or far away) will likely fail, so keep the RC sign near the train when using this.