|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CreatureSpawner
Represents a creature spawner.
Method Summary | |
---|---|
CreatureType |
getCreatureType()
Deprecated. In favour of getSpawnedType() . |
String |
getCreatureTypeId()
Deprecated. Use getCreatureTypeName() . |
String |
getCreatureTypeName()
Get the spawner's creature type. |
int |
getDelay()
Get the spawner's delay. |
EntityType |
getSpawnedType()
Get the spawner's creature type. |
void |
setCreatureType(CreatureType creatureType)
Deprecated. In favour of setSpawnedType(EntityType) . |
void |
setCreatureTypeByName(String creatureType)
Set the spawner mob type. |
void |
setCreatureTypeId(String creatureType)
Deprecated. Use setCreatureTypeByName(String) . |
void |
setDelay(int delay)
Set the spawner's delay. |
void |
setSpawnedType(EntityType creatureType)
Set the spawner's creature type. |
Methods inherited from interface org.bukkit.block.BlockState |
---|
getBlock, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getTypeId, getWorld, getX, getY, getZ, setData, setRawData, setType, setTypeId, update, update, update |
Methods inherited from interface org.bukkit.metadata.Metadatable |
---|
getMetadata, hasMetadata, removeMetadata, setMetadata |
Method Detail |
---|
@Deprecated CreatureType getCreatureType()
getSpawnedType()
.
EntityType getSpawnedType()
void setSpawnedType(EntityType creatureType)
creatureType
- The creature type.@Deprecated void setCreatureType(CreatureType creatureType)
setSpawnedType(EntityType)
.
creatureType
- The creature type.@Deprecated String getCreatureTypeId()
getCreatureTypeName()
.
void setCreatureTypeByName(String creatureType)
creatureType
- The creature type's name.String getCreatureTypeName()
@Deprecated void setCreatureTypeId(String creatureType)
setCreatureTypeByName(String)
.
creatureType
- The creature type's name.int getDelay()
void setDelay(int delay)
delay
- The delay.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |