You can also update an existing train chest item, without getting a new item every time. The player has to hold the chest item, then use one of the following commands:
You can also update an existing train chest item, without getting a new item every time. The player has to hold the chest item, then use one of the following commands:
{{Command|train chest set mytrain|Put a new train inside the item, spawn sign syntax|train.command.chest.create}}
{{Command|train chest clear|Makes the item empty|train.command.chest.create}}
{{Command|train chest lock|Locks the item, preventing it from picking up trains when clicked|train.command.chest.create}}
{{Command|train chest unlock|Unlocks the item so it can pick up trains again|train.command.chest.create}}
{{Command|train chest name My Train|Gives the item a human-readable name to identify it|train.command.chest.create}}
{{Command|train chest finite yes|Makes the chest item have finite (1) or infinite number of spawns|train.command.chest.create}}
Revision as of 19:04, 24 July 2022
Updating
You can also update an existing train chest item, without getting a new item every time. The player has to hold the chest item, then use one of the following commands: