Package org.bukkit.block
Interface SuspiciousSand
- All Superinterfaces:
BlockState
,Lootable
,Metadatable
,PersistentDataHolder
,TileState
Represents a captured state of suspicious sand.
-
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
-