public interface CreatureSpawner extends BlockState
Modifier and Type | Method and Description |
---|---|
String |
getCreatureTypeName()
Get the spawner's creature type.
|
int |
getDelay()
Get the spawner's delay.
|
EntityType |
getSpawnedType()
Get the spawner's creature type.
|
void |
setCreatureTypeByName(String creatureType)
Set the spawner mob type.
|
void |
setDelay(int delay)
Set the spawner's delay.
|
void |
setSpawnedType(EntityType creatureType)
Set the spawner's creature type.
|
getBlock, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getTypeId, getWorld, getX, getY, getZ, isPlaced, setData, setRawData, setType, setTypeId, update, update, update
getMetadata, hasMetadata, removeMetadata, setMetadata
EntityType getSpawnedType()
void setSpawnedType(EntityType creatureType)
creatureType
- The creature type.void setCreatureTypeByName(String creatureType)
creatureType
- The creature type's name.String getCreatureTypeName()
int getDelay()
void setDelay(int delay)
delay
- The delay.Copyright © 2016. All rights reserved.