Difference between revisions of "TrainCarts/Signs/Enter"

From BergerHealer Wiki
Jump to navigation Jump to search
(Marked this version for translation)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[TrainCarts/Signs|« Go back]]
+
<languages/>
 +
<translate>
 +
<!--T:1-->
 +
[[Special:MyLanguage/TrainCarts/Signs|« Go back]]
  
== Introduction ==
 
  
 +
== Introduction == <!--T:2-->
 +
 +
<!--T:3-->
 
The enter sign lets nearby players and/or mobs into a train. It overrides the ''allowenter'' property on trains, which means you can deny players from entering the train manually while still allowing this sign to function.
 
The enter sign lets nearby players and/or mobs into a train. It overrides the ''allowenter'' property on trains, which means you can deny players from entering the train manually while still allowing this sign to function.
  
== Syntax ==
 
  
 +
== Syntax == <!--T:4-->
 +
 +
</translate>
 
{{sign|[train]|enter 3s|player mob|no}}
 
{{sign|[train]|enter 3s|player mob|no}}
 +
<translate>
  
  
 +
<!--T:5-->
 
'''First line:''' ''[train]'' to enter into all minecarts of the train, ''[cart]'' to enter into minecarts individually
 
'''First line:''' ''[train]'' to enter into all minecarts of the train, ''[cart]'' to enter into minecarts individually
  
=== Second line ===
 
  
 +
=== Second line === <!--T:6-->
 +
 +
<!--T:7-->
 
''enter'', followed up by the radius to look for players or mobs in blocks. When an ''s'' is added after the radius, the radius is fully spherical, otherwise it is cylindrical with height 1. So, if you do not want players/mobs above or below the minecart(s) to enter, leave out the s. If you do need this, add the s.
 
''enter'', followed up by the radius to look for players or mobs in blocks. When an ''s'' is added after the radius, the radius is fully spherical, otherwise it is cylindrical with height 1. So, if you do not want players/mobs above or below the minecart(s) to enter, leave out the s. If you do need this, add the s.
  
=== Third line ===
 
  
 +
=== Third line === <!--T:8-->
 +
 +
<!--T:9-->
 
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''
 
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 ===
 
  
 +
=== Fourth line === <!--T:10-->
 +
 +
<!--T:11-->
 
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.
 
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 ===
 
  
 +
=== Remote Control === <!--T:12-->
 +
 +
<!--T:13-->
 
You can remotely make trains take in passengers. Say your train is called ''train01'', then you use the following on the sign:
 
You can remotely make trains take in passengers. Say your train is called ''train01'', then you use the following on the sign:
  
 +
</translate>
 
{{sign|[train train01]|enter 5|player|yes}}
 
{{sign|[train train01]|enter 5|player|yes}}
 +
<translate>
  
  
 +
<!--T:14-->
 
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.
 
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.
 +
</translate>

Latest revision as of 12:26, 3 September 2024

Other languages:

« Go back


Introduction

The enter sign lets nearby players and/or mobs into a train. It overrides the allowenter property on trains, which means you can deny players from entering the train manually while still allowing this sign to function.


Syntax

Signtemplate.png
[train]
enter 3s
player mob
no


First line: [train] to enter into all minecarts of the train, [cart] to enter into minecarts individually


Second line

enter, followed up by the radius to look for players or mobs in blocks. When an s is added after the radius, the radius is fully spherical, otherwise it is cylindrical with height 1. So, if you do not want players/mobs above or below the minecart(s) to enter, leave out the s. If you do need this, add the s.


Third line

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:

Signtemplate.png
[train train01]
enter 5
player
yes


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.