Package org.bukkit.block.data.type
Specific BlockData classes relevant to only a given block or set of blocks.
-
Interface Summary Interface Description Bamboo 'leaves' represents the size of the leaves on this bamboo block.Bed Similar toBisected
, 'part' denotes which half of the bed this block corresponds to.Beehive 'honey_level' represents the amount of honey stored in the hive.Bell 'attachment' denotes how the bell is attached to its block.BrewingStand Interface to the 'has_bottle_0', 'has_bottle_1', 'has_bottle_2' flags on a brewing stand which indicate which bottles are rendered on the outside.BubbleColumn 'drag' indicates whether a force will be applied on entities moving through this block.Cake 'bites' represents the amount of bites which have been taken from this slice of cake.Campfire 'signal_fire' denotes whether the fire is extra smokey due to having a hay bale placed beneath it.Chain Chest 'type' represents which part of a double chest this block is, or if it is a single chest.Cocoa CommandBlock 'conditional' denotes whether this command block is conditional or not, i.e.Comparator 'mode' indicates what mode this comparator will operate in.CoralWallFan DaylightDetector 'inverted' denotes whether this daylight detector is in the inverted mode, i.e.Dispenser Similar toPowerable
, 'triggered' indicates whether or not the dispenser is currently activated.Door 'hinge' indicates which hinge this door is attached to and will rotate around when opened.EnderChest EndPortalFrame 'eye' denotes whether this end portal frame has been activated by having an eye of ender placed in it.Farmland The 'moisture' level of farmland indicates how close it is to a water source (if any).Fence Fire md_5's mixtape.Furnace Gate 'in_wall" indicates if the fence gate is attached to a wall, and if true the texture is lowered by a small amount to blend in better.GlassPane Grindstone Hopper Similar toPowerable
, 'enabled' indicates whether or not the hopper is currently activated.Jigsaw 'orientation' is the direction the block is facing.Jukebox 'has_record' is a quick flag to check whether this jukebox has a record inside it.Ladder Lantern 'hanging' denotes whether the lantern is hanging from a block.Leaves 'persistent' indicates whether or not leaves will be checked by the server to see if they are subject to decay or not.Lectern 'has_book' is a quick flag to check whether this lectern has a book inside it.NoteBlock 'instrument' is the type of sound made when this note block is activated.Observer Piston 'extended' denotes whether the piston head is currently extended or not.PistonHead 'short' denotes this piston head is shorter than the usual amount because it is currently retracting.RedstoneRail A type of minecart rail which interacts with redstone in one way or another.RedstoneWallTorch RedstoneWire 'north', 'east', 'south', 'west' represent the types of connections this redstone wire has to adjacent blocks.Repeater 'delay' is the propagation delay of a repeater, i.e.RespawnAnchor 'charges' represents the amount of times the anchor may still be used.Sapling 'stage' represents the growth stage of a sapling.Scaffolding 'bottom' indicates whether the scaffolding is floating or not.SeaPickle 'pickles' indicates the number of pickles in this block.Sign Slab 'type' represents what state the slab is in - either top, bottom, or a double slab occupying the full block.Snow 'layers' represents the amount of layers of snow which are present in this block.Stairs 'shape' represents the texture and bounding box shape of these stairs.StructureBlock 'mode' represents the different modes in which this structure block may operate.Switch TechnicalPiston 'type' represents the type of piston which this (technical) block corresponds to.TNT 'unstable' indicates whether this TNT will explode on punching.TrapDoor Tripwire 'disarmed' denotes that the tripwire was broken with shears and will not subsequently produce a current when destroyed.TripwireHook TurtleEgg 'hatch' is the number of turtles which may hatch from these eggs.Wall This class encompasses the 'north', 'east', 'south', 'west', height flags which are used to set the height of a wall.WallSign -
Enum Summary Enum Description Bamboo.Leaves Bamboo leaf size.Bed.Part Horizontal half of a bed.Bell.Attachment What the bell is attached to.Chest.Type Type of this chest block.Comparator.Mode The mode in which a comparator will operate in.Door.Hinge The hinge of a door.Jigsaw.Orientation The directions the Jigsaw can be oriented.RedstoneWire.Connection The way in which a redstone wire can connect to an adjacent block face.Slab.Type The type of the slab.Stairs.Shape The shape of a stair block - used for constructing corners.StructureBlock.Mode Operating mode of a structure block.Switch.Face Deprecated. TechnicalPiston.Type Different piston variants.Wall.Height The different heights a face of a wall may have.