Ir para o conteúdo
Ferramentas de construção

/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

Também pode ser chamado como: /pspawner set

Grafia

  • /prefabspawner set <prefab> [--defaultWeight=<value>] [--fitHeightmap=<value>] [--inheritHeightCheck=<value>] [--inheritSeed=<value>] [--position=<value>] [--world=<value>]
  • Comando principalo nome do comando, por onde tudo começa
  • SubcomandoSubcomando: uma palavra adicional após o comando
  • Obrigatórioobrigatório, em ordem fixa
  • Opcionalopcional, com --name=wert

Argumentos

ArgumentoTipoTipoDescrição
prefabObrigatório

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 em sequência

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

Permissões

Permissão
hytale.prefabspawnermodule.command.prefabspawner.set
Grupo padrão
WorldEditordo comando principal

Os grupos seguem uma hierarquia: Adventurer, Builder, WorldEditor, ServerEditor, Admin. Um grupo superior herda as permissões dos inferiores; novos jogadores são Adventurer, e administradores (OP) podem fazer tudo.

Voltar à referência de comandos

/prefabspawner set — referência de comandos de Hytale | ZAP-Hosting