/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
Dostępne także jako: /pspawner weight
Zapis
/prefabspawner weight <prefab> <weight> [--position=<value>] [--world=<value>]
- Polecenie głównenazwa polecenia, od której wszystko się zaczyna
- PodpoleceniePodpolecenie: kolejne słowo po poleceniu
- Wymaganewymagane, w ustalonej kolejności
- Opcjonalnieopcjonalne, w postaci --name=wert
Argumenty
| Argument | Typ | Typ | Opis |
|---|---|---|---|
prefab | Wymagane | Text Words, text, numbers, letters | The prefab path |
weight | Wymagane | Float A floating-point number | The weight (negative to remove) |
--position | Opcjonalnie | 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 wartości po kolei | The position of the prefab spawner (or raycast from player if not specified) |
--world | Opcjonalnie | World A world folder name | The world to operate this command on |
Uprawnienia
- Uprawnienie
hytale.prefabspawnermodule.command.prefabspawner.weight- Grupa domyślna
- WorldEditorz polecenia nadrzędnego
Grupy tworzą hierarchię: Adventurer, Builder, WorldEditor, ServerEditor, Admin. Wyższa grupa dziedziczy uprawnienia niższych; nowi gracze trafiają do grupy Adventurer, a administratorzy (OP) mogą robić wszystko.