Vai al contenuto
Strumenti di costruzione

/prefabspawner weight

Sets the weight of an individual prefab file when the spawner's path points to a folder of prefabs | <prefab> The name of the prefab file excluding the file extension | <weight> The weight value to assign to the prefab or -1 to remove the weight

Disponibile anche come: /pspawner weight

Notazione

  • /prefabspawner weight <prefab> <weight> [--position=<value>] [--world=<value>]
  • Comando principaleil nome del comando, da cui inizia tutto
  • SottocomandoSottocomando: una parola aggiuntiva dopo il comando
  • Obbligatorioobbligatorio, in un ordine preciso
  • Facoltativofacoltativa, con --name=wert

Argomenti

ArgomentoTipoTipoDescrizione
prefabObbligatorio

Text

Words, text, numbers, letters

The prefab path

weightObbligatorio

Float

A floating-point number

The weight (negative to remove)

--positionFacoltativo

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 valori consecutivi

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

--worldFacoltativo

World

A world folder name

The world to operate this command on

Autorizzazioni

Autorizzazione
hytale.prefabspawnermodule.command.prefabspawner.weight
Gruppo predefinito
WorldEditordal comando principale

I gruppi sono gerarchici: Adventurer, Builder, WorldEditor, ServerEditor, Admin. Un gruppo superiore eredita i permessi di quelli inferiori; i nuovi giocatori sono Adventurer, gli admin (OP) possono fare tutto.

Torna alla guida ai comandi

/prefabspawner weight — riferimento ai comandi di Hytale | ZAP-Hosting