Package net.glowstone.block.entity.state
Class GlowBrewingStand
java.lang.Object
net.glowstone.block.GlowBlockState
net.glowstone.block.entity.state.GlowContainer
net.glowstone.block.entity.state.GlowBrewingStand
- All Implemented Interfaces:
com.destroystokyo.paper.loottable.LootableBlockInventory
,com.destroystokyo.paper.loottable.LootableInventory
,org.bukkit.block.BlockState
,org.bukkit.block.BrewingStand
,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
ConstructorDescriptionGlowBrewingStand
(GlowBlock block) GlowBrewingStand
(GlowBlock block, int brewTime) -
Method Summary
Modifier and TypeMethodDescriptionint
int
org.bukkit.inventory.BrewerInventory
org.bukkit.inventory.BrewerInventory
void
setBrewingTime
(int brewingTime) void
setFuelLevel
(int fuelLevel) boolean
update
(boolean force, boolean applyPhysics) 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, 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, isFlowed, isPlaced, 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.block.BlockState
getBlock, getBlockData, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getWorld, getX, getY, getZ, isPlaced, setBlockData, setData, setRawData, setType, update, update
Methods inherited from interface org.bukkit.block.Lockable
getLock, isLocked, setLock
Methods inherited from interface com.destroystokyo.paper.loottable.LootableBlockInventory
getBlock
Methods inherited from interface com.destroystokyo.paper.loottable.LootableInventory
getLastLooted, hasPlayerLooted, setHasPlayerLooted
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
-
Constructor Details
-
GlowBrewingStand
-
GlowBrewingStand
-
-
Method Details
-
getInventory
public org.bukkit.inventory.BrewerInventory getInventory()- Specified by:
getInventory
in interfaceorg.bukkit.block.BrewingStand
- Specified by:
getInventory
in interfaceorg.bukkit.block.Container
- Specified by:
getInventory
in interfaceorg.bukkit.inventory.InventoryHolder
- Overrides:
getInventory
in classGlowContainer
-
update
public boolean update(boolean force, boolean applyPhysics) - Specified by:
update
in interfaceorg.bukkit.block.BlockState
- Overrides:
update
in classGlowBlockState
-
getSnapshotInventory
public org.bukkit.inventory.BrewerInventory getSnapshotInventory()- Specified by:
getSnapshotInventory
in interfaceorg.bukkit.block.BrewingStand
- Specified by:
getSnapshotInventory
in interfaceorg.bukkit.block.Container
- Overrides:
getSnapshotInventory
in classGlowContainer
-
getBrewingTime
public int getBrewingTime()- Specified by:
getBrewingTime
in interfaceorg.bukkit.block.BrewingStand
-
setBrewingTime
public void setBrewingTime(int brewingTime) - Specified by:
setBrewingTime
in interfaceorg.bukkit.block.BrewingStand
-
getFuelLevel
public int getFuelLevel()- Specified by:
getFuelLevel
in interfaceorg.bukkit.block.BrewingStand
-
setFuelLevel
public void setFuelLevel(int fuelLevel) - Specified by:
setFuelLevel
in interfaceorg.bukkit.block.BrewingStand
-