BaseSpawner
Link to basespawner
Importing the class
Link to importing-the-class
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;
Methods
Link to methods
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)
Parameter | Type |
---|---|
Parameter param0 | Type EntityType |
Properties
Link to properties
이름 | Type | Has Getter | Has Setter |
---|---|---|---|
이름 entityId | Type BaseSpawner | Has Getter false | Has Setter true |
이름 oSpin | Type double | Has Getter true | Has Setter false |
이름 spin | Type double | Has Getter true | Has Setter false |