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, setNextRefill
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, update
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getBlock, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getTypeId, getWorld, getX, getY, getZ, isPlaced, setData, setRawData, setType, setTypeId, update, update, update
public GlowBeacon(GlowBlock block)
block
- the block this beacon occupiespublic Collection<org.bukkit.entity.LivingEntity> getEntitiesInRange()
getEntitiesInRange
in interface org.bukkit.block.Beacon
public int getTier()
getTier
in interface org.bukkit.block.Beacon
public void setPrimaryEffect(org.bukkit.potion.PotionEffectType primary)
setPrimaryEffect
in interface org.bukkit.block.Beacon
public void setSecondaryEffect(org.bukkit.potion.PotionEffectType secondary)
setSecondaryEffect
in interface org.bukkit.block.Beacon
public org.bukkit.potion.PotionEffect getPrimaryEffect()
getPrimaryEffect
in interface org.bukkit.block.Beacon
public org.bukkit.potion.PotionEffect getSecondaryEffect()
getSecondaryEffect
in interface org.bukkit.block.Beacon
public org.bukkit.inventory.BeaconInventory getInventory()
getInventory
in interface org.bukkit.block.Beacon
getInventory
in interface org.bukkit.block.Container
getInventory
in interface org.bukkit.inventory.InventoryHolder
public org.bukkit.inventory.BeaconInventory getSnapshotInventory()
getSnapshotInventory
in interface org.bukkit.block.Beacon
getSnapshotInventory
in interface org.bukkit.block.Container
getSnapshotInventory
in class GlowContainer
Copyright © 2021. All rights reserved.