Package net.glowstone.block.entity.state
Class GlowDropper
java.lang.Object
net.glowstone.block.GlowBlockState
net.glowstone.block.entity.state.GlowContainer
net.glowstone.block.entity.state.GlowDispenser
net.glowstone.block.entity.state.GlowDropper
- All Implemented Interfaces:
com.destroystokyo.paper.loottable.LootableBlockInventory
,com.destroystokyo.paper.loottable.LootableInventory
,org.bukkit.block.BlockState
,org.bukkit.block.Container
,org.bukkit.block.Dispenser
,org.bukkit.block.Dropper
,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
,org.bukkit.projectiles.BlockProjectileSource
,org.bukkit.projectiles.ProjectileSource
-
Field Summary
Fields inherited from class net.glowstone.block.GlowBlockState
blockData, data, type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
drop()
protected DispenseBehavior
getDispenseBehavior
(org.bukkit.Material itemType) Returns the dispense behavior that will dispense this type of item.Methods inherited from class net.glowstone.block.entity.state.GlowDispenser
dispense, getBlockProjectileSource, getDispenseBehaviorRegistry, getDispenseSlot, getInventory, launchProjectile, launchProjectile, placeInDispenser, register, update
Methods inherited from class net.glowstone.block.entity.state.GlowContainer
clearLootTable, customName, customName, getCustomName, getLastFilled, getLastLooted, getLock, getLootTable, getNextRefill, getPersistentDataContainer, getSeed, getSnapshotInventory, hasBeenFilled, hasLootTable, hasPendingRefill, hasPlayerLooted, isLocked, isRefillEnabled, setCustomName, setHasPlayerLooted, setLock, setLootTable, setLootTable, setLootTableSeed, setNextRefill, setSeed
Methods 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, isCollidable, isFlowed, isPlaced, isSnapshot, removeMetadata, setBlockData, setData, setFlowed, setMetadata, setRawData, setType, toString, update, update
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.bukkit.inventory.BlockInventoryHolder
getBlock
Methods inherited from interface org.bukkit.projectiles.BlockProjectileSource
getBlock
Methods inherited from interface org.bukkit.block.BlockState
getBlock, getBlockData, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getWorld, getX, getY, getZ, isCollidable, isPlaced, setBlockData, setData, setRawData, setType, update, update, update
Methods inherited from interface org.bukkit.block.Container
getInventory, getSnapshotInventory
Methods inherited from interface org.bukkit.block.Lockable
getLock, isLocked, setLock
Methods inherited from interface org.bukkit.loot.Lootable
clearLootTable, getLootTable, getSeed, hasLootTable, setLootTable, setLootTable, setSeed
Methods inherited from interface com.destroystokyo.paper.loottable.LootableBlockInventory
getBlock
Methods inherited from interface com.destroystokyo.paper.loottable.LootableInventory
getLastFilled, getLastLooted, getLastLooted, getNextRefill, hasBeenFilled, hasPendingRefill, hasPlayerLooted, hasPlayerLooted, isRefillEnabled, setHasPlayerLooted, setHasPlayerLooted, setNextRefill
Methods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata
Methods inherited from interface org.bukkit.Nameable
customName, customName, getCustomName, setCustomName
Methods inherited from interface org.bukkit.block.TileState
getPersistentDataContainer, isSnapshot
-
Constructor Details
-
GlowDropper
-
-
Method Details
-
drop
public void drop()- Specified by:
drop
in interfaceorg.bukkit.block.Dropper
-
getDispenseBehavior
Description copied from class:GlowDispenser
Returns the dispense behavior that will dispense this type of item.- Overrides:
getDispenseBehavior
in classGlowDispenser
- Parameters:
itemType
- the item type to dispense- Returns:
- the dispense behavior
-