Uses of Interface
org.bukkit.block.data.BlockData
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes used to manipulate the voxels in a
world
,
including special states.Generalized BlockData classes.
Specific BlockData classes relevant to only a given block or set of blocks.
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.Classes to facilitate
world
generation
implementation.The interfaces used when manipulating extra data can can be stored inside
item stacks
.-
Uses of BlockData in org.bukkit
Modifier and TypeMethodDescriptionstatic BlockData
Bukkit.createBlockData
(String data) Creates a newBlockData
instance with material and properties parsed from provided data.static BlockData
Bukkit.createBlockData
(Material material) Creates a newBlockData
instance for the specified Material, with all properties initialized to unspecified defaults.static BlockData
Bukkit.createBlockData
(Material material, String data) Creates a newBlockData
instance for the specified Material, with all properties initialized to unspecified defaults, except for those provided in data.static BlockData
Bukkit.createBlockData
(Material material, Consumer<? super BlockData> consumer) Creates a newBlockData
instance for the specified Material, with all properties initialized to unspecified defaults.Material.createBlockData()
Creates a newBlockData
instance for this Material, with all properties initialized to unspecified defaults.Material.createBlockData
(String data) Creates a newBlockData
instance for this Material, with all properties initialized to unspecified defaults, except for those provided in data.Material.createBlockData
(Consumer<? super BlockData> consumer) Creates a newBlockData
instance for this Material, with all properties initialized to unspecified defaults.Server.createBlockData
(String data) Creates a newBlockData
instance with material and properties parsed from provided data.Server.createBlockData
(Material material) Creates a newBlockData
instance for the specified Material, with all properties initialized to unspecified defaults.Server.createBlockData
(Material material, String data) Creates a newBlockData
instance for the specified Material, with all properties initialized to unspecified defaults, except for those provided in data.Server.createBlockData
(Material material, Consumer<? super BlockData> consumer) Creates a newBlockData
instance for the specified Material, with all properties initialized to unspecified defaults.UnsafeValues.fromLegacy
(Material material, byte data) Deprecated.BlockChangeDelegate.getBlockData
(int x, int y, int z) Get the block data at the location.ChunkSnapshot.getBlockData
(int x, int y, int z) Get block data for block at corresponding coordinate in the chunkRegionAccessor.getBlockData
(int x, int y, int z) Gets theBlockData
at the given coordinates.RegionAccessor.getBlockData
(Location location) Modifier and TypeMethodDescriptionboolean
Tests if this chunk contains the specified block.boolean
Tests if this snapshot contains the specified block.boolean
BlockChangeDelegate.setBlockData
(int x, int y, int z, BlockData blockData) Set a block data at the specified coordinates.void
RegionAccessor.setBlockData
(int x, int y, int z, BlockData blockData) Sets theBlockData
at the given coordinates.void
RegionAccessor.setBlockData
(Location location, BlockData blockData) World.spawnFallingBlock
(Location location, BlockData data) Modifier and TypeMethodDescriptionstatic BlockData
Bukkit.createBlockData
(Material material, Consumer<? super BlockData> consumer) Creates a newBlockData
instance for the specified Material, with all properties initialized to unspecified defaults.Material.createBlockData
(Consumer<? super BlockData> consumer) Creates a newBlockData
instance for this Material, with all properties initialized to unspecified defaults.Server.createBlockData
(Material material, Consumer<? super BlockData> consumer) Creates a newBlockData
instance for the specified Material, with all properties initialized to unspecified defaults. -
Uses of BlockData in org.bukkit.block
Modifier and TypeInterfaceDescriptionstatic interface
BlockType.Typed<B extends BlockData>
Typed represents a subtype ofBlockType
s that have a known block data type at compile time.Modifier and TypeFieldDescriptionstatic final BlockType.Typed
<BlockData> BlockType.ACACIA_PLANKS
static final BlockType.Typed
<BlockData> BlockType.AIR
static final BlockType.Typed
<BlockData> BlockType.ALLIUM
static final BlockType.Typed
<BlockData> BlockType.AMETHYST_BLOCK
static final BlockType.Typed
<BlockData> BlockType.ANCIENT_DEBRIS
static final BlockType.Typed
<BlockData> BlockType.ANDESITE
static final BlockType.Typed
<BlockData> BlockType.AZALEA
static final BlockType.Typed
<BlockData> BlockType.AZURE_BLUET
static final BlockType.Typed
<BlockData> BlockType.BAMBOO_MOSAIC
static final BlockType.Typed
<BlockData> BlockType.BAMBOO_PLANKS
static final BlockType.Typed
<BlockData> BlockType.BAMBOO_SAPLING
static final BlockType.Typed
<BlockData> BlockType.BEACON
static final BlockType.Typed
<BlockData> BlockType.BEDROCK
static final BlockType.Typed
<BlockData> BlockType.BIRCH_PLANKS
static final BlockType.Typed
<BlockData> BlockType.BLACK_CARPET
static final BlockType.Typed
<BlockData> BlockType.BLACK_CONCRETE
static final BlockType.Typed
<BlockData> BlockType.BLACK_CONCRETE_POWDER
static final BlockType.Typed
<BlockData> BlockType.BLACK_STAINED_GLASS
static final BlockType.Typed
<BlockData> BlockType.BLACK_TERRACOTTA
static final BlockType.Typed
<BlockData> BlockType.BLACK_WOOL
static final BlockType.Typed
<BlockData> BlockType.BLACKSTONE
static final BlockType.Typed
<BlockData> BlockType.BLUE_CARPET
static final BlockType.Typed
<BlockData> BlockType.BLUE_CONCRETE
static final BlockType.Typed
<BlockData> BlockType.BLUE_CONCRETE_POWDER
static final BlockType.Typed
<BlockData> BlockType.BLUE_ICE
static final BlockType.Typed
<BlockData> BlockType.BLUE_ORCHID
static final BlockType.Typed
<BlockData> BlockType.BLUE_STAINED_GLASS
static final BlockType.Typed
<BlockData> BlockType.BLUE_TERRACOTTA
static final BlockType.Typed
<BlockData> BlockType.BLUE_WOOL
static final BlockType.Typed
<BlockData> BlockType.BOOKSHELF
static final BlockType.Typed
<BlockData> BlockType.BRAIN_CORAL_BLOCK
static final BlockType.Typed
<BlockData> BlockType.BRICKS
static final BlockType.Typed
<BlockData> BlockType.BROWN_CARPET
static final BlockType.Typed
<BlockData> BlockType.BROWN_CONCRETE
static final BlockType.Typed
<BlockData> BlockType.BROWN_CONCRETE_POWDER
static final BlockType.Typed
<BlockData> BlockType.BROWN_MUSHROOM
static final BlockType.Typed
<BlockData> BlockType.BROWN_STAINED_GLASS
static final BlockType.Typed
<BlockData> BlockType.BROWN_TERRACOTTA
static final BlockType.Typed
<BlockData> BlockType.BROWN_WOOL
static final BlockType.Typed
<BlockData> BlockType.BUBBLE_CORAL_BLOCK
static final BlockType.Typed
<BlockData> BlockType.BUDDING_AMETHYST
static final BlockType.Typed
<BlockData> BlockType.CALCITE
static final BlockType.Typed
<BlockData> BlockType.CARTOGRAPHY_TABLE
static final BlockType.Typed
<BlockData> BlockType.CAULDRON
static final BlockType.Typed
<BlockData> BlockType.CAVE_AIR
static final BlockType.Typed
<BlockData> BlockType.CHERRY_PLANKS
static final BlockType.Typed
<BlockData> BlockType.CHISELED_COPPER
static final BlockType.Typed
<BlockData> BlockType.CHISELED_DEEPSLATE
static final BlockType.Typed
<BlockData> BlockType.CHISELED_NETHER_BRICKS
static final BlockType.Typed
<BlockData> BlockType.CHISELED_POLISHED_BLACKSTONE
static final BlockType.Typed
<BlockData> BlockType.CHISELED_QUARTZ_BLOCK
static final BlockType.Typed
<BlockData> BlockType.CHISELED_RED_SANDSTONE
static final BlockType.Typed
<BlockData> BlockType.CHISELED_SANDSTONE
static final BlockType.Typed
<BlockData> BlockType.CHISELED_STONE_BRICKS
static final BlockType.Typed
<BlockData> BlockType.CHISELED_TUFF
static final BlockType.Typed
<BlockData> BlockType.CHISELED_TUFF_BRICKS
static final BlockType.Typed
<BlockData> BlockType.CLAY
static final BlockType.Typed
<BlockData> BlockType.COAL_BLOCK
static final BlockType.Typed
<BlockData> BlockType.COAL_ORE
static final BlockType.Typed
<BlockData> BlockType.COARSE_DIRT
static final BlockType.Typed
<BlockData> BlockType.COBBLED_DEEPSLATE
static final BlockType.Typed
<BlockData> BlockType.COBBLESTONE
static final BlockType.Typed
<BlockData> BlockType.COBWEB
static final BlockType.Typed
<BlockData> BlockType.COPPER_BLOCK
static final BlockType.Typed
<BlockData> BlockType.COPPER_ORE
static final BlockType.Typed
<BlockData> BlockType.CORNFLOWER
static final BlockType.Typed
<BlockData> BlockType.CRACKED_DEEPSLATE_BRICKS
static final BlockType.Typed
<BlockData> BlockType.CRACKED_DEEPSLATE_TILES
static final BlockType.Typed
<BlockData> BlockType.CRACKED_NETHER_BRICKS
static final BlockType.Typed
<BlockData> BlockType.CRACKED_POLISHED_BLACKSTONE_BRICKS
static final BlockType.Typed
<BlockData> BlockType.CRACKED_STONE_BRICKS
static final BlockType.Typed
<BlockData> BlockType.CRAFTING_TABLE
static final BlockType.Typed
<BlockData> BlockType.CRIMSON_FUNGUS
static final BlockType.Typed
<BlockData> BlockType.CRIMSON_NYLIUM
static final BlockType.Typed
<BlockData> BlockType.CRIMSON_PLANKS
static final BlockType.Typed
<BlockData> BlockType.CRIMSON_ROOTS
static final BlockType.Typed
<BlockData> BlockType.CRYING_OBSIDIAN
static final BlockType.Typed
<BlockData> BlockType.CUT_COPPER
static final BlockType.Typed
<BlockData> BlockType.CUT_RED_SANDSTONE
static final BlockType.Typed
<BlockData> BlockType.CUT_SANDSTONE
static final BlockType.Typed
<BlockData> BlockType.CYAN_CARPET
static final BlockType.Typed
<BlockData> BlockType.CYAN_CONCRETE
static final BlockType.Typed
<BlockData> BlockType.CYAN_CONCRETE_POWDER
static final BlockType.Typed
<BlockData> BlockType.CYAN_STAINED_GLASS
static final BlockType.Typed
<BlockData> BlockType.CYAN_TERRACOTTA
static final BlockType.Typed
<BlockData> BlockType.CYAN_WOOL
static final BlockType.Typed
<BlockData> BlockType.DANDELION
static final BlockType.Typed
<BlockData> BlockType.DARK_OAK_PLANKS
static final BlockType.Typed
<BlockData> BlockType.DARK_PRISMARINE
static final BlockType.Typed
<BlockData> BlockType.DEAD_BRAIN_CORAL_BLOCK
static final BlockType.Typed
<BlockData> BlockType.DEAD_BUBBLE_CORAL_BLOCK
static final BlockType.Typed
<BlockData> BlockType.DEAD_BUSH
static final BlockType.Typed
<BlockData> BlockType.DEAD_FIRE_CORAL_BLOCK
static final BlockType.Typed
<BlockData> BlockType.DEAD_HORN_CORAL_BLOCK
static final BlockType.Typed
<BlockData> BlockType.DEAD_TUBE_CORAL_BLOCK
static final BlockType.Typed
<BlockData> BlockType.DEEPSLATE_BRICKS
static final BlockType.Typed
<BlockData> BlockType.DEEPSLATE_COAL_ORE
static final BlockType.Typed
<BlockData> BlockType.DEEPSLATE_COPPER_ORE
static final BlockType.Typed
<BlockData> BlockType.DEEPSLATE_DIAMOND_ORE
static final BlockType.Typed
<BlockData> BlockType.DEEPSLATE_EMERALD_ORE
static final BlockType.Typed
<BlockData> BlockType.DEEPSLATE_GOLD_ORE
static final BlockType.Typed
<BlockData> BlockType.DEEPSLATE_IRON_ORE
static final BlockType.Typed
<BlockData> BlockType.DEEPSLATE_LAPIS_ORE
static final BlockType.Typed
<BlockData> BlockType.DEEPSLATE_TILES
static final BlockType.Typed
<BlockData> BlockType.DIAMOND_BLOCK
static final BlockType.Typed
<BlockData> BlockType.DIAMOND_ORE
static final BlockType.Typed
<BlockData> BlockType.DIORITE
static final BlockType.Typed
<BlockData> BlockType.DIRT
static final BlockType.Typed
<BlockData> BlockType.DIRT_PATH
static final BlockType.Typed
<BlockData> BlockType.DRAGON_EGG
static final BlockType.Typed
<BlockData> BlockType.DRIED_KELP_BLOCK
static final BlockType.Typed
<BlockData> BlockType.DRIPSTONE_BLOCK
static final BlockType.Typed
<BlockData> BlockType.EMERALD_BLOCK
static final BlockType.Typed
<BlockData> BlockType.EMERALD_ORE
static final BlockType.Typed
<BlockData> BlockType.ENCHANTING_TABLE
static final BlockType.Typed
<BlockData> BlockType.END_GATEWAY
static final BlockType.Typed
<BlockData> BlockType.END_PORTAL
static final BlockType.Typed
<BlockData> BlockType.END_STONE
static final BlockType.Typed
<BlockData> BlockType.END_STONE_BRICKS
static final BlockType.Typed
<BlockData> BlockType.EXPOSED_CHISELED_COPPER
static final BlockType.Typed
<BlockData> BlockType.EXPOSED_COPPER
static final BlockType.Typed
<BlockData> BlockType.EXPOSED_CUT_COPPER
static final BlockType.Typed
<BlockData> BlockType.FERN
static final BlockType.Typed
<BlockData> BlockType.FIRE_CORAL_BLOCK
static final BlockType.Typed
<BlockData> BlockType.FLETCHING_TABLE
static final BlockType.Typed
<BlockData> BlockType.FLOWER_POT
static final BlockType.Typed
<BlockData> BlockType.FLOWERING_AZALEA
static final BlockType.Typed
<BlockData> BlockType.FROGSPAWN
static final BlockType.Typed
<BlockData> BlockType.GILDED_BLACKSTONE
static final BlockType.Typed
<BlockData> BlockType.GLASS
static final BlockType.Typed
<BlockData> BlockType.GLOWSTONE
static final BlockType.Typed
<BlockData> BlockType.GOLD_BLOCK
static final BlockType.Typed
<BlockData> BlockType.GOLD_ORE
static final BlockType.Typed
<BlockData> BlockType.GRANITE
static final BlockType.Typed
<BlockData> BlockType.GRAVEL
static final BlockType.Typed
<BlockData> BlockType.GRAY_CARPET
static final BlockType.Typed
<BlockData> BlockType.GRAY_CONCRETE
static final BlockType.Typed
<BlockData> BlockType.GRAY_CONCRETE_POWDER
static final BlockType.Typed
<BlockData> BlockType.GRAY_STAINED_GLASS
static final BlockType.Typed
<BlockData> BlockType.GRAY_TERRACOTTA
static final BlockType.Typed
<BlockData> BlockType.GRAY_WOOL
static final BlockType.Typed
<BlockData> BlockType.GREEN_CARPET
static final BlockType.Typed
<BlockData> BlockType.GREEN_CONCRETE
static final BlockType.Typed
<BlockData> BlockType.GREEN_CONCRETE_POWDER
static final BlockType.Typed
<BlockData> BlockType.GREEN_STAINED_GLASS
static final BlockType.Typed
<BlockData> BlockType.GREEN_TERRACOTTA
static final BlockType.Typed
<BlockData> BlockType.GREEN_WOOL
static final BlockType.Typed
<BlockData> BlockType.HONEY_BLOCK
static final BlockType.Typed
<BlockData> BlockType.HONEYCOMB_BLOCK
static final BlockType.Typed
<BlockData> BlockType.HORN_CORAL_BLOCK
static final BlockType.Typed
<BlockData> BlockType.ICE
static final BlockType.Typed
<BlockData> BlockType.INFESTED_CHISELED_STONE_BRICKS
static final BlockType.Typed
<BlockData> BlockType.INFESTED_COBBLESTONE
static final BlockType.Typed
<BlockData> BlockType.INFESTED_CRACKED_STONE_BRICKS
static final BlockType.Typed
<BlockData> BlockType.INFESTED_MOSSY_STONE_BRICKS
static final BlockType.Typed
<BlockData> BlockType.INFESTED_STONE
static final BlockType.Typed
<BlockData> BlockType.INFESTED_STONE_BRICKS
static final BlockType.Typed
<BlockData> BlockType.IRON_BLOCK
static final BlockType.Typed
<BlockData> BlockType.IRON_ORE
static final BlockType.Typed
<BlockData> BlockType.JUNGLE_PLANKS
static final BlockType.Typed
<BlockData> BlockType.KELP_PLANT
static final BlockType.Typed
<BlockData> BlockType.LAPIS_BLOCK
static final BlockType.Typed
<BlockData> BlockType.LAPIS_ORE
static final BlockType.Typed
<BlockData> BlockType.LAVA_CAULDRON
static final BlockType.Typed
<BlockData> BlockType.LIGHT_BLUE_CARPET
static final BlockType.Typed
<BlockData> BlockType.LIGHT_BLUE_CONCRETE
static final BlockType.Typed
<BlockData> BlockType.LIGHT_BLUE_CONCRETE_POWDER
static final BlockType.Typed
<BlockData> BlockType.LIGHT_BLUE_STAINED_GLASS
static final BlockType.Typed
<BlockData> BlockType.LIGHT_BLUE_TERRACOTTA
static final BlockType.Typed
<BlockData> BlockType.LIGHT_BLUE_WOOL
static final BlockType.Typed
<BlockData> BlockType.LIGHT_GRAY_CARPET
static final BlockType.Typed
<BlockData> BlockType.LIGHT_GRAY_CONCRETE
static final BlockType.Typed
<BlockData> BlockType.LIGHT_GRAY_CONCRETE_POWDER
static final BlockType.Typed
<BlockData> BlockType.LIGHT_GRAY_STAINED_GLASS
static final BlockType.Typed
<BlockData> BlockType.LIGHT_GRAY_TERRACOTTA
static final BlockType.Typed
<BlockData> BlockType.LIGHT_GRAY_WOOL
static final BlockType.Typed
<BlockData> BlockType.LILY_OF_THE_VALLEY
static final BlockType.Typed
<BlockData> BlockType.LILY_PAD
static final BlockType.Typed
<BlockData> BlockType.LIME_CARPET
static final BlockType.Typed
<BlockData> BlockType.LIME_CONCRETE
static final BlockType.Typed
<BlockData> BlockType.LIME_CONCRETE_POWDER
static final BlockType.Typed
<BlockData> BlockType.LIME_STAINED_GLASS
static final BlockType.Typed
<BlockData> BlockType.LIME_TERRACOTTA
static final BlockType.Typed
<BlockData> BlockType.LIME_WOOL
static final BlockType.Typed
<BlockData> BlockType.LODESTONE
static final BlockType.Typed
<BlockData> BlockType.MAGENTA_CARPET
static final BlockType.Typed
<BlockData> BlockType.MAGENTA_CONCRETE
static final BlockType.Typed
<BlockData> BlockType.MAGENTA_CONCRETE_POWDER
static final BlockType.Typed
<BlockData> BlockType.MAGENTA_STAINED_GLASS
static final BlockType.Typed
<BlockData> BlockType.MAGENTA_TERRACOTTA
static final BlockType.Typed
<BlockData> BlockType.MAGENTA_WOOL
static final BlockType.Typed
<BlockData> BlockType.MAGMA_BLOCK
static final BlockType.Typed
<BlockData> BlockType.MANGROVE_PLANKS
static final BlockType.Typed
<BlockData> BlockType.MELON
static final BlockType.Typed
<BlockData> BlockType.MOSS_BLOCK
static final BlockType.Typed
<BlockData> BlockType.MOSS_CARPET
static final BlockType.Typed
<BlockData> BlockType.MOSSY_COBBLESTONE
static final BlockType.Typed
<BlockData> BlockType.MOSSY_STONE_BRICKS
static final BlockType.Typed
<BlockData> BlockType.MUD
static final BlockType.Typed
<BlockData> BlockType.MUD_BRICKS
static final BlockType.Typed
<BlockData> BlockType.NETHER_BRICKS
static final BlockType.Typed
<BlockData> BlockType.NETHER_GOLD_ORE
static final BlockType.Typed
<BlockData> BlockType.NETHER_QUARTZ_ORE
static final BlockType.Typed
<BlockData> BlockType.NETHER_SPROUTS
static final BlockType.Typed
<BlockData> BlockType.NETHER_WART_BLOCK
static final BlockType.Typed
<BlockData> BlockType.NETHERITE_BLOCK
static final BlockType.Typed
<BlockData> BlockType.NETHERRACK
static final BlockType.Typed
<BlockData> BlockType.OAK_PLANKS
static final BlockType.Typed
<BlockData> BlockType.OBSIDIAN
static final BlockType.Typed
<BlockData> BlockType.ORANGE_CARPET
static final BlockType.Typed
<BlockData> BlockType.ORANGE_CONCRETE
static final BlockType.Typed
<BlockData> BlockType.ORANGE_CONCRETE_POWDER
static final BlockType.Typed
<BlockData> BlockType.ORANGE_STAINED_GLASS
static final BlockType.Typed
<BlockData> BlockType.ORANGE_TERRACOTTA
static final BlockType.Typed
<BlockData> BlockType.ORANGE_TULIP
static final BlockType.Typed
<BlockData> BlockType.ORANGE_WOOL
static final BlockType.Typed
<BlockData> BlockType.OXEYE_DAISY
static final BlockType.Typed
<BlockData> BlockType.OXIDIZED_CHISELED_COPPER
static final BlockType.Typed
<BlockData> BlockType.OXIDIZED_COPPER
static final BlockType.Typed
<BlockData> BlockType.OXIDIZED_CUT_COPPER
static final BlockType.Typed
<BlockData> BlockType.PACKED_ICE
static final BlockType.Typed
<BlockData> BlockType.PACKED_MUD
static final BlockType.Typed
<BlockData> BlockType.PALE_MOSS_BLOCK
static final BlockType.Typed
<BlockData> BlockType.PALE_OAK_PLANKS
static final BlockType.Typed
<BlockData> BlockType.PINK_CARPET
static final BlockType.Typed
<BlockData> BlockType.PINK_CONCRETE
static final BlockType.Typed
<BlockData> BlockType.PINK_CONCRETE_POWDER
static final BlockType.Typed
<BlockData> BlockType.PINK_STAINED_GLASS
static final BlockType.Typed
<BlockData> BlockType.PINK_TERRACOTTA
static final BlockType.Typed
<BlockData> BlockType.PINK_TULIP
static final BlockType.Typed
<BlockData> BlockType.PINK_WOOL
static final BlockType.Typed
<BlockData> BlockType.POLISHED_ANDESITE
static final BlockType.Typed
<BlockData> BlockType.POLISHED_BLACKSTONE
static final BlockType.Typed
<BlockData> BlockType.POLISHED_BLACKSTONE_BRICKS
static final BlockType.Typed
<BlockData> BlockType.POLISHED_DEEPSLATE
static final BlockType.Typed
<BlockData> BlockType.POLISHED_DIORITE
static final BlockType.Typed
<BlockData> BlockType.POLISHED_GRANITE
static final BlockType.Typed
<BlockData> BlockType.POLISHED_TUFF
static final BlockType.Typed
<BlockData> BlockType.POPPY
static final BlockType.Typed
<BlockData> BlockType.POTTED_ACACIA_SAPLING
static final BlockType.Typed
<BlockData> BlockType.POTTED_ALLIUM
static final BlockType.Typed
<BlockData> BlockType.POTTED_AZALEA_BUSH
static final BlockType.Typed
<BlockData> BlockType.POTTED_AZURE_BLUET
static final BlockType.Typed
<BlockData> BlockType.POTTED_BAMBOO
static final BlockType.Typed
<BlockData> BlockType.POTTED_BIRCH_SAPLING
static final BlockType.Typed
<BlockData> BlockType.POTTED_BLUE_ORCHID
static final BlockType.Typed
<BlockData> BlockType.POTTED_BROWN_MUSHROOM
static final BlockType.Typed
<BlockData> BlockType.POTTED_CACTUS
static final BlockType.Typed
<BlockData> BlockType.POTTED_CHERRY_SAPLING
static final BlockType.Typed
<BlockData> BlockType.POTTED_CORNFLOWER
static final BlockType.Typed
<BlockData> BlockType.POTTED_CRIMSON_FUNGUS
static final BlockType.Typed
<BlockData> BlockType.POTTED_CRIMSON_ROOTS
static final BlockType.Typed
<BlockData> BlockType.POTTED_DANDELION
static final BlockType.Typed
<BlockData> BlockType.POTTED_DARK_OAK_SAPLING
static final BlockType.Typed
<BlockData> BlockType.POTTED_DEAD_BUSH
static final BlockType.Typed
<BlockData> BlockType.POTTED_FERN
static final BlockType.Typed
<BlockData> BlockType.POTTED_FLOWERING_AZALEA_BUSH
static final BlockType.Typed
<BlockData> BlockType.POTTED_JUNGLE_SAPLING
static final BlockType.Typed
<BlockData> BlockType.POTTED_LILY_OF_THE_VALLEY
static final BlockType.Typed
<BlockData> BlockType.POTTED_MANGROVE_PROPAGULE
static final BlockType.Typed
<BlockData> BlockType.POTTED_OAK_SAPLING
static final BlockType.Typed
<BlockData> BlockType.POTTED_ORANGE_TULIP
static final BlockType.Typed
<BlockData> BlockType.POTTED_OXEYE_DAISY
static final BlockType.Typed
<BlockData> BlockType.POTTED_PALE_OAK_SAPLING
static final BlockType.Typed
<BlockData> BlockType.POTTED_PINK_TULIP
static final BlockType.Typed
<BlockData> BlockType.POTTED_POPPY
static final BlockType.Typed
<BlockData> BlockType.POTTED_RED_MUSHROOM
static final BlockType.Typed
<BlockData> BlockType.POTTED_RED_TULIP
static final BlockType.Typed
<BlockData> BlockType.POTTED_SPRUCE_SAPLING
static final BlockType.Typed
<BlockData> BlockType.POTTED_TORCHFLOWER
static final BlockType.Typed
<BlockData> BlockType.POTTED_WARPED_FUNGUS
static final BlockType.Typed
<BlockData> BlockType.POTTED_WARPED_ROOTS
static final BlockType.Typed
<BlockData> BlockType.POTTED_WHITE_TULIP
static final BlockType.Typed
<BlockData> BlockType.POTTED_WITHER_ROSE
static final BlockType.Typed
<BlockData> BlockType.POWDER_SNOW
static final BlockType.Typed
<BlockData> BlockType.PRISMARINE
static final BlockType.Typed
<BlockData> BlockType.PRISMARINE_BRICKS
static final BlockType.Typed
<BlockData> BlockType.PUMPKIN
static final BlockType.Typed
<BlockData> BlockType.PURPLE_CARPET
static final BlockType.Typed
<BlockData> BlockType.PURPLE_CONCRETE
static final BlockType.Typed
<BlockData> BlockType.PURPLE_CONCRETE_POWDER
static final BlockType.Typed
<BlockData> BlockType.PURPLE_STAINED_GLASS
static final BlockType.Typed
<BlockData> BlockType.PURPLE_TERRACOTTA
static final BlockType.Typed
<BlockData> BlockType.PURPLE_WOOL
static final BlockType.Typed
<BlockData> BlockType.PURPUR_BLOCK
static final BlockType.Typed
<BlockData> BlockType.QUARTZ_BLOCK
static final BlockType.Typed
<BlockData> BlockType.QUARTZ_BRICKS
static final BlockType.Typed
<BlockData> BlockType.RAW_COPPER_BLOCK
static final BlockType.Typed
<BlockData> BlockType.RAW_GOLD_BLOCK
static final BlockType.Typed
<BlockData> BlockType.RAW_IRON_BLOCK
static final BlockType.Typed
<BlockData> BlockType.RED_CARPET
static final BlockType.Typed
<BlockData> BlockType.RED_CONCRETE
static final BlockType.Typed
<BlockData> BlockType.RED_CONCRETE_POWDER
static final BlockType.Typed
<BlockData> BlockType.RED_MUSHROOM
static final BlockType.Typed
<BlockData> BlockType.RED_NETHER_BRICKS
static final BlockType.Typed
<BlockData> BlockType.RED_SAND
static final BlockType.Typed
<BlockData> BlockType.RED_SANDSTONE
static final BlockType.Typed
<BlockData> BlockType.RED_STAINED_GLASS
static final BlockType.Typed
<BlockData> BlockType.RED_TERRACOTTA
static final BlockType.Typed
<BlockData> BlockType.RED_TULIP
static final BlockType.Typed
<BlockData> BlockType.RED_WOOL
static final BlockType.Typed
<BlockData> BlockType.REDSTONE_BLOCK
static final BlockType.Typed
<BlockData> BlockType.REINFORCED_DEEPSLATE
static final BlockType.Typed
<BlockData> BlockType.ROOTED_DIRT
static final BlockType.Typed
<BlockData> BlockType.SAND
static final BlockType.Typed
<BlockData> BlockType.SANDSTONE
static final BlockType.Typed
<BlockData> BlockType.SCULK
static final BlockType.Typed
<BlockData> BlockType.SEA_LANTERN
static final BlockType.Typed
<BlockData> BlockType.SEAGRASS
static final BlockType.Typed
<BlockData> BlockType.SHORT_GRASS
static final BlockType.Typed
<BlockData> BlockType.SHROOMLIGHT
static final BlockType.Typed
<BlockData> BlockType.SLIME_BLOCK
static final BlockType.Typed
<BlockData> BlockType.SMITHING_TABLE
static final BlockType.Typed
<BlockData> BlockType.SMOOTH_BASALT
static final BlockType.Typed
<BlockData> BlockType.SMOOTH_QUARTZ
static final BlockType.Typed
<BlockData> BlockType.SMOOTH_RED_SANDSTONE
static final BlockType.Typed
<BlockData> BlockType.SMOOTH_SANDSTONE
static final BlockType.Typed
<BlockData> BlockType.SMOOTH_STONE
static final BlockType.Typed
<BlockData> BlockType.SNOW_BLOCK
static final BlockType.Typed
<BlockData> BlockType.SOUL_FIRE
static final BlockType.Typed
<BlockData> BlockType.SOUL_SAND
static final BlockType.Typed
<BlockData> BlockType.SOUL_SOIL
static final BlockType.Typed
<BlockData> BlockType.SOUL_TORCH
static final BlockType.Typed
<BlockData> BlockType.SPAWNER
static final BlockType.Typed
<BlockData> BlockType.SPONGE
static final BlockType.Typed
<BlockData> BlockType.SPORE_BLOSSOM
static final BlockType.Typed
<BlockData> BlockType.SPRUCE_PLANKS
static final BlockType.Typed
<BlockData> BlockType.STONE
static final BlockType.Typed
<BlockData> BlockType.STONE_BRICKS
static final BlockType.Typed
<BlockData> BlockType.STRUCTURE_VOID
static final BlockType.Typed
<BlockData> BlockType.TERRACOTTA
static final BlockType.Typed
<BlockData> BlockType.TINTED_GLASS
static final BlockType.Typed
<BlockData> BlockType.TORCH
static final BlockType.Typed
<BlockData> BlockType.TORCHFLOWER
static final BlockType.Typed
<BlockData> BlockType.TUBE_CORAL_BLOCK
static final BlockType.Typed
<BlockData> BlockType.TUFF
static final BlockType.Typed
<BlockData> BlockType.TUFF_BRICKS
static final BlockType.Typed
<BlockData> BlockType.TWISTING_VINES_PLANT
static final BlockType.Typed
<BlockData> BlockType.VOID_AIR
static final BlockType.Typed
<BlockData> BlockType.WARPED_FUNGUS
static final BlockType.Typed
<BlockData> BlockType.WARPED_NYLIUM
static final BlockType.Typed
<BlockData> BlockType.WARPED_PLANKS
static final BlockType.Typed
<BlockData> BlockType.WARPED_ROOTS
static final BlockType.Typed
<BlockData> BlockType.WARPED_WART_BLOCK
static final BlockType.Typed
<BlockData> BlockType.WAXED_CHISELED_COPPER
static final BlockType.Typed
<BlockData> BlockType.WAXED_COPPER_BLOCK
static final BlockType.Typed
<BlockData> BlockType.WAXED_CUT_COPPER
static final BlockType.Typed
<BlockData> BlockType.WAXED_EXPOSED_CHISELED_COPPER
static final BlockType.Typed
<BlockData> BlockType.WAXED_EXPOSED_COPPER
static final BlockType.Typed
<BlockData> BlockType.WAXED_EXPOSED_CUT_COPPER
static final BlockType.Typed
<BlockData> BlockType.WAXED_OXIDIZED_CHISELED_COPPER
static final BlockType.Typed
<BlockData> BlockType.WAXED_OXIDIZED_COPPER
static final BlockType.Typed
<BlockData> BlockType.WAXED_OXIDIZED_CUT_COPPER
static final BlockType.Typed
<BlockData> BlockType.WAXED_WEATHERED_CHISELED_COPPER
static final BlockType.Typed
<BlockData> BlockType.WAXED_WEATHERED_COPPER
static final BlockType.Typed
<BlockData> BlockType.WAXED_WEATHERED_CUT_COPPER
static final BlockType.Typed
<BlockData> BlockType.WEATHERED_CHISELED_COPPER
static final BlockType.Typed
<BlockData> BlockType.WEATHERED_COPPER
static final BlockType.Typed
<BlockData> BlockType.WEATHERED_CUT_COPPER
static final BlockType.Typed
<BlockData> BlockType.WEEPING_VINES_PLANT
static final BlockType.Typed
<BlockData> BlockType.WET_SPONGE
static final BlockType.Typed
<BlockData> BlockType.WHITE_CARPET
static final BlockType.Typed
<BlockData> BlockType.WHITE_CONCRETE
static final BlockType.Typed
<BlockData> BlockType.WHITE_CONCRETE_POWDER
static final BlockType.Typed
<BlockData> BlockType.WHITE_STAINED_GLASS
static final BlockType.Typed
<BlockData> BlockType.WHITE_TERRACOTTA
static final BlockType.Typed
<BlockData> BlockType.WHITE_TULIP
static final BlockType.Typed
<BlockData> BlockType.WHITE_WOOL
static final BlockType.Typed
<BlockData> BlockType.WITHER_ROSE
static final BlockType.Typed
<BlockData> BlockType.YELLOW_CARPET
static final BlockType.Typed
<BlockData> BlockType.YELLOW_CONCRETE
static final BlockType.Typed
<BlockData> BlockType.YELLOW_CONCRETE_POWDER
static final BlockType.Typed
<BlockData> BlockType.YELLOW_STAINED_GLASS
static final BlockType.Typed
<BlockData> BlockType.YELLOW_TERRACOTTA
static final BlockType.Typed
<BlockData> BlockType.YELLOW_WOOL
Modifier and TypeMethodDescription<B extends BlockData>
BlockType.Typed<B> Yields this block type as a typed version of itself with a specificBlockData
representing it.Modifier and TypeMethodDescriptionBlockType.createBlockData()
Creates a newBlockData
instance for this block type, with all properties initialized to unspecified defaults.BlockType.createBlockData
(String data) Creates a newBlockData
instance for this block type, with all properties initialized to unspecified defaults, except for those provided in data.Block.getBlockData()
Gets the complete block data for this blockBlockState.getBlockData()
Gets the data for this block state.Modifier and TypeMethodDescriptionBlockType.getBlockDataClass()
Gets the BlockData class of this BlockTypeBlockType.typed()
Yields this block type as a typed version of itself with a plainBlockData
representing it.Modifier and TypeMethodDescriptionboolean
Checks if this block is a valid placement location for the specified block data.void
Block.setBlockData
(BlockData data) Sets the complete data for this blockvoid
Block.setBlockData
(BlockData data, boolean applyPhysics) Sets the complete data for this block
Note that applyPhysics = false is not in general safe.void
BlockState.setBlockData
(BlockData data) Sets the data for this block state. -
Uses of BlockData in org.bukkit.block.data
Modifier and TypeInterfaceDescriptioninterface
'age' represents the different growth stages that a crop-like block can go through.interface
'power' represents the redstone power level currently being emitted or transmitted via this block.interface
'attached' denotes whether a tripwire hook or string forms a complete tripwire circuit and is ready to trigger.interface
'half' denotes which half of a two block tall material this block is.interface
'dusted' represents how far uncovered by brush the block is.interface
'facing' represents the face towards which the block is pointing.interface
'face' represents the face to which a lever or button is stuck.interface
'hanging' denotes whether the lantern is hanging from a block.interface
'hatch' is the number of entities which may hatch from these eggs.interface
'level' represents the amount of fluid contained within this block, either by itself or inside a cauldron.interface
'lit' denotes whether this block (either a redstone torch or furnace) is currently lit - that is not burned out.interface
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.interface
'open' denotes whether this block is currently opened.interface
'axis' represents the axis along whilst this block is oriented.interface
'powered' indicates whether this block is in the powered state or not, i.e.interface
'shape' represents the current layout of a minecart rail.interface
'rotation' represents the current rotation of this block.interface
'snowy' denotes whether this block has a snow covered side and top texture (normally because the block above is snow).interface
'waterlogged' denotes whether this block has fluid in it.Modifier and TypeMethodDescriptionBlockData.clone()
Returns a copy of this BlockData.Merges all explicitly set states from the given data with this BlockData.Modifier and TypeMethodDescriptionvoid
Copies all applicable properties from this BlockData to the provided BlockData.boolean
Checks if the specified BlockData matches this block data.Merges all explicitly set states from the given data with this BlockData. -
Uses of BlockData in org.bukkit.block.data.type
Modifier and TypeInterfaceDescriptioninterface
interface
'leaves' represents the size of the leaves on this bamboo block.interface
interface
Similar toBisected
, 'part' denotes which half of the bed this block corresponds to.interface
'honey_level' represents the amount of honey stored in the hive.interface
'attachment' denotes how the bell is attached to its block.interface
'tilt' indicates how far the leaf is tilted.interface
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.interface
'drag' indicates whether a force will be applied on entities moving through this block.interface
'bites' represents the amount of bites which have been taken from this slice of cake.interface
interface
'signal_fire' denotes whether the fire is extra smokey due to having a hay bale placed beneath it.interface
'candles' represents the number of candles which are present.interface
interface
'berries' indicates whether the block has berries.interface
interface
'type' represents which part of a double chest this block is, or if it is a single chest.interface
Interface to the 'slot_0_occupied', 'slow_1_occupied' ...interface
interface
'conditional' denotes whether this command block is conditional or not, i.e.interface
'mode' indicates what mode this comparator will operate in.interface
interface
interface
'orientation' is the direction the block is facing.interface
'creaking' is the creaking status of this block.interface
'inverted' denotes whether this daylight detector is in the inverted mode, i.e.interface
interface
Similar toPowerable
, 'triggered' indicates whether or not the dispenser is currently activated.interface
'hinge' indicates which hinge this door is attached to and will rotate around when opened.interface
interface
interface
'eye' denotes whether this end portal frame has been activated by having an eye of ender placed in it.interface
The 'moisture' level of farmland indicates how close it is to a water source (if any).interface
interface
md_5's mixtape.interface
interface
'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.interface
interface
interface
interface
'tip' indicates whether this block is a tip.interface
interface
Similar toPowerable
, 'enabled' indicates whether or not the hopper is currently activated.interface
'orientation' is the direction the block is facing.interface
'has_record' is a quick flag to check whether this jukebox has a record inside it.interface
interface
interface
'persistent' indicates whether or not leaves will be checked by the server to see if they are subject to decay or not.interface
'has_book' is a quick flag to check whether this lectern has a book inside it.interface
interface
interface
interface
This class encompasses the 'north', 'east', 'south', 'west', height flags which are used to set the height of a face.interface
'instrument' is the type of sound made when this note block is activated.interface
interface
'flower_amount' represents the number of petals.interface
'extended' denotes whether the piston head is currently extended or not.interface
'short' denotes this piston head is shorter than the usual amount because it is currently retracting.interface
interface
'thickness' represents the dripstone thickness.interface
A type of minecart rail which interacts with redstone in one way or another.interface
interface
'north', 'east', 'south', 'west' represent the types of connections this redstone wire has to adjacent blocks.interface
'delay' is the propagation delay of a repeater, i.e.interface
'charges' represents the amount of times the anchor may still be used.interface
'stage' represents the growth stage of a sapling.interface
'bottom' indicates whether the scaffolding is floating or not.interface
'bloom' indicates whether the sculk catalyst is actively spreading the sculk or not.interface
'sculk_sensor_phase' indicates the current operational phase of the sensor.interface
'can_summon' indicates whether the sculk shrieker can summon the warden.interface
interface
'pickles' indicates the number of pickles in this block.interface
interface
interface
'type' represents what state the slab is in - either top, bottom, or a double slab occupying the full block.interface
interface
'layers' represents the amount of layers of snow which are present in this block.interface
'shape' represents the texture and bounding box shape of these stairs.interface
'mode' represents the different modes in which this structure block may operate.interface
interface
'type' represents the type of piston which this (technical) block corresponds to.interface
'unstable' indicates whether this TNT will explode on punching.interface
interface
'trial_spawner_state' indicates the current operational phase of the spawner.interface
'disarmed' denotes that the tripwire was broken with shears and will not subsequently produce a current when destroyed.interface
interface
'eggs' is the number of eggs which appear in this block.interface
'vault_state' indicates the current operational phase of the vault block.interface
This class encompasses the 'north', 'east', 'south', 'west', height flags which are used to set the height of a wall.interface
interface
interface
-
Uses of BlockData in org.bukkit.entity
Modifier and TypeMethodDescriptionBlockDisplay.getBlock()
Gets the displayed block.FallingBlock.getBlockData()
Get the data for the falling blockEnderman.getCarriedBlock()
Gets the data of the block that the Enderman is carrying.Minecart.getDisplayBlockData()
Gets the display block for this minecart.Modifier and TypeMethodDescriptionvoid
Player.sendBlockChange
(Location loc, BlockData block) Send a block change.void
Sets the displayed block.void
Enderman.setCarriedBlock
(BlockData blockData) Sets the data of the block that the Enderman is carrying.void
Minecart.setDisplayBlockData
(BlockData blockData) Sets the display block for this minecart. -
Uses of BlockData in org.bukkit.event.block
Modifier and TypeMethodDescriptionBlockCanBuildEvent.getBlockData()
Gets the BlockData that we are trying to place.FluidLevelChangeEvent.getNewData()
Gets the new data of the changed block.Modifier and TypeMethodDescriptionvoid
FluidLevelChangeEvent.setNewData
(BlockData newData) Sets the new data of the changed block.ModifierConstructorDescriptionBlockCanBuildEvent
(Block block, BlockData type, boolean canBuild) Deprecated.BlockCanBuildEvent
(Block block, Player player, BlockData type, boolean canBuild) BlockPhysicsEvent
(Block block, BlockData changed) BlockPhysicsEvent
(Block block, BlockData changed, Block sourceBlock) FluidLevelChangeEvent
(Block theBlock, BlockData newData) -
Uses of BlockData in org.bukkit.event.entity
Modifier and TypeMethodDescriptionEntityChangeBlockEvent.getBlockData()
Gets the data for the block that would be changed into -
Uses of BlockData in org.bukkit.generator
Modifier and TypeMethodDescriptionChunkGenerator.ChunkData.getBlockData
(int x, int y, int z) Get the type and data of the block at x, y, z.Modifier and TypeMethodDescriptionvoid
Set the block at x,y,z in the chunk data to material.void
ChunkGenerator.ChunkData.setRegion
(int xMin, int yMin, int zMin, int xMax, int yMax, int zMax, BlockData blockData) Set a region of this chunk from xMin, yMin, zMin (inclusive) to xMax, yMax, zMax (exclusive) to material. -
Uses of BlockData in org.bukkit.inventory.meta
Modifier and TypeMethodDescriptionBlockDataMeta.getBlockData
(Material material) Returns the currently attached block data for this item or creates a new one if one doesn't exist.Modifier and TypeMethodDescriptionvoid
BlockDataMeta.setBlockData
(BlockData blockData) Attaches a copy of the passed block data to the item.