public interface CreatureSpawner extends BlockState
Modifier and Type | Method and Description |
---|---|
CreatureType |
getCreatureType()
Deprecated.
In favour of
getSpawnedType() . |
String |
getCreatureTypeId()
Deprecated.
|
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.
|
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
@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.Copyright © 2015. All rights reserved.