Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.block.CreatureSpawner Interface Reference
Inheritance diagram for org.bukkit.block.CreatureSpawner:
org.bukkit.block.BlockState org.bukkit.metadata.Metadatable

Public Member Functions

CreatureType getCreatureType ()
 
EntityType getSpawnedType ()
 
void setSpawnedType (EntityType creatureType)
 
void setCreatureType (CreatureType creatureType)
 
String getCreatureTypeId ()
 
void setCreatureTypeByName (String creatureType)
 
String getCreatureTypeName ()
 
void setCreatureTypeId (String creatureType)
 
int getDelay ()
 
void setDelay (int delay)
 
- Public Member Functions inherited from org.bukkit.block.BlockState
Block getBlock ()
 
MaterialData getData ()
 
Material getType ()
 
int getTypeId ()
 
byte getLightLevel ()
 
World getWorld ()
 
int getX ()
 
int getY ()
 
int getZ ()
 
Location getLocation ()
 
Location getLocation (Location loc)
 
Chunk getChunk ()
 
void setData (MaterialData data)
 
void setType (Material type)
 
boolean setTypeId (int type)
 
boolean update ()
 
boolean update (boolean force)
 
boolean update (boolean force, boolean applyPhysics)
 
byte getRawData ()
 
void setRawData (byte data)
 

Detailed Description

Represents a creature spawner.

Definition at line 9 of file CreatureSpawner.java.

Member Function Documentation

CreatureType org.bukkit.block.CreatureSpawner.getCreatureType ( )

Get the spawner's creature type.

Returns
The creature type.
Deprecated:
In favour of getSpawnedType().
String org.bukkit.block.CreatureSpawner.getCreatureTypeId ( )

Get the spawner's creature type.

Returns
The creature type's name.
Deprecated:
Use getCreatureTypeName().
String org.bukkit.block.CreatureSpawner.getCreatureTypeName ( )

Get the spawner's creature type.

Returns
The creature type's name.
int org.bukkit.block.CreatureSpawner.getDelay ( )

Get the spawner's delay.

Returns
The delay.
EntityType org.bukkit.block.CreatureSpawner.getSpawnedType ( )

Get the spawner's creature type.

Returns
The creature type.
void org.bukkit.block.CreatureSpawner.setCreatureType ( CreatureType  creatureType)

Set the spawner creature type.

Parameters
creatureTypeThe creature type.
Deprecated:
In favour of setSpawnedType(EntityType).
void org.bukkit.block.CreatureSpawner.setCreatureTypeByName ( String  creatureType)

Set the spawner mob type.

Parameters
creatureTypeThe creature type's name.
void org.bukkit.block.CreatureSpawner.setCreatureTypeId ( String  creatureType)

Set the spawner mob type.

Parameters
creatureTypeThe creature type's name.
Deprecated:
Use setCreatureTypeByName(String).
void org.bukkit.block.CreatureSpawner.setDelay ( int  delay)

Set the spawner's delay.

Parameters
delayThe delay.
void org.bukkit.block.CreatureSpawner.setSpawnedType ( EntityType  creatureType)

Set the spawner's creature type.

Parameters
creatureTypeThe creature type.

The documentation for this interface was generated from the following file: