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, update
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
public GlowCreatureSpawner(GlowBlock block)
block
- the spawner blockpublic boolean update(boolean force, boolean applyPhysics)
update
in interface org.bukkit.block.BlockState
update
in class GlowBlockState
public void setDelay(int i)
setDelay
in interface org.bukkit.block.CreatureSpawner
public int getMinSpawnDelay()
getMinSpawnDelay
in interface org.bukkit.block.CreatureSpawner
public void setMinSpawnDelay(int i)
setMinSpawnDelay
in interface org.bukkit.block.CreatureSpawner
public int getMaxSpawnDelay()
getMaxSpawnDelay
in interface org.bukkit.block.CreatureSpawner
public void setMaxSpawnDelay(int i)
setMaxSpawnDelay
in interface org.bukkit.block.CreatureSpawner
public int getSpawnCount()
getSpawnCount
in interface org.bukkit.block.CreatureSpawner
public void setSpawnCount(int i)
setSpawnCount
in interface org.bukkit.block.CreatureSpawner
public int getMaxNearbyEntities()
getMaxNearbyEntities
in interface org.bukkit.block.CreatureSpawner
public void setMaxNearbyEntities(int i)
setMaxNearbyEntities
in interface org.bukkit.block.CreatureSpawner
public int getRequiredPlayerRange()
getRequiredPlayerRange
in interface org.bukkit.block.CreatureSpawner
public void setRequiredPlayerRange(int i)
setRequiredPlayerRange
in interface org.bukkit.block.CreatureSpawner
public int getSpawnRange()
getSpawnRange
in interface org.bukkit.block.CreatureSpawner
public void setSpawnRange(int i)
setSpawnRange
in interface org.bukkit.block.CreatureSpawner
public void setCreatureTypeByName(String creatureType)
setCreatureTypeByName
in interface org.bukkit.block.CreatureSpawner
public String getCreatureTypeName()
getCreatureTypeName
in interface org.bukkit.block.CreatureSpawner
public org.bukkit.entity.EntityType getSpawnedType()
getSpawnedType
in interface org.bukkit.block.CreatureSpawner
public void setSpawnedType(org.bukkit.entity.EntityType spawnedType)
setSpawnedType
in interface org.bukkit.block.CreatureSpawner
public int getDelay()
getDelay
in interface org.bukkit.block.CreatureSpawner
Copyright © 2021. All rights reserved.