Struct valence::prelude::BlockState

pub struct BlockState(/* private fields */);
Expand description

Represents the state of a block. This does not include block entity data such as the text on a sign, the design on a banner, or the content of a spawner.

Implementationsยง

ยง

impl BlockState

pub const fn from_kind(kind: BlockKind) -> BlockState

Returns the default block state for a given block type.

pub const fn from_raw(id: u16) -> Option<BlockState>

Constructs a block state from a raw block state ID.

If the given ID is invalid, None is returned.

pub const fn to_kind(self) -> BlockKind

Returns the BlockKind of this block state.

pub const fn to_raw(self) -> u16

Converts this block state to its underlying raw block state ID.

The original block state can be recovered with BlockState::from_raw.

pub const fn max_raw() -> u16

Returns the maximum block state ID.

pub const fn wall_block_id(self) -> Option<BlockState>

Returns the wall variant of the block state.

If the given block state doesnโ€™t have a wall variant, None is returned.

pub const fn get(self, name: PropName) -> Option<PropValue>

Gets the value of the property with the given name from this block.

If this block does not have the property, then None is returned.

pub const fn set(self, name: PropName, val: PropValue) -> BlockState

Sets the value of a property on this block, returning the modified block.

If this block does not have the given property or the property value is invalid, then the original block is returned unchanged.

pub const fn is_air(self) -> bool

If this block is air, cave_air or void_air.

pub const fn is_liquid(self) -> bool

If this block is water or lava.

pub const fn is_opaque(self) -> bool

pub const fn is_replaceable(self) -> bool

pub const fn blocks_motion(self) -> bool

pub fn collision_shapes(self) -> impl ExactSizeIterator + FusedIterator + Clone

pub const fn luminance(self) -> u8

pub const fn block_entity_kind(self) -> Option<BlockEntityKind>

pub const AIR: BlockState = _

The default block state for air.

pub const STONE: BlockState = _

The default block state for stone.

pub const GRANITE: BlockState = _

The default block state for granite.

pub const POLISHED_GRANITE: BlockState = _

The default block state for polished_granite.

pub const DIORITE: BlockState = _

The default block state for diorite.

pub const POLISHED_DIORITE: BlockState = _

The default block state for polished_diorite.

pub const ANDESITE: BlockState = _

The default block state for andesite.

pub const POLISHED_ANDESITE: BlockState = _

The default block state for polished_andesite.

pub const GRASS_BLOCK: BlockState = _

The default block state for grass_block.

pub const DIRT: BlockState = _

The default block state for dirt.

pub const COARSE_DIRT: BlockState = _

The default block state for coarse_dirt.

pub const PODZOL: BlockState = _

The default block state for podzol.

pub const COBBLESTONE: BlockState = _

The default block state for cobblestone.

pub const OAK_PLANKS: BlockState = _

The default block state for oak_planks.

pub const SPRUCE_PLANKS: BlockState = _

The default block state for spruce_planks.

pub const BIRCH_PLANKS: BlockState = _

The default block state for birch_planks.

pub const JUNGLE_PLANKS: BlockState = _

The default block state for jungle_planks.

pub const ACACIA_PLANKS: BlockState = _

The default block state for acacia_planks.

pub const CHERRY_PLANKS: BlockState = _

The default block state for cherry_planks.

pub const DARK_OAK_PLANKS: BlockState = _

The default block state for dark_oak_planks.

pub const MANGROVE_PLANKS: BlockState = _

The default block state for mangrove_planks.

pub const BAMBOO_PLANKS: BlockState = _

The default block state for bamboo_planks.

pub const BAMBOO_MOSAIC: BlockState = _

The default block state for bamboo_mosaic.

pub const OAK_SAPLING: BlockState = _

The default block state for oak_sapling.

pub const SPRUCE_SAPLING: BlockState = _

The default block state for spruce_sapling.

pub const BIRCH_SAPLING: BlockState = _

The default block state for birch_sapling.

pub const JUNGLE_SAPLING: BlockState = _

The default block state for jungle_sapling.

pub const ACACIA_SAPLING: BlockState = _

The default block state for acacia_sapling.

pub const CHERRY_SAPLING: BlockState = _

The default block state for cherry_sapling.

pub const DARK_OAK_SAPLING: BlockState = _

The default block state for dark_oak_sapling.

pub const MANGROVE_PROPAGULE: BlockState = _

The default block state for mangrove_propagule.

pub const BEDROCK: BlockState = _

The default block state for bedrock.

pub const WATER: BlockState = _

The default block state for water.

pub const LAVA: BlockState = _

The default block state for lava.

pub const SAND: BlockState = _

The default block state for sand.

pub const SUSPICIOUS_SAND: BlockState = _

The default block state for suspicious_sand.

pub const RED_SAND: BlockState = _

The default block state for red_sand.

pub const GRAVEL: BlockState = _

The default block state for gravel.

pub const SUSPICIOUS_GRAVEL: BlockState = _

The default block state for suspicious_gravel.

pub const GOLD_ORE: BlockState = _

The default block state for gold_ore.

pub const DEEPSLATE_GOLD_ORE: BlockState = _

The default block state for deepslate_gold_ore.

pub const IRON_ORE: BlockState = _

The default block state for iron_ore.

pub const DEEPSLATE_IRON_ORE: BlockState = _

The default block state for deepslate_iron_ore.

pub const COAL_ORE: BlockState = _

The default block state for coal_ore.

pub const DEEPSLATE_COAL_ORE: BlockState = _

The default block state for deepslate_coal_ore.

pub const NETHER_GOLD_ORE: BlockState = _

The default block state for nether_gold_ore.

pub const OAK_LOG: BlockState = _

The default block state for oak_log.

pub const SPRUCE_LOG: BlockState = _

The default block state for spruce_log.

pub const BIRCH_LOG: BlockState = _

The default block state for birch_log.

pub const JUNGLE_LOG: BlockState = _

The default block state for jungle_log.

pub const ACACIA_LOG: BlockState = _

The default block state for acacia_log.

pub const CHERRY_LOG: BlockState = _

The default block state for cherry_log.

pub const DARK_OAK_LOG: BlockState = _

The default block state for dark_oak_log.

pub const MANGROVE_LOG: BlockState = _

The default block state for mangrove_log.

pub const MANGROVE_ROOTS: BlockState = _

The default block state for mangrove_roots.

pub const MUDDY_MANGROVE_ROOTS: BlockState = _

The default block state for muddy_mangrove_roots.

pub const BAMBOO_BLOCK: BlockState = _

The default block state for bamboo_block.

pub const STRIPPED_SPRUCE_LOG: BlockState = _

The default block state for stripped_spruce_log.

pub const STRIPPED_BIRCH_LOG: BlockState = _

The default block state for stripped_birch_log.

pub const STRIPPED_JUNGLE_LOG: BlockState = _

The default block state for stripped_jungle_log.

pub const STRIPPED_ACACIA_LOG: BlockState = _

The default block state for stripped_acacia_log.

pub const STRIPPED_CHERRY_LOG: BlockState = _

The default block state for stripped_cherry_log.

pub const STRIPPED_DARK_OAK_LOG: BlockState = _

The default block state for stripped_dark_oak_log.

pub const STRIPPED_OAK_LOG: BlockState = _

The default block state for stripped_oak_log.

pub const STRIPPED_MANGROVE_LOG: BlockState = _

The default block state for stripped_mangrove_log.

pub const STRIPPED_BAMBOO_BLOCK: BlockState = _

The default block state for stripped_bamboo_block.

pub const OAK_WOOD: BlockState = _

The default block state for oak_wood.

pub const SPRUCE_WOOD: BlockState = _

The default block state for spruce_wood.

pub const BIRCH_WOOD: BlockState = _

The default block state for birch_wood.

pub const JUNGLE_WOOD: BlockState = _

The default block state for jungle_wood.

pub const ACACIA_WOOD: BlockState = _

The default block state for acacia_wood.

pub const CHERRY_WOOD: BlockState = _

The default block state for cherry_wood.

pub const DARK_OAK_WOOD: BlockState = _

The default block state for dark_oak_wood.

pub const MANGROVE_WOOD: BlockState = _

The default block state for mangrove_wood.

pub const STRIPPED_OAK_WOOD: BlockState = _

The default block state for stripped_oak_wood.

pub const STRIPPED_SPRUCE_WOOD: BlockState = _

The default block state for stripped_spruce_wood.

pub const STRIPPED_BIRCH_WOOD: BlockState = _

The default block state for stripped_birch_wood.

pub const STRIPPED_JUNGLE_WOOD: BlockState = _

The default block state for stripped_jungle_wood.

pub const STRIPPED_ACACIA_WOOD: BlockState = _

The default block state for stripped_acacia_wood.

pub const STRIPPED_CHERRY_WOOD: BlockState = _

The default block state for stripped_cherry_wood.

pub const STRIPPED_DARK_OAK_WOOD: BlockState = _

The default block state for stripped_dark_oak_wood.

pub const STRIPPED_MANGROVE_WOOD: BlockState = _

The default block state for stripped_mangrove_wood.

pub const OAK_LEAVES: BlockState = _

The default block state for oak_leaves.

pub const SPRUCE_LEAVES: BlockState = _

The default block state for spruce_leaves.

pub const BIRCH_LEAVES: BlockState = _

The default block state for birch_leaves.

pub const JUNGLE_LEAVES: BlockState = _

The default block state for jungle_leaves.

pub const ACACIA_LEAVES: BlockState = _

The default block state for acacia_leaves.

pub const CHERRY_LEAVES: BlockState = _

The default block state for cherry_leaves.

pub const DARK_OAK_LEAVES: BlockState = _

The default block state for dark_oak_leaves.

pub const MANGROVE_LEAVES: BlockState = _

The default block state for mangrove_leaves.

pub const AZALEA_LEAVES: BlockState = _

The default block state for azalea_leaves.

pub const FLOWERING_AZALEA_LEAVES: BlockState = _

The default block state for flowering_azalea_leaves.

pub const SPONGE: BlockState = _

The default block state for sponge.

pub const WET_SPONGE: BlockState = _

The default block state for wet_sponge.

pub const GLASS: BlockState = _

The default block state for glass.

pub const LAPIS_ORE: BlockState = _

The default block state for lapis_ore.

pub const DEEPSLATE_LAPIS_ORE: BlockState = _

The default block state for deepslate_lapis_ore.

pub const LAPIS_BLOCK: BlockState = _

The default block state for lapis_block.

pub const DISPENSER: BlockState = _

The default block state for dispenser.

pub const SANDSTONE: BlockState = _

The default block state for sandstone.

pub const CHISELED_SANDSTONE: BlockState = _

The default block state for chiseled_sandstone.

pub const CUT_SANDSTONE: BlockState = _

The default block state for cut_sandstone.

pub const NOTE_BLOCK: BlockState = _

The default block state for note_block.

pub const WHITE_BED: BlockState = _

The default block state for white_bed.

pub const ORANGE_BED: BlockState = _

The default block state for orange_bed.

pub const MAGENTA_BED: BlockState = _

The default block state for magenta_bed.

pub const LIGHT_BLUE_BED: BlockState = _

The default block state for light_blue_bed.

pub const YELLOW_BED: BlockState = _

The default block state for yellow_bed.

pub const LIME_BED: BlockState = _

The default block state for lime_bed.

pub const PINK_BED: BlockState = _

The default block state for pink_bed.

pub const GRAY_BED: BlockState = _

The default block state for gray_bed.

pub const LIGHT_GRAY_BED: BlockState = _

The default block state for light_gray_bed.

pub const CYAN_BED: BlockState = _

The default block state for cyan_bed.

pub const PURPLE_BED: BlockState = _

The default block state for purple_bed.

pub const BLUE_BED: BlockState = _

The default block state for blue_bed.

pub const BROWN_BED: BlockState = _

The default block state for brown_bed.

pub const GREEN_BED: BlockState = _

The default block state for green_bed.

pub const RED_BED: BlockState = _

The default block state for red_bed.

pub const BLACK_BED: BlockState = _

The default block state for black_bed.

pub const POWERED_RAIL: BlockState = _

The default block state for powered_rail.

pub const DETECTOR_RAIL: BlockState = _

The default block state for detector_rail.

pub const STICKY_PISTON: BlockState = _

The default block state for sticky_piston.

pub const COBWEB: BlockState = _

The default block state for cobweb.

pub const GRASS: BlockState = _

The default block state for grass.

pub const FERN: BlockState = _

The default block state for fern.

pub const DEAD_BUSH: BlockState = _

The default block state for dead_bush.

pub const SEAGRASS: BlockState = _

The default block state for seagrass.

pub const TALL_SEAGRASS: BlockState = _

The default block state for tall_seagrass.

pub const PISTON: BlockState = _

The default block state for piston.

pub const PISTON_HEAD: BlockState = _

The default block state for piston_head.

pub const WHITE_WOOL: BlockState = _

The default block state for white_wool.

pub const ORANGE_WOOL: BlockState = _

The default block state for orange_wool.

pub const MAGENTA_WOOL: BlockState = _

The default block state for magenta_wool.

pub const LIGHT_BLUE_WOOL: BlockState = _

The default block state for light_blue_wool.

pub const YELLOW_WOOL: BlockState = _

The default block state for yellow_wool.

pub const LIME_WOOL: BlockState = _

The default block state for lime_wool.

pub const PINK_WOOL: BlockState = _

The default block state for pink_wool.

pub const GRAY_WOOL: BlockState = _

The default block state for gray_wool.

pub const LIGHT_GRAY_WOOL: BlockState = _

The default block state for light_gray_wool.

pub const CYAN_WOOL: BlockState = _

The default block state for cyan_wool.

pub const PURPLE_WOOL: BlockState = _

The default block state for purple_wool.

pub const BLUE_WOOL: BlockState = _

The default block state for blue_wool.

pub const BROWN_WOOL: BlockState = _

The default block state for brown_wool.

pub const GREEN_WOOL: BlockState = _

The default block state for green_wool.

pub const RED_WOOL: BlockState = _

The default block state for red_wool.

pub const BLACK_WOOL: BlockState = _

The default block state for black_wool.

pub const MOVING_PISTON: BlockState = _

The default block state for moving_piston.

pub const DANDELION: BlockState = _

The default block state for dandelion.

pub const TORCHFLOWER: BlockState = _

The default block state for torchflower.

pub const POPPY: BlockState = _

The default block state for poppy.

pub const BLUE_ORCHID: BlockState = _

The default block state for blue_orchid.

pub const ALLIUM: BlockState = _

The default block state for allium.

pub const AZURE_BLUET: BlockState = _

The default block state for azure_bluet.

pub const RED_TULIP: BlockState = _

The default block state for red_tulip.

pub const ORANGE_TULIP: BlockState = _

The default block state for orange_tulip.

pub const WHITE_TULIP: BlockState = _

The default block state for white_tulip.

pub const PINK_TULIP: BlockState = _

The default block state for pink_tulip.

pub const OXEYE_DAISY: BlockState = _

The default block state for oxeye_daisy.

pub const CORNFLOWER: BlockState = _

The default block state for cornflower.

pub const WITHER_ROSE: BlockState = _

The default block state for wither_rose.

pub const LILY_OF_THE_VALLEY: BlockState = _

The default block state for lily_of_the_valley.

pub const BROWN_MUSHROOM: BlockState = _

The default block state for brown_mushroom.

pub const RED_MUSHROOM: BlockState = _

The default block state for red_mushroom.

pub const GOLD_BLOCK: BlockState = _

The default block state for gold_block.

pub const IRON_BLOCK: BlockState = _

The default block state for iron_block.

pub const BRICKS: BlockState = _

The default block state for bricks.

pub const TNT: BlockState = _

The default block state for tnt.

pub const BOOKSHELF: BlockState = _

The default block state for bookshelf.

pub const CHISELED_BOOKSHELF: BlockState = _

The default block state for chiseled_bookshelf.

pub const MOSSY_COBBLESTONE: BlockState = _

The default block state for mossy_cobblestone.

pub const OBSIDIAN: BlockState = _

The default block state for obsidian.

pub const TORCH: BlockState = _

The default block state for torch.

pub const WALL_TORCH: BlockState = _

The default block state for wall_torch.

pub const FIRE: BlockState = _

The default block state for fire.

pub const SOUL_FIRE: BlockState = _

The default block state for soul_fire.

pub const SPAWNER: BlockState = _

The default block state for spawner.

pub const OAK_STAIRS: BlockState = _

The default block state for oak_stairs.

pub const CHEST: BlockState = _

The default block state for chest.

pub const REDSTONE_WIRE: BlockState = _

The default block state for redstone_wire.

pub const DIAMOND_ORE: BlockState = _

The default block state for diamond_ore.

pub const DEEPSLATE_DIAMOND_ORE: BlockState = _

The default block state for deepslate_diamond_ore.

pub const DIAMOND_BLOCK: BlockState = _

The default block state for diamond_block.

pub const CRAFTING_TABLE: BlockState = _

The default block state for crafting_table.

pub const WHEAT: BlockState = _

The default block state for wheat.

pub const FARMLAND: BlockState = _

The default block state for farmland.

pub const FURNACE: BlockState = _

The default block state for furnace.

pub const OAK_SIGN: BlockState = _

The default block state for oak_sign.

pub const SPRUCE_SIGN: BlockState = _

The default block state for spruce_sign.

pub const BIRCH_SIGN: BlockState = _

The default block state for birch_sign.

pub const ACACIA_SIGN: BlockState = _

The default block state for acacia_sign.

pub const CHERRY_SIGN: BlockState = _

The default block state for cherry_sign.

pub const JUNGLE_SIGN: BlockState = _

The default block state for jungle_sign.

pub const DARK_OAK_SIGN: BlockState = _

The default block state for dark_oak_sign.

pub const MANGROVE_SIGN: BlockState = _

The default block state for mangrove_sign.

pub const BAMBOO_SIGN: BlockState = _

The default block state for bamboo_sign.

pub const OAK_DOOR: BlockState = _

The default block state for oak_door.

pub const LADDER: BlockState = _

The default block state for ladder.

pub const RAIL: BlockState = _

The default block state for rail.

pub const COBBLESTONE_STAIRS: BlockState = _

The default block state for cobblestone_stairs.

pub const OAK_WALL_SIGN: BlockState = _

The default block state for oak_wall_sign.

pub const SPRUCE_WALL_SIGN: BlockState = _

The default block state for spruce_wall_sign.

pub const BIRCH_WALL_SIGN: BlockState = _

The default block state for birch_wall_sign.

pub const ACACIA_WALL_SIGN: BlockState = _

The default block state for acacia_wall_sign.

pub const CHERRY_WALL_SIGN: BlockState = _

The default block state for cherry_wall_sign.

pub const JUNGLE_WALL_SIGN: BlockState = _

The default block state for jungle_wall_sign.

pub const DARK_OAK_WALL_SIGN: BlockState = _

The default block state for dark_oak_wall_sign.

pub const MANGROVE_WALL_SIGN: BlockState = _

The default block state for mangrove_wall_sign.

pub const BAMBOO_WALL_SIGN: BlockState = _

The default block state for bamboo_wall_sign.

pub const OAK_HANGING_SIGN: BlockState = _

The default block state for oak_hanging_sign.

pub const SPRUCE_HANGING_SIGN: BlockState = _

The default block state for spruce_hanging_sign.

pub const BIRCH_HANGING_SIGN: BlockState = _

The default block state for birch_hanging_sign.

pub const ACACIA_HANGING_SIGN: BlockState = _

The default block state for acacia_hanging_sign.

pub const CHERRY_HANGING_SIGN: BlockState = _

The default block state for cherry_hanging_sign.

pub const JUNGLE_HANGING_SIGN: BlockState = _

The default block state for jungle_hanging_sign.

pub const DARK_OAK_HANGING_SIGN: BlockState = _

The default block state for dark_oak_hanging_sign.

pub const CRIMSON_HANGING_SIGN: BlockState = _

The default block state for crimson_hanging_sign.

pub const WARPED_HANGING_SIGN: BlockState = _

The default block state for warped_hanging_sign.

pub const MANGROVE_HANGING_SIGN: BlockState = _

The default block state for mangrove_hanging_sign.

pub const BAMBOO_HANGING_SIGN: BlockState = _

The default block state for bamboo_hanging_sign.

pub const OAK_WALL_HANGING_SIGN: BlockState = _

The default block state for oak_wall_hanging_sign.

pub const SPRUCE_WALL_HANGING_SIGN: BlockState = _

The default block state for spruce_wall_hanging_sign.

pub const BIRCH_WALL_HANGING_SIGN: BlockState = _

The default block state for birch_wall_hanging_sign.

pub const ACACIA_WALL_HANGING_SIGN: BlockState = _

The default block state for acacia_wall_hanging_sign.

pub const CHERRY_WALL_HANGING_SIGN: BlockState = _

The default block state for cherry_wall_hanging_sign.

pub const JUNGLE_WALL_HANGING_SIGN: BlockState = _

The default block state for jungle_wall_hanging_sign.

pub const DARK_OAK_WALL_HANGING_SIGN: BlockState = _

The default block state for dark_oak_wall_hanging_sign.

pub const MANGROVE_WALL_HANGING_SIGN: BlockState = _

The default block state for mangrove_wall_hanging_sign.

pub const CRIMSON_WALL_HANGING_SIGN: BlockState = _

The default block state for crimson_wall_hanging_sign.

pub const WARPED_WALL_HANGING_SIGN: BlockState = _

The default block state for warped_wall_hanging_sign.

pub const BAMBOO_WALL_HANGING_SIGN: BlockState = _

The default block state for bamboo_wall_hanging_sign.

pub const LEVER: BlockState = _

The default block state for lever.

pub const STONE_PRESSURE_PLATE: BlockState = _

The default block state for stone_pressure_plate.

pub const IRON_DOOR: BlockState = _

The default block state for iron_door.

pub const OAK_PRESSURE_PLATE: BlockState = _

The default block state for oak_pressure_plate.

pub const SPRUCE_PRESSURE_PLATE: BlockState = _

The default block state for spruce_pressure_plate.

pub const BIRCH_PRESSURE_PLATE: BlockState = _

The default block state for birch_pressure_plate.

pub const JUNGLE_PRESSURE_PLATE: BlockState = _

The default block state for jungle_pressure_plate.

pub const ACACIA_PRESSURE_PLATE: BlockState = _

The default block state for acacia_pressure_plate.

pub const CHERRY_PRESSURE_PLATE: BlockState = _

The default block state for cherry_pressure_plate.

pub const DARK_OAK_PRESSURE_PLATE: BlockState = _

The default block state for dark_oak_pressure_plate.

pub const MANGROVE_PRESSURE_PLATE: BlockState = _

The default block state for mangrove_pressure_plate.

pub const BAMBOO_PRESSURE_PLATE: BlockState = _

The default block state for bamboo_pressure_plate.

pub const REDSTONE_ORE: BlockState = _

The default block state for redstone_ore.

pub const DEEPSLATE_REDSTONE_ORE: BlockState = _

The default block state for deepslate_redstone_ore.

pub const REDSTONE_TORCH: BlockState = _

The default block state for redstone_torch.

pub const REDSTONE_WALL_TORCH: BlockState = _

The default block state for redstone_wall_torch.

pub const STONE_BUTTON: BlockState = _

The default block state for stone_button.

pub const SNOW: BlockState = _

The default block state for snow.

pub const ICE: BlockState = _

The default block state for ice.

pub const SNOW_BLOCK: BlockState = _

The default block state for snow_block.

pub const CACTUS: BlockState = _

The default block state for cactus.

pub const CLAY: BlockState = _

The default block state for clay.

pub const SUGAR_CANE: BlockState = _

The default block state for sugar_cane.

pub const JUKEBOX: BlockState = _

The default block state for jukebox.

pub const OAK_FENCE: BlockState = _

The default block state for oak_fence.

pub const PUMPKIN: BlockState = _

The default block state for pumpkin.

pub const NETHERRACK: BlockState = _

The default block state for netherrack.

pub const SOUL_SAND: BlockState = _

The default block state for soul_sand.

pub const SOUL_SOIL: BlockState = _

The default block state for soul_soil.

pub const BASALT: BlockState = _

The default block state for basalt.

pub const POLISHED_BASALT: BlockState = _

The default block state for polished_basalt.

pub const SOUL_TORCH: BlockState = _

The default block state for soul_torch.

pub const SOUL_WALL_TORCH: BlockState = _

The default block state for soul_wall_torch.

pub const GLOWSTONE: BlockState = _

The default block state for glowstone.

pub const NETHER_PORTAL: BlockState = _

The default block state for nether_portal.

pub const CARVED_PUMPKIN: BlockState = _

The default block state for carved_pumpkin.

pub const JACK_O_LANTERN: BlockState = _

The default block state for jack_o_lantern.

pub const CAKE: BlockState = _

The default block state for cake.

pub const REPEATER: BlockState = _

The default block state for repeater.

pub const WHITE_STAINED_GLASS: BlockState = _

The default block state for white_stained_glass.

pub const ORANGE_STAINED_GLASS: BlockState = _

The default block state for orange_stained_glass.

pub const MAGENTA_STAINED_GLASS: BlockState = _

The default block state for magenta_stained_glass.

pub const LIGHT_BLUE_STAINED_GLASS: BlockState = _

The default block state for light_blue_stained_glass.

pub const YELLOW_STAINED_GLASS: BlockState = _

The default block state for yellow_stained_glass.

pub const LIME_STAINED_GLASS: BlockState = _

The default block state for lime_stained_glass.

pub const PINK_STAINED_GLASS: BlockState = _

The default block state for pink_stained_glass.

pub const GRAY_STAINED_GLASS: BlockState = _

The default block state for gray_stained_glass.

pub const LIGHT_GRAY_STAINED_GLASS: BlockState = _

The default block state for light_gray_stained_glass.

pub const CYAN_STAINED_GLASS: BlockState = _

The default block state for cyan_stained_glass.

pub const PURPLE_STAINED_GLASS: BlockState = _

The default block state for purple_stained_glass.

pub const BLUE_STAINED_GLASS: BlockState = _

The default block state for blue_stained_glass.

pub const BROWN_STAINED_GLASS: BlockState = _

The default block state for brown_stained_glass.

pub const GREEN_STAINED_GLASS: BlockState = _

The default block state for green_stained_glass.

pub const RED_STAINED_GLASS: BlockState = _

The default block state for red_stained_glass.

pub const BLACK_STAINED_GLASS: BlockState = _

The default block state for black_stained_glass.

pub const OAK_TRAPDOOR: BlockState = _

The default block state for oak_trapdoor.

pub const SPRUCE_TRAPDOOR: BlockState = _

The default block state for spruce_trapdoor.

pub const BIRCH_TRAPDOOR: BlockState = _

The default block state for birch_trapdoor.

pub const JUNGLE_TRAPDOOR: BlockState = _

The default block state for jungle_trapdoor.

pub const ACACIA_TRAPDOOR: BlockState = _

The default block state for acacia_trapdoor.

pub const CHERRY_TRAPDOOR: BlockState = _

The default block state for cherry_trapdoor.

pub const DARK_OAK_TRAPDOOR: BlockState = _

The default block state for dark_oak_trapdoor.

pub const MANGROVE_TRAPDOOR: BlockState = _

The default block state for mangrove_trapdoor.

pub const BAMBOO_TRAPDOOR: BlockState = _

The default block state for bamboo_trapdoor.

pub const STONE_BRICKS: BlockState = _

The default block state for stone_bricks.

pub const MOSSY_STONE_BRICKS: BlockState = _

The default block state for mossy_stone_bricks.

pub const CRACKED_STONE_BRICKS: BlockState = _

The default block state for cracked_stone_bricks.

pub const CHISELED_STONE_BRICKS: BlockState = _

The default block state for chiseled_stone_bricks.

pub const PACKED_MUD: BlockState = _

The default block state for packed_mud.

pub const MUD_BRICKS: BlockState = _

The default block state for mud_bricks.

pub const INFESTED_STONE: BlockState = _

The default block state for infested_stone.

pub const INFESTED_COBBLESTONE: BlockState = _

The default block state for infested_cobblestone.

pub const INFESTED_STONE_BRICKS: BlockState = _

The default block state for infested_stone_bricks.

pub const INFESTED_MOSSY_STONE_BRICKS: BlockState = _

The default block state for infested_mossy_stone_bricks.

pub const INFESTED_CRACKED_STONE_BRICKS: BlockState = _

The default block state for infested_cracked_stone_bricks.

pub const INFESTED_CHISELED_STONE_BRICKS: BlockState = _

The default block state for infested_chiseled_stone_bricks.

pub const BROWN_MUSHROOM_BLOCK: BlockState = _

The default block state for brown_mushroom_block.

pub const RED_MUSHROOM_BLOCK: BlockState = _

The default block state for red_mushroom_block.

pub const MUSHROOM_STEM: BlockState = _

The default block state for mushroom_stem.

pub const IRON_BARS: BlockState = _

The default block state for iron_bars.

pub const CHAIN: BlockState = _

The default block state for chain.

pub const GLASS_PANE: BlockState = _

The default block state for glass_pane.

pub const MELON: BlockState = _

The default block state for melon.

pub const ATTACHED_PUMPKIN_STEM: BlockState = _

The default block state for attached_pumpkin_stem.

pub const ATTACHED_MELON_STEM: BlockState = _

The default block state for attached_melon_stem.

pub const PUMPKIN_STEM: BlockState = _

The default block state for pumpkin_stem.

pub const MELON_STEM: BlockState = _

The default block state for melon_stem.

pub const VINE: BlockState = _

The default block state for vine.

pub const GLOW_LICHEN: BlockState = _

The default block state for glow_lichen.

pub const OAK_FENCE_GATE: BlockState = _

The default block state for oak_fence_gate.

pub const BRICK_STAIRS: BlockState = _

The default block state for brick_stairs.

pub const STONE_BRICK_STAIRS: BlockState = _

The default block state for stone_brick_stairs.

pub const MUD_BRICK_STAIRS: BlockState = _

The default block state for mud_brick_stairs.

pub const MYCELIUM: BlockState = _

The default block state for mycelium.

pub const LILY_PAD: BlockState = _

The default block state for lily_pad.

pub const NETHER_BRICKS: BlockState = _

The default block state for nether_bricks.

pub const NETHER_BRICK_FENCE: BlockState = _

The default block state for nether_brick_fence.

pub const NETHER_BRICK_STAIRS: BlockState = _

The default block state for nether_brick_stairs.

pub const NETHER_WART: BlockState = _

The default block state for nether_wart.

pub const ENCHANTING_TABLE: BlockState = _

The default block state for enchanting_table.

pub const BREWING_STAND: BlockState = _

The default block state for brewing_stand.

pub const CAULDRON: BlockState = _

The default block state for cauldron.

pub const WATER_CAULDRON: BlockState = _

The default block state for water_cauldron.

pub const LAVA_CAULDRON: BlockState = _

The default block state for lava_cauldron.

pub const POWDER_SNOW_CAULDRON: BlockState = _

The default block state for powder_snow_cauldron.

pub const END_PORTAL: BlockState = _

The default block state for end_portal.

pub const END_PORTAL_FRAME: BlockState = _

The default block state for end_portal_frame.

pub const END_STONE: BlockState = _

The default block state for end_stone.

pub const DRAGON_EGG: BlockState = _

The default block state for dragon_egg.

pub const REDSTONE_LAMP: BlockState = _

The default block state for redstone_lamp.

pub const COCOA: BlockState = _

The default block state for cocoa.

pub const SANDSTONE_STAIRS: BlockState = _

The default block state for sandstone_stairs.

pub const EMERALD_ORE: BlockState = _

The default block state for emerald_ore.

pub const DEEPSLATE_EMERALD_ORE: BlockState = _

The default block state for deepslate_emerald_ore.

pub const ENDER_CHEST: BlockState = _

The default block state for ender_chest.

pub const TRIPWIRE_HOOK: BlockState = _

The default block state for tripwire_hook.

pub const TRIPWIRE: BlockState = _

The default block state for tripwire.

pub const EMERALD_BLOCK: BlockState = _

The default block state for emerald_block.

pub const SPRUCE_STAIRS: BlockState = _

The default block state for spruce_stairs.

pub const BIRCH_STAIRS: BlockState = _

The default block state for birch_stairs.

pub const JUNGLE_STAIRS: BlockState = _

The default block state for jungle_stairs.

pub const COMMAND_BLOCK: BlockState = _

The default block state for command_block.

pub const BEACON: BlockState = _

The default block state for beacon.

pub const COBBLESTONE_WALL: BlockState = _

The default block state for cobblestone_wall.

pub const MOSSY_COBBLESTONE_WALL: BlockState = _

The default block state for mossy_cobblestone_wall.

pub const FLOWER_POT: BlockState = _

The default block state for flower_pot.

pub const POTTED_TORCHFLOWER: BlockState = _

The default block state for potted_torchflower.

pub const POTTED_OAK_SAPLING: BlockState = _

The default block state for potted_oak_sapling.

pub const POTTED_SPRUCE_SAPLING: BlockState = _

The default block state for potted_spruce_sapling.

pub const POTTED_BIRCH_SAPLING: BlockState = _

The default block state for potted_birch_sapling.

pub const POTTED_JUNGLE_SAPLING: BlockState = _

The default block state for potted_jungle_sapling.

pub const POTTED_ACACIA_SAPLING: BlockState = _

The default block state for potted_acacia_sapling.

pub const POTTED_CHERRY_SAPLING: BlockState = _

The default block state for potted_cherry_sapling.

pub const POTTED_DARK_OAK_SAPLING: BlockState = _

The default block state for potted_dark_oak_sapling.

pub const POTTED_MANGROVE_PROPAGULE: BlockState = _

The default block state for potted_mangrove_propagule.

pub const POTTED_FERN: BlockState = _

The default block state for potted_fern.

pub const POTTED_DANDELION: BlockState = _

The default block state for potted_dandelion.

pub const POTTED_POPPY: BlockState = _

The default block state for potted_poppy.

pub const POTTED_BLUE_ORCHID: BlockState = _

The default block state for potted_blue_orchid.

pub const POTTED_ALLIUM: BlockState = _

The default block state for potted_allium.

pub const POTTED_AZURE_BLUET: BlockState = _

The default block state for potted_azure_bluet.

pub const POTTED_RED_TULIP: BlockState = _

The default block state for potted_red_tulip.

pub const POTTED_ORANGE_TULIP: BlockState = _

The default block state for potted_orange_tulip.

pub const POTTED_WHITE_TULIP: BlockState = _

The default block state for potted_white_tulip.

pub const POTTED_PINK_TULIP: BlockState = _

The default block state for potted_pink_tulip.

pub const POTTED_OXEYE_DAISY: BlockState = _

The default block state for potted_oxeye_daisy.

pub const POTTED_CORNFLOWER: BlockState = _

The default block state for potted_cornflower.

pub const POTTED_LILY_OF_THE_VALLEY: BlockState = _

The default block state for potted_lily_of_the_valley.

pub const POTTED_WITHER_ROSE: BlockState = _

The default block state for potted_wither_rose.

pub const POTTED_RED_MUSHROOM: BlockState = _

The default block state for potted_red_mushroom.

pub const POTTED_BROWN_MUSHROOM: BlockState = _

The default block state for potted_brown_mushroom.

pub const POTTED_DEAD_BUSH: BlockState = _

The default block state for potted_dead_bush.

pub const POTTED_CACTUS: BlockState = _

The default block state for potted_cactus.

pub const CARROTS: BlockState = _

The default block state for carrots.

pub const POTATOES: BlockState = _

The default block state for potatoes.

pub const OAK_BUTTON: BlockState = _

The default block state for oak_button.

pub const SPRUCE_BUTTON: BlockState = _

The default block state for spruce_button.

pub const BIRCH_BUTTON: BlockState = _

The default block state for birch_button.

pub const JUNGLE_BUTTON: BlockState = _

The default block state for jungle_button.

pub const ACACIA_BUTTON: BlockState = _

The default block state for acacia_button.

pub const CHERRY_BUTTON: BlockState = _

The default block state for cherry_button.

pub const DARK_OAK_BUTTON: BlockState = _

The default block state for dark_oak_button.

pub const MANGROVE_BUTTON: BlockState = _

The default block state for mangrove_button.

pub const BAMBOO_BUTTON: BlockState = _

The default block state for bamboo_button.

pub const SKELETON_SKULL: BlockState = _

The default block state for skeleton_skull.

pub const SKELETON_WALL_SKULL: BlockState = _

The default block state for skeleton_wall_skull.

pub const WITHER_SKELETON_SKULL: BlockState = _

The default block state for wither_skeleton_skull.

pub const WITHER_SKELETON_WALL_SKULL: BlockState = _

The default block state for wither_skeleton_wall_skull.

pub const ZOMBIE_HEAD: BlockState = _

The default block state for zombie_head.

pub const ZOMBIE_WALL_HEAD: BlockState = _

The default block state for zombie_wall_head.

pub const PLAYER_HEAD: BlockState = _

The default block state for player_head.

pub const PLAYER_WALL_HEAD: BlockState = _

The default block state for player_wall_head.

pub const CREEPER_HEAD: BlockState = _

The default block state for creeper_head.

pub const CREEPER_WALL_HEAD: BlockState = _

The default block state for creeper_wall_head.

pub const DRAGON_HEAD: BlockState = _

The default block state for dragon_head.

pub const DRAGON_WALL_HEAD: BlockState = _

The default block state for dragon_wall_head.

pub const PIGLIN_HEAD: BlockState = _

The default block state for piglin_head.

pub const PIGLIN_WALL_HEAD: BlockState = _

The default block state for piglin_wall_head.

pub const ANVIL: BlockState = _

The default block state for anvil.

pub const CHIPPED_ANVIL: BlockState = _

The default block state for chipped_anvil.

pub const DAMAGED_ANVIL: BlockState = _

The default block state for damaged_anvil.

pub const TRAPPED_CHEST: BlockState = _

The default block state for trapped_chest.

pub const LIGHT_WEIGHTED_PRESSURE_PLATE: BlockState = _

The default block state for light_weighted_pressure_plate.

pub const HEAVY_WEIGHTED_PRESSURE_PLATE: BlockState = _

The default block state for heavy_weighted_pressure_plate.

pub const COMPARATOR: BlockState = _

The default block state for comparator.

pub const DAYLIGHT_DETECTOR: BlockState = _

The default block state for daylight_detector.

pub const REDSTONE_BLOCK: BlockState = _

The default block state for redstone_block.

pub const NETHER_QUARTZ_ORE: BlockState = _

The default block state for nether_quartz_ore.

pub const HOPPER: BlockState = _

The default block state for hopper.

pub const QUARTZ_BLOCK: BlockState = _

The default block state for quartz_block.

pub const CHISELED_QUARTZ_BLOCK: BlockState = _

The default block state for chiseled_quartz_block.

pub const QUARTZ_PILLAR: BlockState = _

The default block state for quartz_pillar.

pub const QUARTZ_STAIRS: BlockState = _

The default block state for quartz_stairs.

pub const ACTIVATOR_RAIL: BlockState = _

The default block state for activator_rail.

pub const DROPPER: BlockState = _

The default block state for dropper.

pub const WHITE_TERRACOTTA: BlockState = _

The default block state for white_terracotta.

pub const ORANGE_TERRACOTTA: BlockState = _

The default block state for orange_terracotta.

pub const MAGENTA_TERRACOTTA: BlockState = _

The default block state for magenta_terracotta.

pub const LIGHT_BLUE_TERRACOTTA: BlockState = _

The default block state for light_blue_terracotta.

pub const YELLOW_TERRACOTTA: BlockState = _

The default block state for yellow_terracotta.

pub const LIME_TERRACOTTA: BlockState = _

The default block state for lime_terracotta.

pub const PINK_TERRACOTTA: BlockState = _

The default block state for pink_terracotta.

pub const GRAY_TERRACOTTA: BlockState = _

The default block state for gray_terracotta.

pub const LIGHT_GRAY_TERRACOTTA: BlockState = _

The default block state for light_gray_terracotta.

pub const CYAN_TERRACOTTA: BlockState = _

The default block state for cyan_terracotta.

pub const PURPLE_TERRACOTTA: BlockState = _

The default block state for purple_terracotta.

pub const BLUE_TERRACOTTA: BlockState = _

The default block state for blue_terracotta.

pub const BROWN_TERRACOTTA: BlockState = _

The default block state for brown_terracotta.

pub const GREEN_TERRACOTTA: BlockState = _

The default block state for green_terracotta.

pub const RED_TERRACOTTA: BlockState = _

The default block state for red_terracotta.

pub const BLACK_TERRACOTTA: BlockState = _

The default block state for black_terracotta.

pub const WHITE_STAINED_GLASS_PANE: BlockState = _

The default block state for white_stained_glass_pane.

pub const ORANGE_STAINED_GLASS_PANE: BlockState = _

The default block state for orange_stained_glass_pane.

pub const MAGENTA_STAINED_GLASS_PANE: BlockState = _

The default block state for magenta_stained_glass_pane.

pub const LIGHT_BLUE_STAINED_GLASS_PANE: BlockState = _

The default block state for light_blue_stained_glass_pane.

pub const YELLOW_STAINED_GLASS_PANE: BlockState = _

The default block state for yellow_stained_glass_pane.

pub const LIME_STAINED_GLASS_PANE: BlockState = _

The default block state for lime_stained_glass_pane.

pub const PINK_STAINED_GLASS_PANE: BlockState = _

The default block state for pink_stained_glass_pane.

pub const GRAY_STAINED_GLASS_PANE: BlockState = _

The default block state for gray_stained_glass_pane.

pub const LIGHT_GRAY_STAINED_GLASS_PANE: BlockState = _

The default block state for light_gray_stained_glass_pane.

pub const CYAN_STAINED_GLASS_PANE: BlockState = _

The default block state for cyan_stained_glass_pane.

pub const PURPLE_STAINED_GLASS_PANE: BlockState = _

The default block state for purple_stained_glass_pane.

pub const BLUE_STAINED_GLASS_PANE: BlockState = _

The default block state for blue_stained_glass_pane.

pub const BROWN_STAINED_GLASS_PANE: BlockState = _

The default block state for brown_stained_glass_pane.

pub const GREEN_STAINED_GLASS_PANE: BlockState = _

The default block state for green_stained_glass_pane.

pub const RED_STAINED_GLASS_PANE: BlockState = _

The default block state for red_stained_glass_pane.

pub const BLACK_STAINED_GLASS_PANE: BlockState = _

The default block state for black_stained_glass_pane.

pub const ACACIA_STAIRS: BlockState = _

The default block state for acacia_stairs.

pub const CHERRY_STAIRS: BlockState = _

The default block state for cherry_stairs.

pub const DARK_OAK_STAIRS: BlockState = _

The default block state for dark_oak_stairs.

pub const MANGROVE_STAIRS: BlockState = _

The default block state for mangrove_stairs.

pub const BAMBOO_STAIRS: BlockState = _

The default block state for bamboo_stairs.

pub const BAMBOO_MOSAIC_STAIRS: BlockState = _

The default block state for bamboo_mosaic_stairs.

pub const SLIME_BLOCK: BlockState = _

The default block state for slime_block.

pub const BARRIER: BlockState = _

The default block state for barrier.

pub const LIGHT: BlockState = _

The default block state for light.

pub const IRON_TRAPDOOR: BlockState = _

The default block state for iron_trapdoor.

pub const PRISMARINE: BlockState = _

The default block state for prismarine.

pub const PRISMARINE_BRICKS: BlockState = _

The default block state for prismarine_bricks.

pub const DARK_PRISMARINE: BlockState = _

The default block state for dark_prismarine.

pub const PRISMARINE_STAIRS: BlockState = _

The default block state for prismarine_stairs.

pub const PRISMARINE_BRICK_STAIRS: BlockState = _

The default block state for prismarine_brick_stairs.

pub const DARK_PRISMARINE_STAIRS: BlockState = _

The default block state for dark_prismarine_stairs.

pub const PRISMARINE_SLAB: BlockState = _

The default block state for prismarine_slab.

pub const PRISMARINE_BRICK_SLAB: BlockState = _

The default block state for prismarine_brick_slab.

pub const DARK_PRISMARINE_SLAB: BlockState = _

The default block state for dark_prismarine_slab.

pub const SEA_LANTERN: BlockState = _

The default block state for sea_lantern.

pub const HAY_BLOCK: BlockState = _

The default block state for hay_block.

pub const WHITE_CARPET: BlockState = _

The default block state for white_carpet.

pub const ORANGE_CARPET: BlockState = _

The default block state for orange_carpet.

pub const MAGENTA_CARPET: BlockState = _

The default block state for magenta_carpet.

pub const LIGHT_BLUE_CARPET: BlockState = _

The default block state for light_blue_carpet.

pub const YELLOW_CARPET: BlockState = _

The default block state for yellow_carpet.

pub const LIME_CARPET: BlockState = _

The default block state for lime_carpet.

pub const PINK_CARPET: BlockState = _

The default block state for pink_carpet.

pub const GRAY_CARPET: BlockState = _

The default block state for gray_carpet.

pub const LIGHT_GRAY_CARPET: BlockState = _

The default block state for light_gray_carpet.

pub const CYAN_CARPET: BlockState = _

The default block state for cyan_carpet.

pub const PURPLE_CARPET: BlockState = _

The default block state for purple_carpet.

pub const BLUE_CARPET: BlockState = _

The default block state for blue_carpet.

pub const BROWN_CARPET: BlockState = _

The default block state for brown_carpet.

pub const GREEN_CARPET: BlockState = _

The default block state for green_carpet.

pub const RED_CARPET: BlockState = _

The default block state for red_carpet.

pub const BLACK_CARPET: BlockState = _

The default block state for black_carpet.

pub const TERRACOTTA: BlockState = _

The default block state for terracotta.

pub const COAL_BLOCK: BlockState = _

The default block state for coal_block.

pub const PACKED_ICE: BlockState = _

The default block state for packed_ice.

pub const SUNFLOWER: BlockState = _

The default block state for sunflower.

pub const LILAC: BlockState = _

The default block state for lilac.

pub const ROSE_BUSH: BlockState = _

The default block state for rose_bush.

pub const PEONY: BlockState = _

The default block state for peony.

pub const TALL_GRASS: BlockState = _

The default block state for tall_grass.

pub const LARGE_FERN: BlockState = _

The default block state for large_fern.

pub const WHITE_BANNER: BlockState = _

The default block state for white_banner.

pub const ORANGE_BANNER: BlockState = _

The default block state for orange_banner.

pub const MAGENTA_BANNER: BlockState = _

The default block state for magenta_banner.

pub const LIGHT_BLUE_BANNER: BlockState = _

The default block state for light_blue_banner.

pub const YELLOW_BANNER: BlockState = _

The default block state for yellow_banner.

pub const LIME_BANNER: BlockState = _

The default block state for lime_banner.

pub const PINK_BANNER: BlockState = _

The default block state for pink_banner.

pub const GRAY_BANNER: BlockState = _

The default block state for gray_banner.

pub const LIGHT_GRAY_BANNER: BlockState = _

The default block state for light_gray_banner.

pub const CYAN_BANNER: BlockState = _

The default block state for cyan_banner.

pub const PURPLE_BANNER: BlockState = _

The default block state for purple_banner.

pub const BLUE_BANNER: BlockState = _

The default block state for blue_banner.

pub const BROWN_BANNER: BlockState = _

The default block state for brown_banner.

pub const GREEN_BANNER: BlockState = _

The default block state for green_banner.

pub const RED_BANNER: BlockState = _

The default block state for red_banner.

pub const BLACK_BANNER: BlockState = _

The default block state for black_banner.

pub const WHITE_WALL_BANNER: BlockState = _

The default block state for white_wall_banner.

pub const ORANGE_WALL_BANNER: BlockState = _

The default block state for orange_wall_banner.

pub const MAGENTA_WALL_BANNER: BlockState = _

The default block state for magenta_wall_banner.

pub const LIGHT_BLUE_WALL_BANNER: BlockState = _

The default block state for light_blue_wall_banner.

pub const YELLOW_WALL_BANNER: BlockState = _

The default block state for yellow_wall_banner.

pub const LIME_WALL_BANNER: BlockState = _

The default block state for lime_wall_banner.

pub const PINK_WALL_BANNER: BlockState = _

The default block state for pink_wall_banner.

pub const GRAY_WALL_BANNER: BlockState = _

The default block state for gray_wall_banner.

pub const LIGHT_GRAY_WALL_BANNER: BlockState = _

The default block state for light_gray_wall_banner.

pub const CYAN_WALL_BANNER: BlockState = _

The default block state for cyan_wall_banner.

pub const PURPLE_WALL_BANNER: BlockState = _

The default block state for purple_wall_banner.

pub const BLUE_WALL_BANNER: BlockState = _

The default block state for blue_wall_banner.

pub const BROWN_WALL_BANNER: BlockState = _

The default block state for brown_wall_banner.

pub const GREEN_WALL_BANNER: BlockState = _

The default block state for green_wall_banner.

pub const RED_WALL_BANNER: BlockState = _

The default block state for red_wall_banner.

pub const BLACK_WALL_BANNER: BlockState = _

The default block state for black_wall_banner.

pub const RED_SANDSTONE: BlockState = _

The default block state for red_sandstone.

pub const CHISELED_RED_SANDSTONE: BlockState = _

The default block state for chiseled_red_sandstone.

pub const CUT_RED_SANDSTONE: BlockState = _

The default block state for cut_red_sandstone.

pub const RED_SANDSTONE_STAIRS: BlockState = _

The default block state for red_sandstone_stairs.

pub const OAK_SLAB: BlockState = _

The default block state for oak_slab.

pub const SPRUCE_SLAB: BlockState = _

The default block state for spruce_slab.

pub const BIRCH_SLAB: BlockState = _

The default block state for birch_slab.

pub const JUNGLE_SLAB: BlockState = _

The default block state for jungle_slab.

pub const ACACIA_SLAB: BlockState = _

The default block state for acacia_slab.

pub const CHERRY_SLAB: BlockState = _

The default block state for cherry_slab.

pub const DARK_OAK_SLAB: BlockState = _

The default block state for dark_oak_slab.

pub const MANGROVE_SLAB: BlockState = _

The default block state for mangrove_slab.

pub const BAMBOO_SLAB: BlockState = _

The default block state for bamboo_slab.

pub const BAMBOO_MOSAIC_SLAB: BlockState = _

The default block state for bamboo_mosaic_slab.

pub const STONE_SLAB: BlockState = _

The default block state for stone_slab.

pub const SMOOTH_STONE_SLAB: BlockState = _

The default block state for smooth_stone_slab.

pub const SANDSTONE_SLAB: BlockState = _

The default block state for sandstone_slab.

pub const CUT_SANDSTONE_SLAB: BlockState = _

The default block state for cut_sandstone_slab.

pub const PETRIFIED_OAK_SLAB: BlockState = _

The default block state for petrified_oak_slab.

pub const COBBLESTONE_SLAB: BlockState = _

The default block state for cobblestone_slab.

pub const BRICK_SLAB: BlockState = _

The default block state for brick_slab.

pub const STONE_BRICK_SLAB: BlockState = _

The default block state for stone_brick_slab.

pub const MUD_BRICK_SLAB: BlockState = _

The default block state for mud_brick_slab.

pub const NETHER_BRICK_SLAB: BlockState = _

The default block state for nether_brick_slab.

pub const QUARTZ_SLAB: BlockState = _

The default block state for quartz_slab.

pub const RED_SANDSTONE_SLAB: BlockState = _

The default block state for red_sandstone_slab.

pub const CUT_RED_SANDSTONE_SLAB: BlockState = _

The default block state for cut_red_sandstone_slab.

pub const PURPUR_SLAB: BlockState = _

The default block state for purpur_slab.

pub const SMOOTH_STONE: BlockState = _

The default block state for smooth_stone.

pub const SMOOTH_SANDSTONE: BlockState = _

The default block state for smooth_sandstone.

pub const SMOOTH_QUARTZ: BlockState = _

The default block state for smooth_quartz.

pub const SMOOTH_RED_SANDSTONE: BlockState = _

The default block state for smooth_red_sandstone.

pub const SPRUCE_FENCE_GATE: BlockState = _

The default block state for spruce_fence_gate.

pub const BIRCH_FENCE_GATE: BlockState = _

The default block state for birch_fence_gate.

pub const JUNGLE_FENCE_GATE: BlockState = _

The default block state for jungle_fence_gate.

pub const ACACIA_FENCE_GATE: BlockState = _

The default block state for acacia_fence_gate.

pub const CHERRY_FENCE_GATE: BlockState = _

The default block state for cherry_fence_gate.

pub const DARK_OAK_FENCE_GATE: BlockState = _

The default block state for dark_oak_fence_gate.

pub const MANGROVE_FENCE_GATE: BlockState = _

The default block state for mangrove_fence_gate.

pub const BAMBOO_FENCE_GATE: BlockState = _

The default block state for bamboo_fence_gate.

pub const SPRUCE_FENCE: BlockState = _

The default block state for spruce_fence.

pub const BIRCH_FENCE: BlockState = _

The default block state for birch_fence.

pub const JUNGLE_FENCE: BlockState = _

The default block state for jungle_fence.

pub const ACACIA_FENCE: BlockState = _

The default block state for acacia_fence.

pub const CHERRY_FENCE: BlockState = _

The default block state for cherry_fence.

pub const DARK_OAK_FENCE: BlockState = _

The default block state for dark_oak_fence.

pub const MANGROVE_FENCE: BlockState = _

The default block state for mangrove_fence.

pub const BAMBOO_FENCE: BlockState = _

The default block state for bamboo_fence.

pub const SPRUCE_DOOR: BlockState = _

The default block state for spruce_door.

pub const BIRCH_DOOR: BlockState = _

The default block state for birch_door.

pub const JUNGLE_DOOR: BlockState = _

The default block state for jungle_door.

pub const ACACIA_DOOR: BlockState = _

The default block state for acacia_door.

pub const CHERRY_DOOR: BlockState = _

The default block state for cherry_door.

pub const DARK_OAK_DOOR: BlockState = _

The default block state for dark_oak_door.

pub const MANGROVE_DOOR: BlockState = _

The default block state for mangrove_door.

pub const BAMBOO_DOOR: BlockState = _

The default block state for bamboo_door.

pub const END_ROD: BlockState = _

The default block state for end_rod.

pub const CHORUS_PLANT: BlockState = _

The default block state for chorus_plant.

pub const CHORUS_FLOWER: BlockState = _

The default block state for chorus_flower.

pub const PURPUR_BLOCK: BlockState = _

The default block state for purpur_block.

pub const PURPUR_PILLAR: BlockState = _

The default block state for purpur_pillar.

pub const PURPUR_STAIRS: BlockState = _

The default block state for purpur_stairs.

pub const END_STONE_BRICKS: BlockState = _

The default block state for end_stone_bricks.

pub const TORCHFLOWER_CROP: BlockState = _

The default block state for torchflower_crop.

pub const PITCHER_CROP: BlockState = _

The default block state for pitcher_crop.

pub const PITCHER_PLANT: BlockState = _

The default block state for pitcher_plant.

pub const BEETROOTS: BlockState = _

The default block state for beetroots.

pub const DIRT_PATH: BlockState = _

The default block state for dirt_path.

pub const END_GATEWAY: BlockState = _

The default block state for end_gateway.

pub const REPEATING_COMMAND_BLOCK: BlockState = _

The default block state for repeating_command_block.

pub const CHAIN_COMMAND_BLOCK: BlockState = _

The default block state for chain_command_block.

pub const FROSTED_ICE: BlockState = _

The default block state for frosted_ice.

pub const MAGMA_BLOCK: BlockState = _

The default block state for magma_block.

pub const NETHER_WART_BLOCK: BlockState = _

The default block state for nether_wart_block.

pub const RED_NETHER_BRICKS: BlockState = _

The default block state for red_nether_bricks.

pub const BONE_BLOCK: BlockState = _

The default block state for bone_block.

pub const STRUCTURE_VOID: BlockState = _

The default block state for structure_void.

pub const OBSERVER: BlockState = _

The default block state for observer.

pub const SHULKER_BOX: BlockState = _

The default block state for shulker_box.

pub const WHITE_SHULKER_BOX: BlockState = _

The default block state for white_shulker_box.

pub const ORANGE_SHULKER_BOX: BlockState = _

The default block state for orange_shulker_box.

pub const MAGENTA_SHULKER_BOX: BlockState = _

The default block state for magenta_shulker_box.

pub const LIGHT_BLUE_SHULKER_BOX: BlockState = _

The default block state for light_blue_shulker_box.

pub const YELLOW_SHULKER_BOX: BlockState = _

The default block state for yellow_shulker_box.

pub const LIME_SHULKER_BOX: BlockState = _

The default block state for lime_shulker_box.

pub const PINK_SHULKER_BOX: BlockState = _

The default block state for pink_shulker_box.

pub const GRAY_SHULKER_BOX: BlockState = _

The default block state for gray_shulker_box.

pub const LIGHT_GRAY_SHULKER_BOX: BlockState = _

The default block state for light_gray_shulker_box.

pub const CYAN_SHULKER_BOX: BlockState = _

The default block state for cyan_shulker_box.

pub const PURPLE_SHULKER_BOX: BlockState = _

The default block state for purple_shulker_box.

pub const BLUE_SHULKER_BOX: BlockState = _

The default block state for blue_shulker_box.

pub const BROWN_SHULKER_BOX: BlockState = _

The default block state for brown_shulker_box.

pub const GREEN_SHULKER_BOX: BlockState = _

The default block state for green_shulker_box.

pub const RED_SHULKER_BOX: BlockState = _

The default block state for red_shulker_box.

pub const BLACK_SHULKER_BOX: BlockState = _

The default block state for black_shulker_box.

pub const WHITE_GLAZED_TERRACOTTA: BlockState = _

The default block state for white_glazed_terracotta.

pub const ORANGE_GLAZED_TERRACOTTA: BlockState = _

The default block state for orange_glazed_terracotta.

pub const MAGENTA_GLAZED_TERRACOTTA: BlockState = _

The default block state for magenta_glazed_terracotta.

pub const LIGHT_BLUE_GLAZED_TERRACOTTA: BlockState = _

The default block state for light_blue_glazed_terracotta.

pub const YELLOW_GLAZED_TERRACOTTA: BlockState = _

The default block state for yellow_glazed_terracotta.

pub const LIME_GLAZED_TERRACOTTA: BlockState = _

The default block state for lime_glazed_terracotta.

pub const PINK_GLAZED_TERRACOTTA: BlockState = _

The default block state for pink_glazed_terracotta.

pub const GRAY_GLAZED_TERRACOTTA: BlockState = _

The default block state for gray_glazed_terracotta.

pub const LIGHT_GRAY_GLAZED_TERRACOTTA: BlockState = _

The default block state for light_gray_glazed_terracotta.

pub const CYAN_GLAZED_TERRACOTTA: BlockState = _

The default block state for cyan_glazed_terracotta.

pub const PURPLE_GLAZED_TERRACOTTA: BlockState = _

The default block state for purple_glazed_terracotta.

pub const BLUE_GLAZED_TERRACOTTA: BlockState = _

The default block state for blue_glazed_terracotta.

pub const BROWN_GLAZED_TERRACOTTA: BlockState = _

The default block state for brown_glazed_terracotta.

pub const GREEN_GLAZED_TERRACOTTA: BlockState = _

The default block state for green_glazed_terracotta.

pub const RED_GLAZED_TERRACOTTA: BlockState = _

The default block state for red_glazed_terracotta.

pub const BLACK_GLAZED_TERRACOTTA: BlockState = _

The default block state for black_glazed_terracotta.

pub const WHITE_CONCRETE: BlockState = _

The default block state for white_concrete.

pub const ORANGE_CONCRETE: BlockState = _

The default block state for orange_concrete.

pub const MAGENTA_CONCRETE: BlockState = _

The default block state for magenta_concrete.

pub const LIGHT_BLUE_CONCRETE: BlockState = _

The default block state for light_blue_concrete.

pub const YELLOW_CONCRETE: BlockState = _

The default block state for yellow_concrete.

pub const LIME_CONCRETE: BlockState = _

The default block state for lime_concrete.

pub const PINK_CONCRETE: BlockState = _

The default block state for pink_concrete.

pub const GRAY_CONCRETE: BlockState = _

The default block state for gray_concrete.

pub const LIGHT_GRAY_CONCRETE: BlockState = _

The default block state for light_gray_concrete.

pub const CYAN_CONCRETE: BlockState = _

The default block state for cyan_concrete.

pub const PURPLE_CONCRETE: BlockState = _

The default block state for purple_concrete.

pub const BLUE_CONCRETE: BlockState = _

The default block state for blue_concrete.

pub const BROWN_CONCRETE: BlockState = _

The default block state for brown_concrete.

pub const GREEN_CONCRETE: BlockState = _

The default block state for green_concrete.

pub const RED_CONCRETE: BlockState = _

The default block state for red_concrete.

pub const BLACK_CONCRETE: BlockState = _

The default block state for black_concrete.

pub const WHITE_CONCRETE_POWDER: BlockState = _

The default block state for white_concrete_powder.

pub const ORANGE_CONCRETE_POWDER: BlockState = _

The default block state for orange_concrete_powder.

pub const MAGENTA_CONCRETE_POWDER: BlockState = _

The default block state for magenta_concrete_powder.

pub const LIGHT_BLUE_CONCRETE_POWDER: BlockState = _

The default block state for light_blue_concrete_powder.

pub const YELLOW_CONCRETE_POWDER: BlockState = _

The default block state for yellow_concrete_powder.

pub const LIME_CONCRETE_POWDER: BlockState = _

The default block state for lime_concrete_powder.

pub const PINK_CONCRETE_POWDER: BlockState = _

The default block state for pink_concrete_powder.

pub const GRAY_CONCRETE_POWDER: BlockState = _

The default block state for gray_concrete_powder.

pub const LIGHT_GRAY_CONCRETE_POWDER: BlockState = _

The default block state for light_gray_concrete_powder.

pub const CYAN_CONCRETE_POWDER: BlockState = _

The default block state for cyan_concrete_powder.

pub const PURPLE_CONCRETE_POWDER: BlockState = _

The default block state for purple_concrete_powder.

pub const BLUE_CONCRETE_POWDER: BlockState = _

The default block state for blue_concrete_powder.

pub const BROWN_CONCRETE_POWDER: BlockState = _

The default block state for brown_concrete_powder.

pub const GREEN_CONCRETE_POWDER: BlockState = _

The default block state for green_concrete_powder.

pub const RED_CONCRETE_POWDER: BlockState = _

The default block state for red_concrete_powder.

pub const BLACK_CONCRETE_POWDER: BlockState = _

The default block state for black_concrete_powder.

pub const KELP: BlockState = _

The default block state for kelp.

pub const KELP_PLANT: BlockState = _

The default block state for kelp_plant.

pub const DRIED_KELP_BLOCK: BlockState = _

The default block state for dried_kelp_block.

pub const TURTLE_EGG: BlockState = _

The default block state for turtle_egg.

pub const SNIFFER_EGG: BlockState = _

The default block state for sniffer_egg.

pub const DEAD_TUBE_CORAL_BLOCK: BlockState = _

The default block state for dead_tube_coral_block.

pub const DEAD_BRAIN_CORAL_BLOCK: BlockState = _

The default block state for dead_brain_coral_block.

pub const DEAD_BUBBLE_CORAL_BLOCK: BlockState = _

The default block state for dead_bubble_coral_block.

pub const DEAD_FIRE_CORAL_BLOCK: BlockState = _

The default block state for dead_fire_coral_block.

pub const DEAD_HORN_CORAL_BLOCK: BlockState = _

The default block state for dead_horn_coral_block.

pub const TUBE_CORAL_BLOCK: BlockState = _

The default block state for tube_coral_block.

pub const BRAIN_CORAL_BLOCK: BlockState = _

The default block state for brain_coral_block.

pub const BUBBLE_CORAL_BLOCK: BlockState = _

The default block state for bubble_coral_block.

pub const FIRE_CORAL_BLOCK: BlockState = _

The default block state for fire_coral_block.

pub const HORN_CORAL_BLOCK: BlockState = _

The default block state for horn_coral_block.

pub const DEAD_TUBE_CORAL: BlockState = _

The default block state for dead_tube_coral.

pub const DEAD_BRAIN_CORAL: BlockState = _

The default block state for dead_brain_coral.

pub const DEAD_BUBBLE_CORAL: BlockState = _

The default block state for dead_bubble_coral.

pub const DEAD_FIRE_CORAL: BlockState = _

The default block state for dead_fire_coral.

pub const DEAD_HORN_CORAL: BlockState = _

The default block state for dead_horn_coral.

pub const TUBE_CORAL: BlockState = _

The default block state for tube_coral.

pub const BRAIN_CORAL: BlockState = _

The default block state for brain_coral.

pub const BUBBLE_CORAL: BlockState = _

The default block state for bubble_coral.

pub const FIRE_CORAL: BlockState = _

The default block state for fire_coral.

pub const HORN_CORAL: BlockState = _

The default block state for horn_coral.

pub const DEAD_TUBE_CORAL_FAN: BlockState = _

The default block state for dead_tube_coral_fan.

pub const DEAD_BRAIN_CORAL_FAN: BlockState = _

The default block state for dead_brain_coral_fan.

pub const DEAD_BUBBLE_CORAL_FAN: BlockState = _

The default block state for dead_bubble_coral_fan.

pub const DEAD_FIRE_CORAL_FAN: BlockState = _

The default block state for dead_fire_coral_fan.

pub const DEAD_HORN_CORAL_FAN: BlockState = _

The default block state for dead_horn_coral_fan.

pub const TUBE_CORAL_FAN: BlockState = _

The default block state for tube_coral_fan.

pub const BRAIN_CORAL_FAN: BlockState = _

The default block state for brain_coral_fan.

pub const BUBBLE_CORAL_FAN: BlockState = _

The default block state for bubble_coral_fan.

pub const FIRE_CORAL_FAN: BlockState = _

The default block state for fire_coral_fan.

pub const HORN_CORAL_FAN: BlockState = _

The default block state for horn_coral_fan.

pub const DEAD_TUBE_CORAL_WALL_FAN: BlockState = _

The default block state for dead_tube_coral_wall_fan.

pub const DEAD_BRAIN_CORAL_WALL_FAN: BlockState = _

The default block state for dead_brain_coral_wall_fan.

pub const DEAD_BUBBLE_CORAL_WALL_FAN: BlockState = _

The default block state for dead_bubble_coral_wall_fan.

pub const DEAD_FIRE_CORAL_WALL_FAN: BlockState = _

The default block state for dead_fire_coral_wall_fan.

pub const DEAD_HORN_CORAL_WALL_FAN: BlockState = _

The default block state for dead_horn_coral_wall_fan.

pub const TUBE_CORAL_WALL_FAN: BlockState = _

The default block state for tube_coral_wall_fan.

pub const BRAIN_CORAL_WALL_FAN: BlockState = _

The default block state for brain_coral_wall_fan.

pub const BUBBLE_CORAL_WALL_FAN: BlockState = _

The default block state for bubble_coral_wall_fan.

pub const FIRE_CORAL_WALL_FAN: BlockState = _

The default block state for fire_coral_wall_fan.

pub const HORN_CORAL_WALL_FAN: BlockState = _

The default block state for horn_coral_wall_fan.

pub const SEA_PICKLE: BlockState = _

The default block state for sea_pickle.

pub const BLUE_ICE: BlockState = _

The default block state for blue_ice.

pub const CONDUIT: BlockState = _

The default block state for conduit.

pub const BAMBOO_SAPLING: BlockState = _

The default block state for bamboo_sapling.

pub const BAMBOO: BlockState = _

The default block state for bamboo.

pub const POTTED_BAMBOO: BlockState = _

The default block state for potted_bamboo.

pub const VOID_AIR: BlockState = _

The default block state for void_air.

pub const CAVE_AIR: BlockState = _

The default block state for cave_air.

pub const BUBBLE_COLUMN: BlockState = _

The default block state for bubble_column.

pub const POLISHED_GRANITE_STAIRS: BlockState = _

The default block state for polished_granite_stairs.

pub const SMOOTH_RED_SANDSTONE_STAIRS: BlockState = _

The default block state for smooth_red_sandstone_stairs.

pub const MOSSY_STONE_BRICK_STAIRS: BlockState = _

The default block state for mossy_stone_brick_stairs.

pub const POLISHED_DIORITE_STAIRS: BlockState = _

The default block state for polished_diorite_stairs.

pub const MOSSY_COBBLESTONE_STAIRS: BlockState = _

The default block state for mossy_cobblestone_stairs.

pub const END_STONE_BRICK_STAIRS: BlockState = _

The default block state for end_stone_brick_stairs.

pub const STONE_STAIRS: BlockState = _

The default block state for stone_stairs.

pub const SMOOTH_SANDSTONE_STAIRS: BlockState = _

The default block state for smooth_sandstone_stairs.

pub const SMOOTH_QUARTZ_STAIRS: BlockState = _

The default block state for smooth_quartz_stairs.

pub const GRANITE_STAIRS: BlockState = _

The default block state for granite_stairs.

pub const ANDESITE_STAIRS: BlockState = _

The default block state for andesite_stairs.

pub const RED_NETHER_BRICK_STAIRS: BlockState = _

The default block state for red_nether_brick_stairs.

pub const POLISHED_ANDESITE_STAIRS: BlockState = _

The default block state for polished_andesite_stairs.

pub const DIORITE_STAIRS: BlockState = _

The default block state for diorite_stairs.

pub const POLISHED_GRANITE_SLAB: BlockState = _

The default block state for polished_granite_slab.

pub const SMOOTH_RED_SANDSTONE_SLAB: BlockState = _

The default block state for smooth_red_sandstone_slab.

pub const MOSSY_STONE_BRICK_SLAB: BlockState = _

The default block state for mossy_stone_brick_slab.

pub const POLISHED_DIORITE_SLAB: BlockState = _

The default block state for polished_diorite_slab.

pub const MOSSY_COBBLESTONE_SLAB: BlockState = _

The default block state for mossy_cobblestone_slab.

pub const END_STONE_BRICK_SLAB: BlockState = _

The default block state for end_stone_brick_slab.

pub const SMOOTH_SANDSTONE_SLAB: BlockState = _

The default block state for smooth_sandstone_slab.

pub const SMOOTH_QUARTZ_SLAB: BlockState = _

The default block state for smooth_quartz_slab.

pub const GRANITE_SLAB: BlockState = _

The default block state for granite_slab.

pub const ANDESITE_SLAB: BlockState = _

The default block state for andesite_slab.

pub const RED_NETHER_BRICK_SLAB: BlockState = _

The default block state for red_nether_brick_slab.

pub const POLISHED_ANDESITE_SLAB: BlockState = _

The default block state for polished_andesite_slab.

pub const DIORITE_SLAB: BlockState = _

The default block state for diorite_slab.

pub const BRICK_WALL: BlockState = _

The default block state for brick_wall.

pub const PRISMARINE_WALL: BlockState = _

The default block state for prismarine_wall.

pub const RED_SANDSTONE_WALL: BlockState = _

The default block state for red_sandstone_wall.

pub const MOSSY_STONE_BRICK_WALL: BlockState = _

The default block state for mossy_stone_brick_wall.

pub const GRANITE_WALL: BlockState = _

The default block state for granite_wall.

pub const STONE_BRICK_WALL: BlockState = _

The default block state for stone_brick_wall.

pub const MUD_BRICK_WALL: BlockState = _

The default block state for mud_brick_wall.

pub const NETHER_BRICK_WALL: BlockState = _

The default block state for nether_brick_wall.

pub const ANDESITE_WALL: BlockState = _

The default block state for andesite_wall.

pub const RED_NETHER_BRICK_WALL: BlockState = _

The default block state for red_nether_brick_wall.

pub const SANDSTONE_WALL: BlockState = _

The default block state for sandstone_wall.

pub const END_STONE_BRICK_WALL: BlockState = _

The default block state for end_stone_brick_wall.

pub const DIORITE_WALL: BlockState = _

The default block state for diorite_wall.

pub const SCAFFOLDING: BlockState = _

The default block state for scaffolding.

pub const LOOM: BlockState = _

The default block state for loom.

pub const BARREL: BlockState = _

The default block state for barrel.

pub const SMOKER: BlockState = _

The default block state for smoker.

pub const BLAST_FURNACE: BlockState = _

The default block state for blast_furnace.

pub const CARTOGRAPHY_TABLE: BlockState = _

The default block state for cartography_table.

pub const FLETCHING_TABLE: BlockState = _

The default block state for fletching_table.

pub const GRINDSTONE: BlockState = _

The default block state for grindstone.

pub const LECTERN: BlockState = _

The default block state for lectern.

pub const SMITHING_TABLE: BlockState = _

The default block state for smithing_table.

pub const STONECUTTER: BlockState = _

The default block state for stonecutter.

pub const BELL: BlockState = _

The default block state for bell.

pub const LANTERN: BlockState = _

The default block state for lantern.

pub const SOUL_LANTERN: BlockState = _

The default block state for soul_lantern.

pub const CAMPFIRE: BlockState = _

The default block state for campfire.

pub const SOUL_CAMPFIRE: BlockState = _

The default block state for soul_campfire.

pub const SWEET_BERRY_BUSH: BlockState = _

The default block state for sweet_berry_bush.

pub const WARPED_STEM: BlockState = _

The default block state for warped_stem.

pub const STRIPPED_WARPED_STEM: BlockState = _

The default block state for stripped_warped_stem.

pub const WARPED_HYPHAE: BlockState = _

The default block state for warped_hyphae.

pub const STRIPPED_WARPED_HYPHAE: BlockState = _

The default block state for stripped_warped_hyphae.

pub const WARPED_NYLIUM: BlockState = _

The default block state for warped_nylium.

pub const WARPED_FUNGUS: BlockState = _

The default block state for warped_fungus.

pub const WARPED_WART_BLOCK: BlockState = _

The default block state for warped_wart_block.

pub const WARPED_ROOTS: BlockState = _

The default block state for warped_roots.

pub const NETHER_SPROUTS: BlockState = _

The default block state for nether_sprouts.

pub const CRIMSON_STEM: BlockState = _

The default block state for crimson_stem.

pub const STRIPPED_CRIMSON_STEM: BlockState = _

The default block state for stripped_crimson_stem.

pub const CRIMSON_HYPHAE: BlockState = _

The default block state for crimson_hyphae.

pub const STRIPPED_CRIMSON_HYPHAE: BlockState = _

The default block state for stripped_crimson_hyphae.

pub const CRIMSON_NYLIUM: BlockState = _

The default block state for crimson_nylium.

pub const CRIMSON_FUNGUS: BlockState = _

The default block state for crimson_fungus.

pub const SHROOMLIGHT: BlockState = _

The default block state for shroomlight.

pub const WEEPING_VINES: BlockState = _

The default block state for weeping_vines.

pub const WEEPING_VINES_PLANT: BlockState = _

The default block state for weeping_vines_plant.

pub const TWISTING_VINES: BlockState = _

The default block state for twisting_vines.

pub const TWISTING_VINES_PLANT: BlockState = _

The default block state for twisting_vines_plant.

pub const CRIMSON_ROOTS: BlockState = _

The default block state for crimson_roots.

pub const CRIMSON_PLANKS: BlockState = _

The default block state for crimson_planks.

pub const WARPED_PLANKS: BlockState = _

The default block state for warped_planks.

pub const CRIMSON_SLAB: BlockState = _

The default block state for crimson_slab.

pub const WARPED_SLAB: BlockState = _

The default block state for warped_slab.

pub const CRIMSON_PRESSURE_PLATE: BlockState = _

The default block state for crimson_pressure_plate.

pub const WARPED_PRESSURE_PLATE: BlockState = _

The default block state for warped_pressure_plate.

pub const CRIMSON_FENCE: BlockState = _

The default block state for crimson_fence.

pub const WARPED_FENCE: BlockState = _

The default block state for warped_fence.

pub const CRIMSON_TRAPDOOR: BlockState = _

The default block state for crimson_trapdoor.

pub const WARPED_TRAPDOOR: BlockState = _

The default block state for warped_trapdoor.

pub const CRIMSON_FENCE_GATE: BlockState = _

The default block state for crimson_fence_gate.

pub const WARPED_FENCE_GATE: BlockState = _

The default block state for warped_fence_gate.

pub const CRIMSON_STAIRS: BlockState = _

The default block state for crimson_stairs.

pub const WARPED_STAIRS: BlockState = _

The default block state for warped_stairs.

pub const CRIMSON_BUTTON: BlockState = _

The default block state for crimson_button.

pub const WARPED_BUTTON: BlockState = _

The default block state for warped_button.

pub const CRIMSON_DOOR: BlockState = _

The default block state for crimson_door.

pub const WARPED_DOOR: BlockState = _

The default block state for warped_door.

pub const CRIMSON_SIGN: BlockState = _

The default block state for crimson_sign.

pub const WARPED_SIGN: BlockState = _

The default block state for warped_sign.

pub const CRIMSON_WALL_SIGN: BlockState = _

The default block state for crimson_wall_sign.

pub const WARPED_WALL_SIGN: BlockState = _

The default block state for warped_wall_sign.

pub const STRUCTURE_BLOCK: BlockState = _

The default block state for structure_block.

pub const JIGSAW: BlockState = _

The default block state for jigsaw.

pub const COMPOSTER: BlockState = _

The default block state for composter.

pub const TARGET: BlockState = _

The default block state for target.

pub const BEE_NEST: BlockState = _

The default block state for bee_nest.

pub const BEEHIVE: BlockState = _

The default block state for beehive.

pub const HONEY_BLOCK: BlockState = _

The default block state for honey_block.

pub const HONEYCOMB_BLOCK: BlockState = _

The default block state for honeycomb_block.

pub const NETHERITE_BLOCK: BlockState = _

The default block state for netherite_block.

pub const ANCIENT_DEBRIS: BlockState = _

The default block state for ancient_debris.

pub const CRYING_OBSIDIAN: BlockState = _

The default block state for crying_obsidian.

pub const RESPAWN_ANCHOR: BlockState = _

The default block state for respawn_anchor.

pub const POTTED_CRIMSON_FUNGUS: BlockState = _

The default block state for potted_crimson_fungus.

pub const POTTED_WARPED_FUNGUS: BlockState = _

The default block state for potted_warped_fungus.

pub const POTTED_CRIMSON_ROOTS: BlockState = _

The default block state for potted_crimson_roots.

pub const POTTED_WARPED_ROOTS: BlockState = _

The default block state for potted_warped_roots.

pub const LODESTONE: BlockState = _

The default block state for lodestone.

pub const BLACKSTONE: BlockState = _

The default block state for blackstone.

pub const BLACKSTONE_STAIRS: BlockState = _

The default block state for blackstone_stairs.

pub const BLACKSTONE_WALL: BlockState = _

The default block state for blackstone_wall.

pub const BLACKSTONE_SLAB: BlockState = _

The default block state for blackstone_slab.

pub const POLISHED_BLACKSTONE: BlockState = _

The default block state for polished_blackstone.

pub const POLISHED_BLACKSTONE_BRICKS: BlockState = _

The default block state for polished_blackstone_bricks.

pub const CRACKED_POLISHED_BLACKSTONE_BRICKS: BlockState = _

The default block state for cracked_polished_blackstone_bricks.

pub const CHISELED_POLISHED_BLACKSTONE: BlockState = _

The default block state for chiseled_polished_blackstone.

pub const POLISHED_BLACKSTONE_BRICK_SLAB: BlockState = _

The default block state for polished_blackstone_brick_slab.

pub const POLISHED_BLACKSTONE_BRICK_STAIRS: BlockState = _

The default block state for polished_blackstone_brick_stairs.

pub const POLISHED_BLACKSTONE_BRICK_WALL: BlockState = _

The default block state for polished_blackstone_brick_wall.

pub const GILDED_BLACKSTONE: BlockState = _

The default block state for gilded_blackstone.

pub const POLISHED_BLACKSTONE_STAIRS: BlockState = _

The default block state for polished_blackstone_stairs.

pub const POLISHED_BLACKSTONE_SLAB: BlockState = _

The default block state for polished_blackstone_slab.

pub const POLISHED_BLACKSTONE_PRESSURE_PLATE: BlockState = _

The default block state for polished_blackstone_pressure_plate.

pub const POLISHED_BLACKSTONE_BUTTON: BlockState = _

The default block state for polished_blackstone_button.

pub const POLISHED_BLACKSTONE_WALL: BlockState = _

The default block state for polished_blackstone_wall.

pub const CHISELED_NETHER_BRICKS: BlockState = _

The default block state for chiseled_nether_bricks.

pub const CRACKED_NETHER_BRICKS: BlockState = _

The default block state for cracked_nether_bricks.

pub const QUARTZ_BRICKS: BlockState = _

The default block state for quartz_bricks.

pub const CANDLE: BlockState = _

The default block state for candle.

pub const WHITE_CANDLE: BlockState = _

The default block state for white_candle.

pub const ORANGE_CANDLE: BlockState = _

The default block state for orange_candle.

pub const MAGENTA_CANDLE: BlockState = _

The default block state for magenta_candle.

pub const LIGHT_BLUE_CANDLE: BlockState = _

The default block state for light_blue_candle.

pub const YELLOW_CANDLE: BlockState = _

The default block state for yellow_candle.

pub const LIME_CANDLE: BlockState = _

The default block state for lime_candle.

pub const PINK_CANDLE: BlockState = _

The default block state for pink_candle.

pub const GRAY_CANDLE: BlockState = _

The default block state for gray_candle.

pub const LIGHT_GRAY_CANDLE: BlockState = _

The default block state for light_gray_candle.

pub const CYAN_CANDLE: BlockState = _

The default block state for cyan_candle.

pub const PURPLE_CANDLE: BlockState = _

The default block state for purple_candle.

pub const BLUE_CANDLE: BlockState = _

The default block state for blue_candle.

pub const BROWN_CANDLE: BlockState = _

The default block state for brown_candle.

pub const GREEN_CANDLE: BlockState = _

The default block state for green_candle.

pub const RED_CANDLE: BlockState = _

The default block state for red_candle.

pub const BLACK_CANDLE: BlockState = _

The default block state for black_candle.

pub const CANDLE_CAKE: BlockState = _

The default block state for candle_cake.

pub const WHITE_CANDLE_CAKE: BlockState = _

The default block state for white_candle_cake.

pub const ORANGE_CANDLE_CAKE: BlockState = _

The default block state for orange_candle_cake.

pub const MAGENTA_CANDLE_CAKE: BlockState = _

The default block state for magenta_candle_cake.

pub const LIGHT_BLUE_CANDLE_CAKE: BlockState = _

The default block state for light_blue_candle_cake.

pub const YELLOW_CANDLE_CAKE: BlockState = _

The default block state for yellow_candle_cake.

pub const LIME_CANDLE_CAKE: BlockState = _

The default block state for lime_candle_cake.

pub const PINK_CANDLE_CAKE: BlockState = _

The default block state for pink_candle_cake.

pub const GRAY_CANDLE_CAKE: BlockState = _

The default block state for gray_candle_cake.

pub const LIGHT_GRAY_CANDLE_CAKE: BlockState = _

The default block state for light_gray_candle_cake.

pub const CYAN_CANDLE_CAKE: BlockState = _

The default block state for cyan_candle_cake.

pub const PURPLE_CANDLE_CAKE: BlockState = _

The default block state for purple_candle_cake.

pub const BLUE_CANDLE_CAKE: BlockState = _

The default block state for blue_candle_cake.

pub const BROWN_CANDLE_CAKE: BlockState = _

The default block state for brown_candle_cake.

pub const GREEN_CANDLE_CAKE: BlockState = _

The default block state for green_candle_cake.

pub const RED_CANDLE_CAKE: BlockState = _

The default block state for red_candle_cake.

pub const BLACK_CANDLE_CAKE: BlockState = _

The default block state for black_candle_cake.

pub const AMETHYST_BLOCK: BlockState = _

The default block state for amethyst_block.

pub const BUDDING_AMETHYST: BlockState = _

The default block state for budding_amethyst.

pub const AMETHYST_CLUSTER: BlockState = _

The default block state for amethyst_cluster.

pub const LARGE_AMETHYST_BUD: BlockState = _

The default block state for large_amethyst_bud.

pub const MEDIUM_AMETHYST_BUD: BlockState = _

The default block state for medium_amethyst_bud.

pub const SMALL_AMETHYST_BUD: BlockState = _

The default block state for small_amethyst_bud.

pub const TUFF: BlockState = _

The default block state for tuff.

pub const CALCITE: BlockState = _

The default block state for calcite.

pub const TINTED_GLASS: BlockState = _

The default block state for tinted_glass.

pub const POWDER_SNOW: BlockState = _

The default block state for powder_snow.

pub const SCULK_SENSOR: BlockState = _

The default block state for sculk_sensor.

pub const CALIBRATED_SCULK_SENSOR: BlockState = _

The default block state for calibrated_sculk_sensor.

pub const SCULK: BlockState = _

The default block state for sculk.

pub const SCULK_VEIN: BlockState = _

The default block state for sculk_vein.

pub const SCULK_CATALYST: BlockState = _

The default block state for sculk_catalyst.

pub const SCULK_SHRIEKER: BlockState = _

The default block state for sculk_shrieker.

pub const OXIDIZED_COPPER: BlockState = _

The default block state for oxidized_copper.

pub const WEATHERED_COPPER: BlockState = _

The default block state for weathered_copper.

pub const EXPOSED_COPPER: BlockState = _

The default block state for exposed_copper.

pub const COPPER_BLOCK: BlockState = _

The default block state for copper_block.

pub const COPPER_ORE: BlockState = _

The default block state for copper_ore.

pub const DEEPSLATE_COPPER_ORE: BlockState = _

The default block state for deepslate_copper_ore.

pub const OXIDIZED_CUT_COPPER: BlockState = _

The default block state for oxidized_cut_copper.

pub const WEATHERED_CUT_COPPER: BlockState = _

The default block state for weathered_cut_copper.

pub const EXPOSED_CUT_COPPER: BlockState = _

The default block state for exposed_cut_copper.

pub const CUT_COPPER: BlockState = _

The default block state for cut_copper.

pub const OXIDIZED_CUT_COPPER_STAIRS: BlockState = _

The default block state for oxidized_cut_copper_stairs.

pub const WEATHERED_CUT_COPPER_STAIRS: BlockState = _

The default block state for weathered_cut_copper_stairs.

pub const EXPOSED_CUT_COPPER_STAIRS: BlockState = _

The default block state for exposed_cut_copper_stairs.

pub const CUT_COPPER_STAIRS: BlockState = _

The default block state for cut_copper_stairs.

pub const OXIDIZED_CUT_COPPER_SLAB: BlockState = _

The default block state for oxidized_cut_copper_slab.

pub const WEATHERED_CUT_COPPER_SLAB: BlockState = _

The default block state for weathered_cut_copper_slab.

pub const EXPOSED_CUT_COPPER_SLAB: BlockState = _

The default block state for exposed_cut_copper_slab.

pub const CUT_COPPER_SLAB: BlockState = _

The default block state for cut_copper_slab.

pub const WAXED_COPPER_BLOCK: BlockState = _

The default block state for waxed_copper_block.

pub const WAXED_WEATHERED_COPPER: BlockState = _

The default block state for waxed_weathered_copper.

pub const WAXED_EXPOSED_COPPER: BlockState = _

The default block state for waxed_exposed_copper.

pub const WAXED_OXIDIZED_COPPER: BlockState = _

The default block state for waxed_oxidized_copper.

pub const WAXED_OXIDIZED_CUT_COPPER: BlockState = _

The default block state for waxed_oxidized_cut_copper.

pub const WAXED_WEATHERED_CUT_COPPER: BlockState = _

The default block state for waxed_weathered_cut_copper.

pub const WAXED_EXPOSED_CUT_COPPER: BlockState = _

The default block state for waxed_exposed_cut_copper.

pub const WAXED_CUT_COPPER: BlockState = _

The default block state for waxed_cut_copper.

pub const WAXED_OXIDIZED_CUT_COPPER_STAIRS: BlockState = _

The default block state for waxed_oxidized_cut_copper_stairs.

pub const WAXED_WEATHERED_CUT_COPPER_STAIRS: BlockState = _

The default block state for waxed_weathered_cut_copper_stairs.

pub const WAXED_EXPOSED_CUT_COPPER_STAIRS: BlockState = _

The default block state for waxed_exposed_cut_copper_stairs.

pub const WAXED_CUT_COPPER_STAIRS: BlockState = _

The default block state for waxed_cut_copper_stairs.

pub const WAXED_OXIDIZED_CUT_COPPER_SLAB: BlockState = _

The default block state for waxed_oxidized_cut_copper_slab.

pub const WAXED_WEATHERED_CUT_COPPER_SLAB: BlockState = _

The default block state for waxed_weathered_cut_copper_slab.

pub const WAXED_EXPOSED_CUT_COPPER_SLAB: BlockState = _

The default block state for waxed_exposed_cut_copper_slab.

pub const WAXED_CUT_COPPER_SLAB: BlockState = _

The default block state for waxed_cut_copper_slab.

pub const LIGHTNING_ROD: BlockState = _

The default block state for lightning_rod.

pub const POINTED_DRIPSTONE: BlockState = _

The default block state for pointed_dripstone.

pub const DRIPSTONE_BLOCK: BlockState = _

The default block state for dripstone_block.

pub const CAVE_VINES: BlockState = _

The default block state for cave_vines.

pub const CAVE_VINES_PLANT: BlockState = _

The default block state for cave_vines_plant.

pub const SPORE_BLOSSOM: BlockState = _

The default block state for spore_blossom.

pub const AZALEA: BlockState = _

The default block state for azalea.

pub const FLOWERING_AZALEA: BlockState = _

The default block state for flowering_azalea.

pub const MOSS_CARPET: BlockState = _

The default block state for moss_carpet.

pub const PINK_PETALS: BlockState = _

The default block state for pink_petals.

pub const MOSS_BLOCK: BlockState = _

The default block state for moss_block.

pub const BIG_DRIPLEAF: BlockState = _

The default block state for big_dripleaf.

pub const BIG_DRIPLEAF_STEM: BlockState = _

The default block state for big_dripleaf_stem.

pub const SMALL_DRIPLEAF: BlockState = _

The default block state for small_dripleaf.

pub const HANGING_ROOTS: BlockState = _

The default block state for hanging_roots.

pub const ROOTED_DIRT: BlockState = _

The default block state for rooted_dirt.

pub const MUD: BlockState = _

The default block state for mud.

pub const DEEPSLATE: BlockState = _

The default block state for deepslate.

pub const COBBLED_DEEPSLATE: BlockState = _

The default block state for cobbled_deepslate.

pub const COBBLED_DEEPSLATE_STAIRS: BlockState = _

The default block state for cobbled_deepslate_stairs.

pub const COBBLED_DEEPSLATE_SLAB: BlockState = _

The default block state for cobbled_deepslate_slab.

pub const COBBLED_DEEPSLATE_WALL: BlockState = _

The default block state for cobbled_deepslate_wall.

pub const POLISHED_DEEPSLATE: BlockState = _

The default block state for polished_deepslate.

pub const POLISHED_DEEPSLATE_STAIRS: BlockState = _

The default block state for polished_deepslate_stairs.

pub const POLISHED_DEEPSLATE_SLAB: BlockState = _

The default block state for polished_deepslate_slab.

pub const POLISHED_DEEPSLATE_WALL: BlockState = _

The default block state for polished_deepslate_wall.

pub const DEEPSLATE_TILES: BlockState = _

The default block state for deepslate_tiles.

pub const DEEPSLATE_TILE_STAIRS: BlockState = _

The default block state for deepslate_tile_stairs.

pub const DEEPSLATE_TILE_SLAB: BlockState = _

The default block state for deepslate_tile_slab.

pub const DEEPSLATE_TILE_WALL: BlockState = _

The default block state for deepslate_tile_wall.

pub const DEEPSLATE_BRICKS: BlockState = _

The default block state for deepslate_bricks.

pub const DEEPSLATE_BRICK_STAIRS: BlockState = _

The default block state for deepslate_brick_stairs.

pub const DEEPSLATE_BRICK_SLAB: BlockState = _

The default block state for deepslate_brick_slab.

pub const DEEPSLATE_BRICK_WALL: BlockState = _

The default block state for deepslate_brick_wall.

pub const CHISELED_DEEPSLATE: BlockState = _

The default block state for chiseled_deepslate.

pub const CRACKED_DEEPSLATE_BRICKS: BlockState = _

The default block state for cracked_deepslate_bricks.

pub const CRACKED_DEEPSLATE_TILES: BlockState = _

The default block state for cracked_deepslate_tiles.

pub const INFESTED_DEEPSLATE: BlockState = _

The default block state for infested_deepslate.

pub const SMOOTH_BASALT: BlockState = _

The default block state for smooth_basalt.

pub const RAW_IRON_BLOCK: BlockState = _

The default block state for raw_iron_block.

pub const RAW_COPPER_BLOCK: BlockState = _

The default block state for raw_copper_block.

pub const RAW_GOLD_BLOCK: BlockState = _

The default block state for raw_gold_block.

pub const POTTED_AZALEA_BUSH: BlockState = _

The default block state for potted_azalea_bush.

pub const POTTED_FLOWERING_AZALEA_BUSH: BlockState = _

The default block state for potted_flowering_azalea_bush.

pub const OCHRE_FROGLIGHT: BlockState = _

The default block state for ochre_froglight.

pub const VERDANT_FROGLIGHT: BlockState = _

The default block state for verdant_froglight.

pub const PEARLESCENT_FROGLIGHT: BlockState = _

The default block state for pearlescent_froglight.

pub const FROGSPAWN: BlockState = _

The default block state for frogspawn.

pub const REINFORCED_DEEPSLATE: BlockState = _

The default block state for reinforced_deepslate.

pub const DECORATED_POT: BlockState = _

The default block state for decorated_pot.

Trait Implementationsยง

ยง

impl Clone for BlockState

ยง

fn clone(&self) -> BlockState

Returns a copy of the value. Read more
1.0.0 ยท sourceยง

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
ยง

impl Debug for BlockState

ยง

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
ยง

impl Decode<'_> for BlockState

ยง

fn decode(r: &mut &[u8]) -> Result<BlockState, Error>

Reads this object from the provided byte slice. Read more
ยง

impl Default for BlockState

ยง

fn default() -> BlockState

Returns the โ€œdefault valueโ€ for a type. Read more
ยง

impl Display for BlockState

ยง

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
ยง

impl Encode for BlockState

ยง

fn encode(&self, w: impl Write) -> Result<(), Error>

Writes this object to the provided writer. Read more
ยง

fn encode_slice(slice: &[Self], w: impl Write) -> Result<(), Error>
where Self: Sized,

Like Encode::encode, except that a whole slice of values is encoded. Read more
ยง

impl Hash for BlockState

ยง

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 ยท sourceยง

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
sourceยง

impl IntoBlock for BlockState

This will initialize the block with a new empty compound if the block state is associated with a block entity.

ยง

impl Ord for BlockState

ยง

fn cmp(&self, other: &BlockState) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 ยท sourceยง

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 ยท sourceยง

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 ยท sourceยง

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
ยง

impl PartialEq for BlockState

ยง

fn eq(&self, other: &BlockState) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl PartialOrd for BlockState

ยง

fn partial_cmp(&self, other: &BlockState) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 ยท sourceยง

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 ยท sourceยง

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 ยท sourceยง

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 ยท sourceยง

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
ยง

impl Copy for BlockState

ยง

impl Eq for BlockState

ยง

impl StructuralPartialEq for BlockState

Auto Trait Implementationsยง

Blanket Implementationsยง

sourceยง

impl<T> Any for T
where T: 'static + ?Sized,

sourceยง

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
sourceยง

impl<T> Borrow<T> for T
where T: ?Sized,

sourceยง

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
sourceยง

impl<T> BorrowMut<T> for T
where T: ?Sized,

sourceยง

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
sourceยง

impl<T> CloneToUninit for T
where T: Clone,

sourceยง

unsafe fn clone_to_uninit(&self, dst: *mut T)

๐Ÿ”ฌThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
ยง

impl<Q, K> Comparable<K> for Q
where Q: Ord + ?Sized, K: Borrow<Q> + ?Sized,

ยง

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
ยง

impl<T> Conv for T

ยง

fn conv<T>(self) -> T
where Self: Into<T>,

Converts self into T using Into<T>. Read more
ยง

impl<T> Downcast for T
where T: Any,

ยง

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
ยง

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
ยง

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Anyโ€™s vtable from &Traitโ€™s.
ยง

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Anyโ€™s vtable from &mut Traitโ€™s.
ยง

impl<T> DowncastSync for T
where T: Any + Send + Sync,

ยง

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
ยง

impl<T> DynEq for T
where T: Any + Eq,

ยง

fn as_any(&self) -> &(dyn Any + 'static)

Casts the type to dyn Any.
ยง

fn dyn_eq(&self, other: &(dyn DynEq + 'static)) -> bool

This method tests for self and other values to be equal. Read more
ยง

impl<T> DynHash for T
where T: DynEq + Hash,

ยง

fn as_dyn_eq(&self) -> &(dyn DynEq + 'static)

Casts the type to dyn Any.
ยง

fn dyn_hash(&self, state: &mut dyn Hasher)

Feeds this value into the given Hasher.
ยง

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

ยง

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
ยง

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

ยง

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
ยง

impl<T> FmtForward for T

ยง

fn fmt_binary(self) -> FmtBinary<Self>
where Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
ยง

fn fmt_display(self) -> FmtDisplay<Self>
where Self: Display,

Causes self to use its Display implementation when Debug-formatted.
ยง

fn fmt_lower_exp(self) -> FmtLowerExp<Self>
where Self: LowerExp,

Causes self to use its LowerExp implementation when Debug-formatted.
ยง

fn fmt_lower_hex(self) -> FmtLowerHex<Self>
where Self: LowerHex,

Causes self to use its LowerHex implementation when Debug-formatted.
ยง

fn fmt_octal(self) -> FmtOctal<Self>
where Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
ยง

fn fmt_pointer(self) -> FmtPointer<Self>
where Self: Pointer,

Causes self to use its Pointer implementation when Debug-formatted.
ยง

fn fmt_upper_exp(self) -> FmtUpperExp<Self>
where Self: UpperExp,

Causes self to use its UpperExp implementation when Debug-formatted.
ยง

fn fmt_upper_hex(self) -> FmtUpperHex<Self>
where Self: UpperHex,

Causes self to use its UpperHex implementation when Debug-formatted.
ยง

fn fmt_list(self) -> FmtList<Self>
where &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
sourceยง

impl<T> From<T> for T

sourceยง

fn from(t: T) -> T

Returns the argument unchanged.

ยง

impl<T> FromWorld for T
where T: Default,

ยง

fn from_world(_world: &mut World) -> T

Creates Self using data from the given World.
ยง

impl<T> Instrument for T

ยง

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
ยง

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
sourceยง

impl<T, U> Into<U> for T
where U: From<T>,

sourceยง

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

ยง

impl<T> Pipe for T
where T: ?Sized,

ยง

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
ยง

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> R
where R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
ยง

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R
where R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
ยง

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
where Self: Borrow<B>, B: 'a + ?Sized, R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
ยง

fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
where Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
ยง

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where Self: AsRef<U>, U: 'a + ?Sized, R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
ยง

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
where Self: AsMut<U>, U: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe function.
ยง

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where Self: Deref<Target = T>, T: 'a + ?Sized, R: 'a,

Borrows self, then passes self.deref() into the pipe function.
ยง

fn pipe_deref_mut<'a, T, R>( &'a mut self, func: impl FnOnce(&'a mut T) -> R, ) -> R
where Self: DerefMut<Target = T> + Deref, T: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe function.
sourceยง

impl<T> Same for T

sourceยง

type Output = T

Should always be Self
ยง

impl<T> Tap for T

ยง

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
ยง

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
ยง

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
ยง

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
ยง

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
ยง

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
ยง

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
ยง

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
ยง

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
ยง

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release builds.
ยง

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release builds.
ยง

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds.
ยง

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release builds.
ยง

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release builds.
ยง

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release builds.
ยง

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release builds.
sourceยง

impl<T> ToOwned for T
where T: Clone,

sourceยง

type Owned = T

The resulting type after obtaining ownership.
sourceยง

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
sourceยง

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
ยง

impl<T> ToSmolStr for T
where T: Display + ?Sized,

ยง

fn to_smolstr(&self) -> SmolStr

sourceยง

impl<T> ToString for T
where T: Display + ?Sized,

sourceยง

default fn to_string(&self) -> String

Converts the given value to a String. Read more
ยง

impl<T> TryConv for T

ยง

fn try_conv<T>(self) -> Result<T, Self::Error>
where Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
sourceยง

impl<T, U> TryFrom<U> for T
where U: Into<T>,

sourceยง

type Error = Infallible

The type returned in the event of a conversion error.
sourceยง

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
sourceยง

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

sourceยง

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
sourceยง

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
ยง

impl<T> TypeData for T
where T: 'static + Send + Sync + Clone,

ยง

fn clone_type_data(&self) -> Box<dyn TypeData>

ยง

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

ยง

fn vzip(self) -> V

ยง

impl<T> WithSubscriber for T

ยง

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
ยง

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
ยง

impl<T> ConditionalSend for T
where T: Send,

sourceยง

impl<N> NodeTrait for N
where N: Copy + Ord + Hash,