/prefabspawner set
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
Également accessible sous: /pspawner set
Notation
/prefabspawner set <prefab> [--defaultWeight=<value>] [--fitHeightmap=<value>] [--inheritHeightCheck=<value>] [--inheritSeed=<value>] [--position=<value>] [--world=<value>]
- Commande principalele nom de la commande, par lequel tout commence
- Sous-commandeSous-commande : un autre mot après la commande
- Obligatoireobligatoire, dans un ordre fixe
- Facultatiffacultatif, avec --name=wert
Arguments
| Argument | Type | Type | Description |
|---|---|---|---|
prefab | Obligatoire | Text Words, text, numbers, letters | The prefab path to set |
--defaultWeight | Facultatif | Double A decimal number | The default weight for prefabs |
--fitHeightmap | Facultatif | Boolean A "true" or "false" input | Whether to fit the heightmap (true/false) |
--inheritHeightCheck | Facultatif | Boolean A "true" or "false" input | Whether to inherit height check (true/false) |
--inheritSeed | Facultatif | Boolean A "true" or "false" input | Whether to inherit the seed (true/false) |
--position | Facultatif | Relative Block Position A position with three integer coordinates, representing a block's location in world space. Each argument can be prefixed with a tilde (~) in order to specify it as relative to a point (usually yourself) 3 valeurs consécutives | The position of the prefab spawner (or raycast from player if not specified) |
--world | Facultatif | World A world folder name | The world to operate this command on |
Autorisations
- Autorisation
hytale.prefabspawnermodule.command.prefabspawner.set- Groupe par défaut
- WorldEditorde la commande parente
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.