Package org.bukkit.block
Interface FlowerPot
-
- All Superinterfaces:
BlockState
,Metadatable
@Deprecated public interface FlowerPot extends BlockState
Deprecated.not a tile entity in future versions of MinecraftRepresents a captured state of a flower pot.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description MaterialData
getContents()
Deprecated.Gets the item present in this flower pot.void
setContents(MaterialData item)
Deprecated.Sets the item present in this flower pot.-
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, update
-
Methods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata
-
-
-
-
Method Detail
-
getContents
@Nullable MaterialData getContents()
Deprecated.Gets the item present in this flower pot.- Returns:
- item present, or null for empty.
-
setContents
void setContents(@Nullable MaterialData item)
Deprecated.Sets the item present in this flower pot. NOTE: The Vanilla Minecraft client will currently not refresh this until a block update is triggered.- Parameters:
item
- new item, or null for empty.
-
-