# Package org.bukkit.block.data

package org.bukkit.block.data
Generalized BlockData classes.

Related Packages
Package
Description
org.bukkit.block
Classes used to manipulate the voxels in a `world`, including special states.
org.bukkit.block.data.type
Specific BlockData classes relevant to only a given block or set of blocks.
org.bukkit.block.banner
Classes relevant to banner blocks.
org.bukkit.block.structure
Classes relevant to structure blocks.
Class
Description
Ageable
'age' represents the different growth stages that a crop-like block can go through.
AnaloguePowerable
'power' represents the redstone power level currently being emitted or transmitted via this block.
Attachable
'attached' denotes whether a tripwire hook or string forms a complete tripwire circuit and is ready to trigger.
Bisected
'half' denotes which half of a two block tall material this block is.
Bisected.Half
The half of a vertically bisected block.
BlockData
Directional
'facing' represents the face towards which the block is pointing.
FaceAttachable
'face' represents the face to which a lever or button is stuck.
FaceAttachable.AttachedFace
The face to which a switch type block is stuck.
Hangable
'hanging' denotes whether the lantern is hanging from a block.
Levelled
'level' represents the amount of fluid contained within this block, either by itself or inside a cauldron.
Lightable
'lit' denotes whether this block (either a redstone torch or furnace) is currently lit - that is not burned out.
MultipleFacing
This class encompasses the 'north', 'east', 'south', 'west', 'up', 'down' boolean flags which are used to set which faces of the block textures are displayed on.
Openable
'open' denotes whether this block is currently opened.
Orientable
'axis' represents the axis along whilst this block is oriented.
Powerable
'powered' indicates whether this block is in the powered state or not, i.e.
Rail
'shape' represents the current layout of a minecart rail.
Rail.Shape
The different types of shapes a rail block can occupy.
Rotatable
'rotation' represents the current rotation of this block.
Snowable
'snowy' denotes whether this block has a snow covered side and top texture (normally because the block above is snow).
Waterlogged
'waterlogged' denotes whether this block has fluid in it.