/prefabspawner weight
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
Également accessible sous: /pspawner weight
Notation
/prefabspawner weight <prefab> <weight> [--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 |
weight | Obligatoire | Float A floating-point number | The weight (negative to remove) |
--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.weight- 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.