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
copy, copy, 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.loot.Lootable
getLootTable, getSeed, setLootTable, setSeed
Methods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata
Methods 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
-