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
ConstructorsConstructorDescriptionGlowBrewingStand(GlowBlock block) GlowBrewingStand(GlowBlock block, int brewTime) -
Method Summary
Modifier and TypeMethodDescriptionintintorg.bukkit.inventory.BrewerInventoryorg.bukkit.inventory.BrewerInventoryvoidsetBrewingTime(int brewingTime) voidsetFuelLevel(int fuelLevel) booleanupdate(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, 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, 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, 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
-
GlowBrewingStand
-
GlowBrewingStand
-
-
Method Details
-
getInventory
public org.bukkit.inventory.BrewerInventory getInventory()- Specified by:
getInventoryin interfaceorg.bukkit.block.BrewingStand- Specified by:
getInventoryin interfaceorg.bukkit.block.Container- Specified by:
getInventoryin interfaceorg.bukkit.inventory.InventoryHolder- Overrides:
getInventoryin classGlowContainer
-
update
public boolean update(boolean force, boolean applyPhysics) - Specified by:
updatein interfaceorg.bukkit.block.BlockState- Overrides:
updatein classGlowBlockState
-
getSnapshotInventory
public org.bukkit.inventory.BrewerInventory getSnapshotInventory()- Specified by:
getSnapshotInventoryin interfaceorg.bukkit.block.BrewingStand- Specified by:
getSnapshotInventoryin interfaceorg.bukkit.block.Container- Overrides:
getSnapshotInventoryin classGlowContainer
-
getBrewingTime
public int getBrewingTime()- Specified by:
getBrewingTimein interfaceorg.bukkit.block.BrewingStand
-
setBrewingTime
public void setBrewingTime(int brewingTime) - Specified by:
setBrewingTimein interfaceorg.bukkit.block.BrewingStand
-
getFuelLevel
public int getFuelLevel()- Specified by:
getFuelLevelin interfaceorg.bukkit.block.BrewingStand
-
setFuelLevel
public void setFuelLevel(int fuelLevel) - Specified by:
setFuelLevelin interfaceorg.bukkit.block.BrewingStand
-