Importare la Classe

Link to importare-la-classe

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import crafttweaker.api.world.BaseSpawner;

Link to getOrCreateDisplayEntity

Name: getOrCreateDisplayEntity

Return Type: Entity

ZenScript
Copy
BaseSpawner.getOrCreateDisplayEntity(param0 as Level) as Entity
ParametroTipoDescrizione
Parametro
param0
Tipo
Level
Descrizione
No Description Provided

Name: getSpin

Return Type: double

ZenScript
Copy
// BaseSpawner.getSpin() as double

myBaseSpawner.getSpin();

Name: getoSpin

Return Type: double

ZenScript
Copy
// BaseSpawner.getoSpin() as double

myBaseSpawner.getoSpin();

Name: setEntityId

Return Type: void

ZenScript
Copy
BaseSpawner.setEntityId(param0 as EntityType) as void
ParametroTipoDescrizione
Parametro
param0
Tipo
EntityType
Descrizione
No Description Provided
NomeTipoHa GetterHa SetterDescrizione
Nome
entityId
Tipo
BaseSpawner
Ha Getter
no
Ha Setter
Descrizione
No Description Provided
Nome
oSpin
Tipo
double
Ha Getter
Ha Setter
no
Descrizione
No Description Provided
Nome
spin
Tipo
double
Ha Getter
Ha Setter
no
Descrizione
No Description Provided