/prefabspawner
View and edit properties on a prefab spawner block
Également accessible sous: /pspawner
Notation
Cette commande est un groupe : elle ne fait rien à elle seule et nécessite une sous-commande, par exemple /prefabspawner get.
Sous-commandes (3)
/prefabspawner get [--position=<value>] [--world=<value>]
Print the properties of the target prefab spawner block
/prefabspawner set <prefab> [--defaultWeight=<value>] [--fitHeightmap=<value>] [--inheritHeightCheck=<value>] [--inheritSeed=<value>] [--position=<value>] [--world=<value>]
Sets a prefab path for a BlockSpawner block you look at | [heightMap]: Sets if a prefab should attempt to follow the heightmap | [inheritSeed]: Sets if a prefab should inherit its parent's worldgen-id | [inheritHeightCheck]: Sets if a prefab should use its parent's HeightCondition | [defaultWeight] Sets the default weight that is assigned to prefabs that do not have a weight mapping assigned
/prefabspawner weight <prefab> <weight> [--position=<value>] [--world=<value>]
Sets the weight of an individual prefab file when the spawner's path points to a folder of prefabs | <prefab> The name of the prefab file excluding the file extension | <weight> The weight value to assign to the prefab or -1 to remove the weight
Autorisations
- Autorisation
hytale.prefabspawnermodule.command.prefabspawner- Groupe par défaut
- WorldEditor
Les groupes sont hiérarchisés : Adventurer, Builder, WorldEditor, ServerEditor, Admin. Chaque groupe supérieur hérite des permissions des groupes inférieurs ; les nouveaux joueurs sont Adventurer, et les admins (OP) peuvent tout faire.