///12
Jump to navigation
Jump to search
(Importing a new version from external source) |
(Importing a new version from external source) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 16: | Line 16: | ||
| a | | a | ||
| Remove a single tag | | Remove a single tag | ||
|- | |||
| addticket | |||
| expresstrain | |||
| Add a ticket that can be used for this train | |||
|- | |||
| setticket | |||
| expresstrain | |||
| Set the train to only accept this ticket | |||
|- | |||
| remticket | |||
| expresstrain | |||
| Remove a ticket so it can no longer be used for this train | |||
|- | |- | ||
| addowner<br> | | addowner<br> | ||
| Line 44: | Line 56: | ||
| yes | | yes | ||
| Set if players can exit | | Set if players can exit | ||
|- | |||
| playerenterexit<br>playerexitenter | |||
| yes | |||
| Sets both playerenter and playerexit at the same time to the same value. | |||
|- | |- | ||
| spawnitemdrops<br>spawndrops<br>killdrops | | spawnitemdrops<br>spawndrops<br>killdrops | ||
| true | | true | ||
| Sets whether carts drop items when destroyed.<br>When disabled, also disables contents of chest/hopper minecarts dropping. | | Sets whether carts drop items when destroyed.<br>When disabled, also disables contents of chest/hopper minecarts dropping. | ||
|- | |||
| viewdistance | |||
| 10 | |||
| (Paper servers only!) Sets it so that passengers of the cart/train have a certain chunk/entity view distance. Can be used to reduce lag in busy areas of the world. | |||
|} | |} | ||
Latest revision as of 06:10, 2 September 2024
| Property | Value example | Meaning |
|---|---|---|
| addtag |
tag1 |
Add a single tag |
| settag |
taga |
Set to a single tag |
| remtag | a | Remove a single tag |
| addticket | expresstrain | Add a ticket that can be used for this train |
| setticket | expresstrain | Set the train to only accept this ticket |
| remticket | expresstrain | Remove a ticket so it can no longer be used for this train |
| addowner |
Maxxue |
Add an owner to the train |
| setowner |
Maxxue |
Clear all owners and set to this owner |
| remowner | Maxxue | Remove a single owner from the train |
| destination | station2 | Set the destination |
| mobenter | false | Set if mobs can enter |
| playerenter | true | Set if players can enter |
| playerexit | yes | Set if players can exit |
| playerenterexit playerexitenter |
yes | Sets both playerenter and playerexit at the same time to the same value. |
| spawnitemdrops spawndrops killdrops |
true | Sets whether carts drop items when destroyed. When disabled, also disables contents of chest/hopper minecarts dropping. |
| viewdistance | 10 | (Paper servers only!) Sets it so that passengers of the cart/train have a certain chunk/entity view distance. Can be used to reduce lag in busy areas of the world. |