BlockState
, Metadatable
public interface FlowerPot extends BlockState
Modifier and Type | Method | Description |
---|---|---|
MaterialData |
getContents() |
Gets the item present in this flower pot.
|
void |
setContents(MaterialData item) |
Sets the item present in this flower pot.
|
getBlock, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getTypeId, getWorld, getX, getY, getZ, isPlaced, setData, setRawData, setType, setTypeId, update, update, update
getMetadata, hasMetadata, removeMetadata, setMetadata
MaterialData getContents()
void setContents(MaterialData item)
item
- new item, or null for empty.Copyright © 2018. All rights reserved.