Saltar al contenido
Herramientas de construcción

/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

También se puede invocar como: /pspawner set

Notación

  • /prefabspawner set <prefab> [--defaultWeight=<value>] [--fitHeightmap=<value>] [--inheritHeightCheck=<value>] [--inheritSeed=<value>] [--position=<value>] [--world=<value>]
  • Comando principalel nombre del comando, con el que empieza todo
  • SubcomandoSubcomando: una palabra adicional después del comando
  • Obligatorioes obligatorio, en un orden fijo
  • Opcionalse puede omitir, con --name=wert

Argumentos

ArgumentoTipoTipoDescripción
prefabObligatorio

Text

Words, text, numbers, letters

The prefab path to set

--defaultWeightOpcional

Double

A decimal number

The default weight for prefabs

--fitHeightmapOpcional

Boolean

A "true" or "false" input

Whether to fit the heightmap (true/false)

--inheritHeightCheckOpcional

Boolean

A "true" or "false" input

Whether to inherit height check (true/false)

--inheritSeedOpcional

Boolean

A "true" or "false" input

Whether to inherit the seed (true/false)

--positionOpcional

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 valores consecutivos

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

--worldOpcional

World

A world folder name

The world to operate this command on

Permisos

Permiso
hytale.prefabspawnermodule.command.prefabspawner.set
Grupo predeterminado
WorldEditordel comando principal

Los grupos siguen esta jerarquía: Adventurer, Builder, WorldEditor, ServerEditor y Admin. Cada grupo superior hereda los permisos de los inferiores; los jugadores nuevos son Adventurer y los administradores (OP) tienen todos los permisos.

Volver a la referencia de comandos

/prefabspawner set — Referencia de comandos de Hytale | ZAP-Hosting