Package org.bukkit.block
Interface Bed
- All Superinterfaces:
- BlockState,- Colorable,- Metadatable,- PersistentDataHolder,- TileState
Represents a captured state of a bed.
- 
Method SummaryMethods inherited from interface org.bukkit.block.BlockStatecopy, copy, getBlock, 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- 
getColorDescription copied from interface:ColorableGets the color of this object.
 This may be null to represent the default color of an object, if the object has a special default color (e.g Shulkers).
- 
setColor@Contract("_ -> fail") @Deprecated(forRemoval=true) void setColor(@UndefinedNullability("not supported") DyeColor color) Deprecated, for removal: This API element is subject to removal in a future version.Unsupported- Specified by:
- setColorin interface- Colorable
- Parameters:
- color- The color of the object, as a DyeColor.
- Throws:
- UnsupportedOperationException- not supported, set the block type
 
 
-