BlockState
, Metadatable
@Deprecated public interface FlowerPot extends BlockState
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.
|
getBlock, getBlockData, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getWorld, getX, getY, getZ, isPlaced, setBlockData, setData, setRawData, setType, update, update, update
getMetadata, hasMetadata, removeMetadata, setMetadata
@Nullable MaterialData getContents()
void setContents(@Nullable MaterialData item)
item
- new item, or null for empty.Copyright © 2019. All rights reserved.