Package org.bukkit.block
Interface DecoratedPot
- All Superinterfaces:
- BlockState,- Metadatable,- PersistentDataHolder,- TileState
Represents a captured state of a decorated pot.
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdd a shard item which will be dropped when this pot is broken.Gets the shards which will be dropped when this pot is broken.voidSet the shards which will be dropped when this pot is broken.Methods inherited from interface org.bukkit.block.BlockStategetBlock, getBlockData, getChunk, getData, getDrops, getDrops, getDrops, getLightLevel, getLocation, getLocation, getRawData, getType, getWorld, getX, getY, getZ, isCollidable, isPlaced, setBlockData, setData, setRawData, setType, update, update, updateMethods inherited from interface org.bukkit.metadata.MetadatablegetMetadata, hasMetadata, removeMetadata, setMetadataMethods inherited from interface org.bukkit.block.TileStategetPersistentDataContainer, isSnapshot
- 
Method Details- 
getShardsGets the shards which will be dropped when this pot is broken.- Returns:
- shards
 
- 
addShardAdd a shard item which will be dropped when this pot is broken.- Parameters:
- material- shard item
 
- 
setShardsSet the shards which will be dropped when this pot is broken.- Parameters:
- shard- list of items
 
 
-