Package org.bukkit.block
Interface BrushableBlock
- All Superinterfaces:
BlockState,Lootable,Metadatable,PersistentDataHolder,TileState
- All Known Subinterfaces:
SuspiciousSand
Represents a captured state of suspicious sand or gravel.
-
Method Summary
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, updateMethods inherited from interface org.bukkit.loot.Lootable
getLootTable, getSeed, setLootTable, setSeedMethods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadataMethods inherited from interface org.bukkit.block.TileState
getPersistentDataContainer
-
Method Details
-
getItem
Get the item which will be revealed when the sand is fully brushed away and uncovered.- Returns:
- the item
-
setItem
Sets the item which will be revealed when the sand is fully brushed away and uncovered.- Parameters:
item- the item
-