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, getDrops, getDrops, getDrops, getLightLevel, getLocation, getLocation, getRawData, getType, getWorld, getX, getY, getZ, isCollidable, isPlaced, setBlockData, setData, setRawData, setType, update, update, update
Methods inherited from interface org.bukkit.loot.Lootable
clearLootTable, getLootTable, getSeed, hasLootTable, setLootTable, setLootTable, setSeed
Methods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata
Methods inherited from interface org.bukkit.block.TileState
getPersistentDataContainer, isSnapshot
-
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
-