/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
Auch aufrufbar als: /pspawner set
Schreibweise
/prefabspawner set <prefab> [--defaultWeight=<value>] [--fitHeightmap=<value>] [--inheritHeightCheck=<value>] [--inheritSeed=<value>] [--position=<value>] [--world=<value>]
- Hauptbefehlder Befehlsname, mit dem alles beginnt
- UnterbefehlUnterbefehl: ein weiteres Wort hinter dem Befehl
- Pflichtmuss angegeben werden, in fester Reihenfolge
- Optionaldarf fehlen, mit --name=wert
Argumente
| Argument | Art | Typ | Beschreibung |
|---|---|---|---|
prefab | Pflicht | Text Words, text, numbers, letters | The prefab path to set |
--defaultWeight | Optional | Double A decimal number | The default weight for prefabs |
--fitHeightmap | Optional | Boolean A "true" or "false" input | Whether to fit the heightmap (true/false) |
--inheritHeightCheck | Optional | Boolean A "true" or "false" input | Whether to inherit height check (true/false) |
--inheritSeed | Optional | Boolean A "true" or "false" input | Whether to inherit the seed (true/false) |
--position | Optional | 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 Werte hintereinander | The position of the prefab spawner (or raycast from player if not specified) |
--world | Optional | World A world folder name | The world to operate this command on |
Berechtigungen
- Berechtigung
hytale.prefabspawnermodule.command.prefabspawner.set- Standard-Gruppe
- WorldEditorvom übergeordneten Befehl
Die Gruppen bauen aufeinander auf: Adventurer, Builder, WorldEditor, ServerEditor, Admin. Eine höhere Gruppe erbt die Rechte der niedrigeren; neue Spieler sind Adventurer, Admins (OP) dürfen alles.