public interface CreatureSpawner extends BlockState
| Modifier and Type | Method and Description | 
|---|---|
| String | getCreatureTypeName()Deprecated. 
 magic value, use  getSpawnedType(). | 
| int | getDelay()Get the spawner's delay. | 
| EntityType | getSpawnedType()Get the spawner's creature type. | 
| void | setCreatureTypeByName(String creatureType)Deprecated. 
 magic value, use
  setSpawnedType(org.bukkit.entity.EntityType). | 
| 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, updategetMetadata, hasMetadata, removeMetadata, setMetadataEntityType getSpawnedType()
void setSpawnedType(EntityType creatureType)
creatureType - The creature type.@Deprecated void setCreatureTypeByName(String creatureType)
setSpawnedType(org.bukkit.entity.EntityType).creatureType - The creature type's name.@Deprecated String getCreatureTypeName()
getSpawnedType().int getDelay()
void setDelay(int delay)
delay - The delay.Copyright © 2017. All rights reserved.