public class GlowCreatureSpawner extends GlowBlockState implements org.bukkit.block.CreatureSpawner
data, typeId| Constructor and Description |
|---|
GlowCreatureSpawner(GlowBlock block)
Creates a mob spawner.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCreatureTypeName() |
int |
getDelay() |
int |
getMaxNearbyEntities() |
int |
getMaxSpawnDelay() |
int |
getMinSpawnDelay() |
int |
getRequiredPlayerRange() |
int |
getSpawnCount() |
org.bukkit.entity.EntityType |
getSpawnedType() |
int |
getSpawnRange() |
void |
setCreatureTypeByName(String creatureType) |
void |
setDelay(int i) |
void |
setMaxNearbyEntities(int i) |
void |
setMaxSpawnDelay(int i) |
void |
setMinSpawnDelay(int i) |
void |
setRequiredPlayerRange(int i) |
void |
setSpawnCount(int i) |
void |
setSpawnedType(org.bukkit.entity.EntityType spawnedType) |
void |
setSpawnRange(int i) |
boolean |
update(boolean force,
boolean applyPhysics) |
equals, getBlock, getChunk, getData, getLightLevel, getLocation, getLocation, getMetadata, getRawData, getType, getTypeId, getWorld, getX, getY, getZ, hashCode, hasMetadata, isFlowed, isPlaced, removeMetadata, setData, setFlowed, setMetadata, setRawData, setType, setTypeId, update, updateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitpublic GlowCreatureSpawner(GlowBlock block)
block - the spawner blockpublic boolean update(boolean force,
boolean applyPhysics)
update in interface org.bukkit.block.BlockStateupdate in class GlowBlockStatepublic void setDelay(int i)
setDelay in interface org.bukkit.block.CreatureSpawnerpublic int getMinSpawnDelay()
getMinSpawnDelay in interface org.bukkit.block.CreatureSpawnerpublic void setMinSpawnDelay(int i)
setMinSpawnDelay in interface org.bukkit.block.CreatureSpawnerpublic int getMaxSpawnDelay()
getMaxSpawnDelay in interface org.bukkit.block.CreatureSpawnerpublic void setMaxSpawnDelay(int i)
setMaxSpawnDelay in interface org.bukkit.block.CreatureSpawnerpublic int getSpawnCount()
getSpawnCount in interface org.bukkit.block.CreatureSpawnerpublic void setSpawnCount(int i)
setSpawnCount in interface org.bukkit.block.CreatureSpawnerpublic int getMaxNearbyEntities()
getMaxNearbyEntities in interface org.bukkit.block.CreatureSpawnerpublic void setMaxNearbyEntities(int i)
setMaxNearbyEntities in interface org.bukkit.block.CreatureSpawnerpublic int getRequiredPlayerRange()
getRequiredPlayerRange in interface org.bukkit.block.CreatureSpawnerpublic void setRequiredPlayerRange(int i)
setRequiredPlayerRange in interface org.bukkit.block.CreatureSpawnerpublic int getSpawnRange()
getSpawnRange in interface org.bukkit.block.CreatureSpawnerpublic void setSpawnRange(int i)
setSpawnRange in interface org.bukkit.block.CreatureSpawnerpublic void setCreatureTypeByName(String creatureType)
setCreatureTypeByName in interface org.bukkit.block.CreatureSpawnerpublic String getCreatureTypeName()
getCreatureTypeName in interface org.bukkit.block.CreatureSpawnerpublic org.bukkit.entity.EntityType getSpawnedType()
getSpawnedType in interface org.bukkit.block.CreatureSpawnerpublic void setSpawnedType(org.bukkit.entity.EntityType spawnedType)
setSpawnedType in interface org.bukkit.block.CreatureSpawnerpublic int getDelay()
getDelay in interface org.bukkit.block.CreatureSpawnerCopyright © 2021. All rights reserved.