Package net.glowstone.block.entity.state
Class GlowFlowerPot
java.lang.Object
net.glowstone.block.GlowBlockState
net.glowstone.block.entity.state.GlowFlowerPot
- All Implemented Interfaces:
org.bukkit.block.BlockState
,org.bukkit.metadata.Metadatable
-
Field Summary
Fields inherited from class net.glowstone.block.GlowBlockState
blockData, data, type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.material.MaterialData
void
setContents
(org.bukkit.material.MaterialData contents) boolean
update
(boolean force, boolean applyPhysics) 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
-
Constructor Details
-
GlowFlowerPot
Creates an instance for the given block.- Parameters:
block
- the flowerpot block
-
-
Method Details
-
update
public boolean update(boolean force, boolean applyPhysics) - Specified by:
update
in interfaceorg.bukkit.block.BlockState
- Overrides:
update
in classGlowBlockState
-
getContents
public org.bukkit.material.MaterialData getContents() -
setContents
public void setContents(org.bukkit.material.MaterialData contents)
-