Uses of Package
org.bukkit.block.data.type
Package
Description
Classes used to manipulate the voxels in a
world
,
including special states.Specific BlockData classes relevant to only a given block or set of blocks.
-
ClassDescription'leaves' represents the size of the leaves on this bamboo block.Similar to
Bisected
, 'part' denotes which half of the bed this block corresponds to.'honey_level' represents the amount of honey stored in the hive.'attachment' denotes how the bell is attached to its block.'tilt' indicates how far the leaf is tilted.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.'drag' indicates whether a force will be applied on entities moving through this block.'bites' represents the amount of bites which have been taken from this slice of cake.'signal_fire' denotes whether the fire is extra smokey due to having a hay bale placed beneath it.'candles' represents the number of candles which are present.'berries' indicates whether the block has berries.'type' represents which part of a double chest this block is, or if it is a single chest.Interface to the 'slot_0_occupied', 'slow_1_occupied' ...'conditional' denotes whether this command block is conditional or not, i.e.'mode' indicates what mode this comparator will operate in.'orientation' is the direction the block is facing.'creaking' is the creaking status of this block.'inverted' denotes whether this daylight detector is in the inverted mode, i.e.Similar toPowerable
, 'triggered' indicates whether or not the dispenser is currently activated.'hinge' indicates which hinge this door is attached to and will rotate around when opened.'eye' denotes whether this end portal frame has been activated by having an eye of ender placed in it.The 'moisture' level of farmland indicates how close it is to a water source (if any).md_5's mixtape.'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.'tip' indicates whether this block is a tip.Similar toPowerable
, 'enabled' indicates whether or not the hopper is currently activated.'orientation' is the direction the block is facing.'has_record' is a quick flag to check whether this jukebox has a record inside it.'persistent' indicates whether or not leaves will be checked by the server to see if they are subject to decay or not.'has_book' is a quick flag to check whether this lectern has a book inside it.This class encompasses the 'north', 'east', 'south', 'west', height flags which are used to set the height of a face.'instrument' is the type of sound made when this note block is activated.'flower_amount' represents the number of petals.'extended' denotes whether the piston head is currently extended or not.'short' denotes this piston head is shorter than the usual amount because it is currently retracting.'thickness' represents the dripstone thickness.A type of minecart rail which interacts with redstone in one way or another.'north', 'east', 'south', 'west' represent the types of connections this redstone wire has to adjacent blocks.'delay' is the propagation delay of a repeater, i.e.'charges' represents the amount of times the anchor may still be used.'stage' represents the growth stage of a sapling.'bottom' indicates whether the scaffolding is floating or not.'bloom' indicates whether the sculk catalyst is actively spreading the sculk or not.'sculk_sensor_phase' indicates the current operational phase of the sensor.'can_summon' indicates whether the sculk shrieker can summon the warden.'pickles' indicates the number of pickles in this block.'type' represents what state the slab is in - either top, bottom, or a double slab occupying the full block.'layers' represents the amount of layers of snow which are present in this block.'shape' represents the texture and bounding box shape of these stairs.'mode' represents the different modes in which this structure block may operate.'type' represents the type of piston which this (technical) block corresponds to.'unstable' indicates whether this TNT will explode on punching.'trial_spawner_state' indicates the current operational phase of the spawner.'disarmed' denotes that the tripwire was broken with shears and will not subsequently produce a current when destroyed.'eggs' is the number of eggs which appear in this block.'vault_state' indicates the current operational phase of the vault block.This class encompasses the 'north', 'east', 'south', 'west', height flags which are used to set the height of a wall. -
ClassDescriptionBamboo leaf size.Horizontal half of a bed.What the bell is attached to.The tilt of a leaf.'berries' indicates whether the block has berries.Type of this chest block.The mode in which a comparator will operate in.The directions the Crafter can be oriented.Creaking status.The hinge of a door.The directions the Jigsaw can be oriented.The different heights a face may have.Represents the thickness of the dripstone, corresponding to its position within a multi-block dripstone formation.The way in which a redstone wire can connect to an adjacent block face.'stage' represents the growth stage of a sapling.'sculk_sensor_phase' indicates the current operational phase of the sensor.The Phase of the sensor.The type of the slab.The shape of a stair block - used for constructing corners.Operating mode of a structure block.Deprecated.'type' represents the type of piston which this (technical) block corresponds to.Different piston variants.The different heights a face of a wall may have.
FaceAttachable.AttachedFace