/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
Kan även anropas som: /pspawner weight
Skrivsätt
/prefabspawner weight <prefab> <weight> [--position=<value>] [--world=<value>]
- Huvudkommandokommandonamnet som allt börjar med
- UnderkommandoUnderkommando: ett ytterligare ord efter kommandot
- Obligatorisktmåste anges i fast ordning
- Valfrittkan utelämnas, med --name=wert
Argument
| Argument | Typ | Typ | Beskrivning |
|---|---|---|---|
prefab | Obligatoriskt | Text Words, text, numbers, letters | The prefab path |
weight | Obligatoriskt | Float A floating-point number | The weight (negative to remove) |
--position | Valfritt | 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 värden i följd | The position of the prefab spawner (or raycast from player if not specified) |
--world | Valfritt | World A world folder name | The world to operate this command on |
Behörigheter
- Behörighet
hytale.prefabspawnermodule.command.prefabspawner.weight- Standardgrupp
- WorldEditorfrån överordnat kommando
Grupperna bygger på varandra: Adventurer, Builder, WorldEditor, ServerEditor, Admin. En högre grupp ärver rättigheterna från de lägre. Nya spelare är Adventurer, och administratörer (OP) får göra allt.