public class GlowBeacon extends GlowContainer implements org.bukkit.block.Beacon
data, typeId| Constructor and Description |
|---|
GlowBeacon(GlowBlock block)
Creates an entity for the given beacon block.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<org.bukkit.entity.LivingEntity> |
getEntitiesInRange() |
org.bukkit.inventory.BeaconInventory |
getInventory() |
org.bukkit.potion.PotionEffect |
getPrimaryEffect() |
org.bukkit.potion.PotionEffect |
getSecondaryEffect() |
org.bukkit.inventory.BeaconInventory |
getSnapshotInventory() |
int |
getTier() |
void |
setPrimaryEffect(org.bukkit.potion.PotionEffectType primary) |
void |
setSecondaryEffect(org.bukkit.potion.PotionEffectType secondary) |
clearLootTable, getCustomName, getLastFilled, getLastLooted, getLock, getLootTableName, getLootTableSeed, getNextRefill, hasBeenFilled, hasLootTable, hasPendingRefill, hasPlayerLooted, isLocked, isRefillEnabled, setCustomName, setHasPlayerLooted, setLock, setLootTable, setLootTable, setLootTableSeed, setNextRefillequals, 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, updateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetBlock, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getTypeId, getWorld, getX, getY, getZ, isPlaced, setData, setRawData, setType, setTypeId, update, update, updatepublic GlowBeacon(GlowBlock block)
block - the block this beacon occupiespublic Collection<org.bukkit.entity.LivingEntity> getEntitiesInRange()
getEntitiesInRange in interface org.bukkit.block.Beaconpublic int getTier()
getTier in interface org.bukkit.block.Beaconpublic void setPrimaryEffect(org.bukkit.potion.PotionEffectType primary)
setPrimaryEffect in interface org.bukkit.block.Beaconpublic void setSecondaryEffect(org.bukkit.potion.PotionEffectType secondary)
setSecondaryEffect in interface org.bukkit.block.Beaconpublic org.bukkit.potion.PotionEffect getPrimaryEffect()
getPrimaryEffect in interface org.bukkit.block.Beaconpublic org.bukkit.potion.PotionEffect getSecondaryEffect()
getSecondaryEffect in interface org.bukkit.block.Beaconpublic org.bukkit.inventory.BeaconInventory getInventory()
getInventory in interface org.bukkit.block.BeacongetInventory in interface org.bukkit.block.ContainergetInventory in interface org.bukkit.inventory.InventoryHolderpublic org.bukkit.inventory.BeaconInventory getSnapshotInventory()
getSnapshotInventory in interface org.bukkit.block.BeacongetSnapshotInventory in interface org.bukkit.block.ContainergetSnapshotInventory in class GlowContainerCopyright © 2021. All rights reserved.