Package org.bukkit.block
Interface ChiseledBookshelf
- All Superinterfaces:
- BlockInventoryHolder,- BlockState,- InventoryHolder,- Metadatable,- PersistentDataHolder,- TileState
Represents a captured state of a chiseled bookshelf.
- 
Method SummaryModifier and TypeMethodDescriptionGet the object's inventory.intGets the last interacted inventory slot.voidsetLastInteractedSlot(int lastInteractedSlot) Sets the last interacted inventory slot.Methods inherited from interface org.bukkit.inventory.BlockInventoryHoldergetBlockMethods 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- 
getLastInteractedSlotint getLastInteractedSlot()Gets the last interacted inventory slot.- Returns:
- the last interacted slot
 
- 
setLastInteractedSlotvoid setLastInteractedSlot(int lastInteractedSlot) Sets the last interacted inventory slot.- Parameters:
- lastInteractedSlot- the new last interacted slot
 
- 
getInventoryDescription copied from interface:InventoryHolderGet the object's inventory.- Specified by:
- getInventoryin interface- InventoryHolder
- Returns:
- inventory
- See Also:
 
- 
getSnapshotInventory- Returns:
- snapshot inventory
- See Also:
 
 
-