Naar de inhoud springen
Bouwgereedschap

/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

Ook aan te roepen als: /pspawner set

Schrijfwijze

  • /prefabspawner set <prefab> [--defaultWeight=<value>] [--fitHeightmap=<value>] [--inheritHeightCheck=<value>] [--inheritSeed=<value>] [--position=<value>] [--world=<value>]
  • Hoofdopdrachtde opdrachtnaam waarmee alles begint
  • SubopdrachtSubopdracht: een extra woord achter de opdracht
  • Verplichtmoet worden opgegeven, in vaste volgorde
  • Optioneelmag ontbreken, met --name=wert

Argumenten

ArgumentTypeTypeBeschrijving
prefabVerplicht

Text

Words, text, numbers, letters

The prefab path to set

--defaultWeightOptioneel

Double

A decimal number

The default weight for prefabs

--fitHeightmapOptioneel

Boolean

A "true" or "false" input

Whether to fit the heightmap (true/false)

--inheritHeightCheckOptioneel

Boolean

A "true" or "false" input

Whether to inherit height check (true/false)

--inheritSeedOptioneel

Boolean

A "true" or "false" input

Whether to inherit the seed (true/false)

--positionOptioneel

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 waarden achter elkaar

The position of the prefab spawner (or raycast from player if not specified)

--worldOptioneel

World

A world folder name

The world to operate this command on

Machtigingen

Machtiging
hytale.prefabspawnermodule.command.prefabspawner.set
Standaardgroep
WorldEditorvan de bovenliggende opdracht

De groepen bouwen op elkaar voort: Adventurer, Builder, WorldEditor, ServerEditor, Admin. Een hogere groep erft de rechten van de lagere groepen; nieuwe spelers zijn Adventurer en admins (OP) mogen alles.

Terug naar het opdrachtenoverzicht

/prefabspawner set — Hytale-opdrachtenreferentie | ZAP-Hosting