/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
Dostępne także jako: /pspawner set
Zapis
/prefabspawner set <prefab> [--defaultWeight=<value>] [--fitHeightmap=<value>] [--inheritHeightCheck=<value>] [--inheritSeed=<value>] [--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 to set |
--defaultWeight | Opcjonalnie | Double A decimal number | The default weight for prefabs |
--fitHeightmap | Opcjonalnie | Boolean A "true" or "false" input | Whether to fit the heightmap (true/false) |
--inheritHeightCheck | Opcjonalnie | Boolean A "true" or "false" input | Whether to inherit height check (true/false) |
--inheritSeed | Opcjonalnie | Boolean A "true" or "false" input | Whether to inherit the seed (true/false) |
--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.set- 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.