public class BlockMobSpawner extends BlockObject
| Constructor and Description |
|---|
BlockMobSpawner(org.bukkit.entity.EntityType type) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDelay() |
org.bukkit.entity.EntityType |
getSpawnedType()
Get the mob type.
|
void |
setDelay(int i) |
void |
setSpawnedType(org.bukkit.entity.EntityType mobType)
Set the mob type.
|
getData, getLocation, getTypeId, setData, setLocation, setTypeId, setTypeIdAndDatapublic BlockMobSpawner(org.bukkit.entity.EntityType type)
type - public org.bukkit.entity.EntityType getSpawnedType()
public void setSpawnedType(org.bukkit.entity.EntityType mobType)
mobType - public int getDelay()
public void setDelay(int i)
i - the delay to set