BaseSpawner
Link to basespawner
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 Copyimport crafttweaker.api.world.BaseSpawner;
Metodi
Link to metodi
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
ZenScript CopyBaseSpawner.setEntityId(param0 as EntityType)
Parametro | Tipo |
---|---|
Parametro param0 | Tipo EntityType |
Proprietà
Link to proprietà
Nome | Tipo | Ha Getter | Ha Setter |
---|---|---|---|
Nome entityId | Tipo BaseSpawner | Ha Getter no | Ha Setter sì |
Nome oSpin | Tipo double | Ha Getter sì | Ha Setter no |
Nome spin | Tipo double | Ha Getter sì | Ha Setter no |