Package net.glowstone.block.entity.state
Class GlowBeacon
java.lang.Object
net.glowstone.block.GlowBlockState
net.glowstone.block.entity.state.GlowContainer
net.glowstone.block.entity.state.GlowBeacon
- All Implemented Interfaces:
com.destroystokyo.paper.loottable.LootableBlockInventory,com.destroystokyo.paper.loottable.LootableInventory,org.bukkit.block.Beacon,org.bukkit.block.BlockState,org.bukkit.block.Container,org.bukkit.block.Lockable,org.bukkit.block.TileState,org.bukkit.inventory.BlockInventoryHolder,org.bukkit.inventory.InventoryHolder,org.bukkit.loot.Lootable,org.bukkit.metadata.Metadatable,org.bukkit.Nameable,org.bukkit.persistence.PersistentDataHolder
-
Field Summary
Fields inherited from class net.glowstone.block.GlowBlockState
blockData, data, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleCollection<org.bukkit.entity.LivingEntity>org.bukkit.inventory.BeaconInventoryorg.bukkit.potion.PotionEffectorg.bukkit.potion.PotionEffectorg.bukkit.inventory.BeaconInventoryintgetTier()voidvoidsetEffectRange(double v) voidsetPrimaryEffect(org.bukkit.potion.PotionEffectType primary) voidsetSecondaryEffect(org.bukkit.potion.PotionEffectType secondary) Methods inherited from class net.glowstone.block.entity.state.GlowContainer
clearLootTable, customName, customName, getCustomName, getLastFilled, getLastLooted, getLock, getLootTable, getNextRefill, getPersistentDataContainer, getSeed, hasBeenFilled, hasLootTable, hasPendingRefill, hasPlayerLooted, isLocked, isRefillEnabled, setCustomName, setHasPlayerLooted, setLock, setLootTable, setLootTable, setLootTableSeed, setNextRefill, setSeedMethods inherited from class net.glowstone.block.GlowBlockState
canEqual, equals, getBlock, getBlockData, getChunk, getData, getLightLevel, getLocation, getLocation, getMetadata, getRawData, getType, getWorld, getX, getY, getZ, hashCode, hasMetadata, isFlowed, isPlaced, removeMetadata, setBlockData, setData, setFlowed, setMetadata, setRawData, setType, toString, update, update, updateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.bukkit.inventory.BlockInventoryHolder
getBlockMethods inherited from interface org.bukkit.block.BlockState
getBlock, getBlockData, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getWorld, getX, getY, getZ, isPlaced, setBlockData, setData, setRawData, setType, update, update, updateMethods inherited from interface org.bukkit.block.Lockable
getLock, isLocked, setLockMethods inherited from interface com.destroystokyo.paper.loottable.LootableBlockInventory
getBlockMethods inherited from interface com.destroystokyo.paper.loottable.LootableInventory
getLastLooted, hasPlayerLooted, setHasPlayerLootedMethods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadataMethods inherited from interface org.bukkit.Nameable
customName, customName, getCustomName, setCustomNameMethods inherited from interface org.bukkit.block.TileState
getPersistentDataContainer
-
Constructor Details
-
GlowBeacon
Creates an entity for the given beacon block.- Parameters:
block- the block this beacon occupies
-
-
Method Details
-
getEntitiesInRange
- Specified by:
getEntitiesInRangein interfaceorg.bukkit.block.Beacon
-
getTier
public int getTier()- Specified by:
getTierin interfaceorg.bukkit.block.Beacon
-
getEffectRange
public double getEffectRange()- Specified by:
getEffectRangein interfaceorg.bukkit.block.Beacon
-
setEffectRange
public void setEffectRange(double v) - Specified by:
setEffectRangein interfaceorg.bukkit.block.Beacon
-
resetEffectRange
public void resetEffectRange()- Specified by:
resetEffectRangein interfaceorg.bukkit.block.Beacon
-
getPrimaryEffect
public org.bukkit.potion.PotionEffect getPrimaryEffect()- Specified by:
getPrimaryEffectin interfaceorg.bukkit.block.Beacon
-
setPrimaryEffect
public void setPrimaryEffect(org.bukkit.potion.PotionEffectType primary) - Specified by:
setPrimaryEffectin interfaceorg.bukkit.block.Beacon
-
getSecondaryEffect
public org.bukkit.potion.PotionEffect getSecondaryEffect()- Specified by:
getSecondaryEffectin interfaceorg.bukkit.block.Beacon
-
setSecondaryEffect
public void setSecondaryEffect(org.bukkit.potion.PotionEffectType secondary) - Specified by:
setSecondaryEffectin interfaceorg.bukkit.block.Beacon
-
getInventory
public org.bukkit.inventory.BeaconInventory getInventory()- Specified by:
getInventoryin interfaceorg.bukkit.block.Container- Specified by:
getInventoryin interfaceorg.bukkit.inventory.InventoryHolder- Overrides:
getInventoryin classGlowContainer
-
getSnapshotInventory
public org.bukkit.inventory.BeaconInventory getSnapshotInventory()- Specified by:
getSnapshotInventoryin interfaceorg.bukkit.block.Container- Overrides:
getSnapshotInventoryin classGlowContainer
-