Enum valence_protocol::block::BlockKind

source ·
pub enum BlockKind {
Show 1003 variants Air, Stone, Granite, PolishedGranite, Diorite, PolishedDiorite, Andesite, PolishedAndesite, GrassBlock, Dirt, CoarseDirt, Podzol, Cobblestone, OakPlanks, SprucePlanks, BirchPlanks, JunglePlanks, AcaciaPlanks, CherryPlanks, DarkOakPlanks, MangrovePlanks, BambooPlanks, BambooMosaic, OakSapling, SpruceSapling, BirchSapling, JungleSapling, AcaciaSapling, CherrySapling, DarkOakSapling, MangrovePropagule, Bedrock, Water, Lava, Sand, SuspiciousSand, RedSand, Gravel, SuspiciousGravel, GoldOre, DeepslateGoldOre, IronOre, DeepslateIronOre, CoalOre, DeepslateCoalOre, NetherGoldOre, OakLog, SpruceLog, BirchLog, JungleLog, AcaciaLog, CherryLog, DarkOakLog, MangroveLog, MangroveRoots, MuddyMangroveRoots, BambooBlock, StrippedSpruceLog, StrippedBirchLog, StrippedJungleLog, StrippedAcaciaLog, StrippedCherryLog, StrippedDarkOakLog, StrippedOakLog, StrippedMangroveLog, StrippedBambooBlock, OakWood, SpruceWood, BirchWood, JungleWood, AcaciaWood, CherryWood, DarkOakWood, MangroveWood, StrippedOakWood, StrippedSpruceWood, StrippedBirchWood, StrippedJungleWood, StrippedAcaciaWood, StrippedCherryWood, StrippedDarkOakWood, StrippedMangroveWood, OakLeaves, SpruceLeaves, BirchLeaves, JungleLeaves, AcaciaLeaves, CherryLeaves, DarkOakLeaves, MangroveLeaves, AzaleaLeaves, FloweringAzaleaLeaves, Sponge, WetSponge, Glass, LapisOre, DeepslateLapisOre, LapisBlock, Dispenser, Sandstone, ChiseledSandstone, CutSandstone, NoteBlock, WhiteBed, OrangeBed, MagentaBed, LightBlueBed, YellowBed, LimeBed, PinkBed, GrayBed, LightGrayBed, CyanBed, PurpleBed, BlueBed, BrownBed, GreenBed, RedBed, BlackBed, PoweredRail, DetectorRail, StickyPiston, Cobweb, Grass, Fern, DeadBush, Seagrass, TallSeagrass, Piston, PistonHead, WhiteWool, OrangeWool, MagentaWool, LightBlueWool, YellowWool, LimeWool, PinkWool, GrayWool, LightGrayWool, CyanWool, PurpleWool, BlueWool, BrownWool, GreenWool, RedWool, BlackWool, MovingPiston, Dandelion, Torchflower, Poppy, BlueOrchid, Allium, AzureBluet, RedTulip, OrangeTulip, WhiteTulip, PinkTulip, OxeyeDaisy, Cornflower, WitherRose, LilyOfTheValley, BrownMushroom, RedMushroom, GoldBlock, IronBlock, Bricks, Tnt, Bookshelf, ChiseledBookshelf, MossyCobblestone, Obsidian, Torch, WallTorch, Fire, SoulFire, Spawner, OakStairs, Chest, RedstoneWire, DiamondOre, DeepslateDiamondOre, DiamondBlock, CraftingTable, Wheat, Farmland, Furnace, OakSign, SpruceSign, BirchSign, AcaciaSign, CherrySign, JungleSign, DarkOakSign, MangroveSign, BambooSign, OakDoor, Ladder, Rail, CobblestoneStairs, OakWallSign, SpruceWallSign, BirchWallSign, AcaciaWallSign, CherryWallSign, JungleWallSign, DarkOakWallSign, MangroveWallSign, BambooWallSign, OakHangingSign, SpruceHangingSign, BirchHangingSign, AcaciaHangingSign, CherryHangingSign, JungleHangingSign, DarkOakHangingSign, CrimsonHangingSign, WarpedHangingSign, MangroveHangingSign, BambooHangingSign, OakWallHangingSign, SpruceWallHangingSign, BirchWallHangingSign, AcaciaWallHangingSign, CherryWallHangingSign, JungleWallHangingSign, DarkOakWallHangingSign, MangroveWallHangingSign, CrimsonWallHangingSign, WarpedWallHangingSign, BambooWallHangingSign, Lever, StonePressurePlate, IronDoor, OakPressurePlate, SprucePressurePlate, BirchPressurePlate, JunglePressurePlate, AcaciaPressurePlate, CherryPressurePlate, DarkOakPressurePlate, MangrovePressurePlate, BambooPressurePlate, RedstoneOre, DeepslateRedstoneOre, RedstoneTorch, RedstoneWallTorch, StoneButton, Snow, Ice, SnowBlock, Cactus, Clay, SugarCane, Jukebox, OakFence, Pumpkin, Netherrack, SoulSand, SoulSoil, Basalt, PolishedBasalt, SoulTorch, SoulWallTorch, Glowstone, NetherPortal, CarvedPumpkin, JackOLantern, Cake, Repeater, WhiteStainedGlass, OrangeStainedGlass, MagentaStainedGlass, LightBlueStainedGlass, YellowStainedGlass, LimeStainedGlass, PinkStainedGlass, GrayStainedGlass, LightGrayStainedGlass, CyanStainedGlass, PurpleStainedGlass, BlueStainedGlass, BrownStainedGlass, GreenStainedGlass, RedStainedGlass, BlackStainedGlass, OakTrapdoor, SpruceTrapdoor, BirchTrapdoor, JungleTrapdoor, AcaciaTrapdoor, CherryTrapdoor, DarkOakTrapdoor, MangroveTrapdoor, BambooTrapdoor, StoneBricks, MossyStoneBricks, CrackedStoneBricks, ChiseledStoneBricks, PackedMud, MudBricks, InfestedStone, InfestedCobblestone, InfestedStoneBricks, InfestedMossyStoneBricks, InfestedCrackedStoneBricks, InfestedChiseledStoneBricks, BrownMushroomBlock, RedMushroomBlock, MushroomStem, IronBars, Chain, GlassPane, Melon, AttachedPumpkinStem, AttachedMelonStem, PumpkinStem, MelonStem, Vine, GlowLichen, OakFenceGate, BrickStairs, StoneBrickStairs, MudBrickStairs, Mycelium, LilyPad, NetherBricks, NetherBrickFence, NetherBrickStairs, NetherWart, EnchantingTable, BrewingStand, Cauldron, WaterCauldron, LavaCauldron, PowderSnowCauldron, EndPortal, EndPortalFrame, EndStone, DragonEgg, RedstoneLamp, Cocoa, SandstoneStairs, EmeraldOre, DeepslateEmeraldOre, EnderChest, TripwireHook, Tripwire, EmeraldBlock, SpruceStairs, BirchStairs, JungleStairs, CommandBlock, Beacon, CobblestoneWall, MossyCobblestoneWall, FlowerPot, PottedTorchflower, PottedOakSapling, PottedSpruceSapling, PottedBirchSapling, PottedJungleSapling, PottedAcaciaSapling, PottedCherrySapling, PottedDarkOakSapling, PottedMangrovePropagule, PottedFern, PottedDandelion, PottedPoppy, PottedBlueOrchid, PottedAllium, PottedAzureBluet, PottedRedTulip, PottedOrangeTulip, PottedWhiteTulip, PottedPinkTulip, PottedOxeyeDaisy, PottedCornflower, PottedLilyOfTheValley, PottedWitherRose, PottedRedMushroom, PottedBrownMushroom, PottedDeadBush, PottedCactus, Carrots, Potatoes, OakButton, SpruceButton, BirchButton, JungleButton, AcaciaButton, CherryButton, DarkOakButton, MangroveButton, BambooButton, SkeletonSkull, SkeletonWallSkull, WitherSkeletonSkull, WitherSkeletonWallSkull, ZombieHead, ZombieWallHead, PlayerHead, PlayerWallHead, CreeperHead, CreeperWallHead, DragonHead, DragonWallHead, PiglinHead, PiglinWallHead, Anvil, ChippedAnvil, DamagedAnvil, TrappedChest, LightWeightedPressurePlate, HeavyWeightedPressurePlate, Comparator, DaylightDetector, RedstoneBlock, NetherQuartzOre, Hopper, QuartzBlock, ChiseledQuartzBlock, QuartzPillar, QuartzStairs, ActivatorRail, Dropper, WhiteTerracotta, OrangeTerracotta, MagentaTerracotta, LightBlueTerracotta, YellowTerracotta, LimeTerracotta, PinkTerracotta, GrayTerracotta, LightGrayTerracotta, CyanTerracotta, PurpleTerracotta, BlueTerracotta, BrownTerracotta, GreenTerracotta, RedTerracotta, BlackTerracotta, WhiteStainedGlassPane, OrangeStainedGlassPane, MagentaStainedGlassPane, LightBlueStainedGlassPane, YellowStainedGlassPane, LimeStainedGlassPane, PinkStainedGlassPane, GrayStainedGlassPane, LightGrayStainedGlassPane, CyanStainedGlassPane, PurpleStainedGlassPane, BlueStainedGlassPane, BrownStainedGlassPane, GreenStainedGlassPane, RedStainedGlassPane, BlackStainedGlassPane, AcaciaStairs, CherryStairs, DarkOakStairs, MangroveStairs, BambooStairs, BambooMosaicStairs, SlimeBlock, Barrier, Light, IronTrapdoor, Prismarine, PrismarineBricks, DarkPrismarine, PrismarineStairs, PrismarineBrickStairs, DarkPrismarineStairs, PrismarineSlab, PrismarineBrickSlab, DarkPrismarineSlab, SeaLantern, HayBlock, WhiteCarpet, OrangeCarpet, MagentaCarpet, LightBlueCarpet, YellowCarpet, LimeCarpet, PinkCarpet, GrayCarpet, LightGrayCarpet, CyanCarpet, PurpleCarpet, BlueCarpet, BrownCarpet, GreenCarpet, RedCarpet, BlackCarpet, Terracotta, CoalBlock, PackedIce, Sunflower, Lilac, RoseBush, Peony, TallGrass, LargeFern, WhiteBanner, OrangeBanner, MagentaBanner, LightBlueBanner, YellowBanner, LimeBanner, PinkBanner, GrayBanner, LightGrayBanner, CyanBanner, PurpleBanner, BlueBanner, BrownBanner, GreenBanner, RedBanner, BlackBanner, WhiteWallBanner, OrangeWallBanner, MagentaWallBanner, LightBlueWallBanner, YellowWallBanner, LimeWallBanner, PinkWallBanner, GrayWallBanner, LightGrayWallBanner, CyanWallBanner, PurpleWallBanner, BlueWallBanner, BrownWallBanner, GreenWallBanner, RedWallBanner, BlackWallBanner, RedSandstone, ChiseledRedSandstone, CutRedSandstone, RedSandstoneStairs, OakSlab, SpruceSlab, BirchSlab, JungleSlab, AcaciaSlab, CherrySlab, DarkOakSlab, MangroveSlab, BambooSlab, BambooMosaicSlab, StoneSlab, SmoothStoneSlab, SandstoneSlab, CutSandstoneSlab, PetrifiedOakSlab, CobblestoneSlab, BrickSlab, StoneBrickSlab, MudBrickSlab, NetherBrickSlab, QuartzSlab, RedSandstoneSlab, CutRedSandstoneSlab, PurpurSlab, SmoothStone, SmoothSandstone, SmoothQuartz, SmoothRedSandstone, SpruceFenceGate, BirchFenceGate, JungleFenceGate, AcaciaFenceGate, CherryFenceGate, DarkOakFenceGate, MangroveFenceGate, BambooFenceGate, SpruceFence, BirchFence, JungleFence, AcaciaFence, CherryFence, DarkOakFence, MangroveFence, BambooFence, SpruceDoor, BirchDoor, JungleDoor, AcaciaDoor, CherryDoor, DarkOakDoor, MangroveDoor, BambooDoor, EndRod, ChorusPlant, ChorusFlower, PurpurBlock, PurpurPillar, PurpurStairs, EndStoneBricks, TorchflowerCrop, PitcherCrop, PitcherPlant, Beetroots, DirtPath, EndGateway, RepeatingCommandBlock, ChainCommandBlock, FrostedIce, MagmaBlock, NetherWartBlock, RedNetherBricks, BoneBlock, StructureVoid, Observer, ShulkerBox, WhiteShulkerBox, OrangeShulkerBox, MagentaShulkerBox, LightBlueShulkerBox, YellowShulkerBox, LimeShulkerBox, PinkShulkerBox, GrayShulkerBox, LightGrayShulkerBox, CyanShulkerBox, PurpleShulkerBox, BlueShulkerBox, BrownShulkerBox, GreenShulkerBox, RedShulkerBox, BlackShulkerBox, WhiteGlazedTerracotta, OrangeGlazedTerracotta, MagentaGlazedTerracotta, LightBlueGlazedTerracotta, YellowGlazedTerracotta, LimeGlazedTerracotta, PinkGlazedTerracotta, GrayGlazedTerracotta, LightGrayGlazedTerracotta, CyanGlazedTerracotta, PurpleGlazedTerracotta, BlueGlazedTerracotta, BrownGlazedTerracotta, GreenGlazedTerracotta, RedGlazedTerracotta, BlackGlazedTerracotta, WhiteConcrete, OrangeConcrete, MagentaConcrete, LightBlueConcrete, YellowConcrete, LimeConcrete, PinkConcrete, GrayConcrete, LightGrayConcrete, CyanConcrete, PurpleConcrete, BlueConcrete, BrownConcrete, GreenConcrete, RedConcrete, BlackConcrete, WhiteConcretePowder, OrangeConcretePowder, MagentaConcretePowder, LightBlueConcretePowder, YellowConcretePowder, LimeConcretePowder, PinkConcretePowder, GrayConcretePowder, LightGrayConcretePowder, CyanConcretePowder, PurpleConcretePowder, BlueConcretePowder, BrownConcretePowder, GreenConcretePowder, RedConcretePowder, BlackConcretePowder, Kelp, KelpPlant, DriedKelpBlock, TurtleEgg, SnifferEgg, DeadTubeCoralBlock, DeadBrainCoralBlock, DeadBubbleCoralBlock, DeadFireCoralBlock, DeadHornCoralBlock, TubeCoralBlock, BrainCoralBlock, BubbleCoralBlock, FireCoralBlock, HornCoralBlock, DeadTubeCoral, DeadBrainCoral, DeadBubbleCoral, DeadFireCoral, DeadHornCoral, TubeCoral, BrainCoral, BubbleCoral, FireCoral, HornCoral, DeadTubeCoralFan, DeadBrainCoralFan, DeadBubbleCoralFan, DeadFireCoralFan, DeadHornCoralFan, TubeCoralFan, BrainCoralFan, BubbleCoralFan, FireCoralFan, HornCoralFan, DeadTubeCoralWallFan, DeadBrainCoralWallFan, DeadBubbleCoralWallFan, DeadFireCoralWallFan, DeadHornCoralWallFan, TubeCoralWallFan, BrainCoralWallFan, BubbleCoralWallFan, FireCoralWallFan, HornCoralWallFan, SeaPickle, BlueIce, Conduit, BambooSapling, Bamboo, PottedBamboo, VoidAir, CaveAir, BubbleColumn, PolishedGraniteStairs, SmoothRedSandstoneStairs, MossyStoneBrickStairs, PolishedDioriteStairs, MossyCobblestoneStairs, EndStoneBrickStairs, StoneStairs, SmoothSandstoneStairs, SmoothQuartzStairs, GraniteStairs, AndesiteStairs, RedNetherBrickStairs, PolishedAndesiteStairs, DioriteStairs, PolishedGraniteSlab, SmoothRedSandstoneSlab, MossyStoneBrickSlab, PolishedDioriteSlab, MossyCobblestoneSlab, EndStoneBrickSlab, SmoothSandstoneSlab, SmoothQuartzSlab, GraniteSlab, AndesiteSlab, RedNetherBrickSlab, PolishedAndesiteSlab, DioriteSlab, BrickWall, PrismarineWall, RedSandstoneWall, MossyStoneBrickWall, GraniteWall, StoneBrickWall, MudBrickWall, NetherBrickWall, AndesiteWall, RedNetherBrickWall, SandstoneWall, EndStoneBrickWall, DioriteWall, Scaffolding, Loom, Barrel, Smoker, BlastFurnace, CartographyTable, FletchingTable, Grindstone, Lectern, SmithingTable, Stonecutter, Bell, Lantern, SoulLantern, Campfire, SoulCampfire, SweetBerryBush, WarpedStem, StrippedWarpedStem, WarpedHyphae, StrippedWarpedHyphae, WarpedNylium, WarpedFungus, WarpedWartBlock, WarpedRoots, NetherSprouts, CrimsonStem, StrippedCrimsonStem, CrimsonHyphae, StrippedCrimsonHyphae, CrimsonNylium, CrimsonFungus, Shroomlight, WeepingVines, WeepingVinesPlant, TwistingVines, TwistingVinesPlant, CrimsonRoots, CrimsonPlanks, WarpedPlanks, CrimsonSlab, WarpedSlab, CrimsonPressurePlate, WarpedPressurePlate, CrimsonFence, WarpedFence, CrimsonTrapdoor, WarpedTrapdoor, CrimsonFenceGate, WarpedFenceGate, CrimsonStairs, WarpedStairs, CrimsonButton, WarpedButton, CrimsonDoor, WarpedDoor, CrimsonSign, WarpedSign, CrimsonWallSign, WarpedWallSign, StructureBlock, Jigsaw, Composter, Target, BeeNest, Beehive, HoneyBlock, HoneycombBlock, NetheriteBlock, AncientDebris, CryingObsidian, RespawnAnchor, PottedCrimsonFungus, PottedWarpedFungus, PottedCrimsonRoots, PottedWarpedRoots, Lodestone, Blackstone, BlackstoneStairs, BlackstoneWall, BlackstoneSlab, PolishedBlackstone, PolishedBlackstoneBricks, CrackedPolishedBlackstoneBricks, ChiseledPolishedBlackstone, PolishedBlackstoneBrickSlab, PolishedBlackstoneBrickStairs, PolishedBlackstoneBrickWall, GildedBlackstone, PolishedBlackstoneStairs, PolishedBlackstoneSlab, PolishedBlackstonePressurePlate, PolishedBlackstoneButton, PolishedBlackstoneWall, ChiseledNetherBricks, CrackedNetherBricks, QuartzBricks, Candle, WhiteCandle, OrangeCandle, MagentaCandle, LightBlueCandle, YellowCandle, LimeCandle, PinkCandle, GrayCandle, LightGrayCandle, CyanCandle, PurpleCandle, BlueCandle, BrownCandle, GreenCandle, RedCandle, BlackCandle, CandleCake, WhiteCandleCake, OrangeCandleCake, MagentaCandleCake, LightBlueCandleCake, YellowCandleCake, LimeCandleCake, PinkCandleCake, GrayCandleCake, LightGrayCandleCake, CyanCandleCake, PurpleCandleCake, BlueCandleCake, BrownCandleCake, GreenCandleCake, RedCandleCake, BlackCandleCake, AmethystBlock, BuddingAmethyst, AmethystCluster, LargeAmethystBud, MediumAmethystBud, SmallAmethystBud, Tuff, Calcite, TintedGlass, PowderSnow, SculkSensor, CalibratedSculkSensor, Sculk, SculkVein, SculkCatalyst, SculkShrieker, OxidizedCopper, WeatheredCopper, ExposedCopper, CopperBlock, CopperOre, DeepslateCopperOre, OxidizedCutCopper, WeatheredCutCopper, ExposedCutCopper, CutCopper, OxidizedCutCopperStairs, WeatheredCutCopperStairs, ExposedCutCopperStairs, CutCopperStairs, OxidizedCutCopperSlab, WeatheredCutCopperSlab, ExposedCutCopperSlab, CutCopperSlab, WaxedCopperBlock, WaxedWeatheredCopper, WaxedExposedCopper, WaxedOxidizedCopper, WaxedOxidizedCutCopper, WaxedWeatheredCutCopper, WaxedExposedCutCopper, WaxedCutCopper, WaxedOxidizedCutCopperStairs, WaxedWeatheredCutCopperStairs, WaxedExposedCutCopperStairs, WaxedCutCopperStairs, WaxedOxidizedCutCopperSlab, WaxedWeatheredCutCopperSlab, WaxedExposedCutCopperSlab, WaxedCutCopperSlab, LightningRod, PointedDripstone, DripstoneBlock, CaveVines, CaveVinesPlant, SporeBlossom, Azalea, FloweringAzalea, MossCarpet, PinkPetals, MossBlock, BigDripleaf, BigDripleafStem, SmallDripleaf, HangingRoots, RootedDirt, Mud, Deepslate, CobbledDeepslate, CobbledDeepslateStairs, CobbledDeepslateSlab, CobbledDeepslateWall, PolishedDeepslate, PolishedDeepslateStairs, PolishedDeepslateSlab, PolishedDeepslateWall, DeepslateTiles, DeepslateTileStairs, DeepslateTileSlab, DeepslateTileWall, DeepslateBricks, DeepslateBrickStairs, DeepslateBrickSlab, DeepslateBrickWall, ChiseledDeepslate, CrackedDeepslateBricks, CrackedDeepslateTiles, InfestedDeepslate, SmoothBasalt, RawIronBlock, RawCopperBlock, RawGoldBlock, PottedAzaleaBush, PottedFloweringAzaleaBush, OchreFroglight, VerdantFroglight, PearlescentFroglight, Frogspawn, ReinforcedDeepslate, DecoratedPot,
}
Expand description

An enumeration of all block kinds.

Variants§

§

Air

§

Stone

§

Granite

§

PolishedGranite

§

Diorite

§

PolishedDiorite

§

Andesite

§

PolishedAndesite

§

GrassBlock

§

Dirt

§

CoarseDirt

§

Podzol

§

Cobblestone

§

OakPlanks

§

SprucePlanks

§

BirchPlanks

§

JunglePlanks

§

AcaciaPlanks

§

CherryPlanks

§

DarkOakPlanks

§

MangrovePlanks

§

BambooPlanks

§

BambooMosaic

§

OakSapling

§

SpruceSapling

§

BirchSapling

§

JungleSapling

§

AcaciaSapling

§

CherrySapling

§

DarkOakSapling

§

MangrovePropagule

§

Bedrock

§

Water

§

Lava

§

Sand

§

SuspiciousSand

§

RedSand

§

Gravel

§

SuspiciousGravel

§

GoldOre

§

DeepslateGoldOre

§

IronOre

§

DeepslateIronOre

§

CoalOre

§

DeepslateCoalOre

§

NetherGoldOre

§

OakLog

§

SpruceLog

§

BirchLog

§

JungleLog

§

AcaciaLog

§

CherryLog

§

DarkOakLog

§

MangroveLog

§

MangroveRoots

§

MuddyMangroveRoots

§

BambooBlock

§

StrippedSpruceLog

§

StrippedBirchLog

§

StrippedJungleLog

§

StrippedAcaciaLog

§

StrippedCherryLog

§

StrippedDarkOakLog

§

StrippedOakLog

§

StrippedMangroveLog

§

StrippedBambooBlock

§

OakWood

§

SpruceWood

§

BirchWood

§

JungleWood

§

AcaciaWood

§

CherryWood

§

DarkOakWood

§

MangroveWood

§

StrippedOakWood

§

StrippedSpruceWood

§

StrippedBirchWood

§

StrippedJungleWood

§

StrippedAcaciaWood

§

StrippedCherryWood

§

StrippedDarkOakWood

§

StrippedMangroveWood

§

OakLeaves

§

SpruceLeaves

§

BirchLeaves

§

JungleLeaves

§

AcaciaLeaves

§

CherryLeaves

§

DarkOakLeaves

§

MangroveLeaves

§

AzaleaLeaves

§

FloweringAzaleaLeaves

§

Sponge

§

WetSponge

§

Glass

§

LapisOre

§

DeepslateLapisOre

§

LapisBlock

§

Dispenser

§

Sandstone

§

ChiseledSandstone

§

CutSandstone

§

NoteBlock

§

WhiteBed

§

OrangeBed

§

MagentaBed

§

LightBlueBed

§

YellowBed

§

LimeBed

§

PinkBed

§

GrayBed

§

LightGrayBed

§

CyanBed

§

PurpleBed

§

BlueBed

§

BrownBed

§

GreenBed

§

RedBed

§

BlackBed

§

PoweredRail

§

DetectorRail

§

StickyPiston

§

Cobweb

§

Grass

§

Fern

§

DeadBush

§

Seagrass

§

TallSeagrass

§

Piston

§

PistonHead

§

WhiteWool

§

OrangeWool

§

MagentaWool

§

LightBlueWool

§

YellowWool

§

LimeWool

§

PinkWool

§

GrayWool

§

LightGrayWool

§

CyanWool

§

PurpleWool

§

BlueWool

§

BrownWool

§

GreenWool

§

RedWool

§

BlackWool

§

MovingPiston

§

Dandelion

§

Torchflower

§

Poppy

§

BlueOrchid

§

Allium

§

AzureBluet

§

RedTulip

§

OrangeTulip

§

WhiteTulip

§

PinkTulip

§

OxeyeDaisy

§

Cornflower

§

WitherRose

§

LilyOfTheValley

§

BrownMushroom

§

RedMushroom

§

GoldBlock

§

IronBlock

§

Bricks

§

Tnt

§

Bookshelf

§

ChiseledBookshelf

§

MossyCobblestone

§

Obsidian

§

Torch

§

WallTorch

§

Fire

§

SoulFire

§

Spawner

§

OakStairs

§

Chest

§

RedstoneWire

§

DiamondOre

§

DeepslateDiamondOre

§

DiamondBlock

§

CraftingTable

§

Wheat

§

Farmland

§

Furnace

§

OakSign

§

SpruceSign

§

BirchSign

§

AcaciaSign

§

CherrySign

§

JungleSign

§

DarkOakSign

§

MangroveSign

§

BambooSign

§

OakDoor

§

Ladder

§

Rail

§

CobblestoneStairs

§

OakWallSign

§

SpruceWallSign

§

BirchWallSign

§

AcaciaWallSign

§

CherryWallSign

§

JungleWallSign

§

DarkOakWallSign

§

MangroveWallSign

§

BambooWallSign

§

OakHangingSign

§

SpruceHangingSign

§

BirchHangingSign

§

AcaciaHangingSign

§

CherryHangingSign

§

JungleHangingSign

§

DarkOakHangingSign

§

CrimsonHangingSign

§

WarpedHangingSign

§

MangroveHangingSign

§

BambooHangingSign

§

OakWallHangingSign

§

SpruceWallHangingSign

§

BirchWallHangingSign

§

AcaciaWallHangingSign

§

CherryWallHangingSign

§

JungleWallHangingSign

§

DarkOakWallHangingSign

§

MangroveWallHangingSign

§

CrimsonWallHangingSign

§

WarpedWallHangingSign

§

BambooWallHangingSign

§

Lever

§

StonePressurePlate

§

IronDoor

§

OakPressurePlate

§

SprucePressurePlate

§

BirchPressurePlate

§

JunglePressurePlate

§

AcaciaPressurePlate

§

CherryPressurePlate

§

DarkOakPressurePlate

§

MangrovePressurePlate

§

BambooPressurePlate

§

RedstoneOre

§

DeepslateRedstoneOre

§

RedstoneTorch

§

RedstoneWallTorch

§

StoneButton

§

Snow

§

Ice

§

SnowBlock

§

Cactus

§

Clay

§

SugarCane

§

Jukebox

§

OakFence

§

Pumpkin

§

Netherrack

§

SoulSand

§

SoulSoil

§

Basalt

§

PolishedBasalt

§

SoulTorch

§

SoulWallTorch

§

Glowstone

§

NetherPortal

§

CarvedPumpkin

§

JackOLantern

§

Cake

§

Repeater

§

WhiteStainedGlass

§

OrangeStainedGlass

§

MagentaStainedGlass

§

LightBlueStainedGlass

§

YellowStainedGlass

§

LimeStainedGlass

§

PinkStainedGlass

§

GrayStainedGlass

§

LightGrayStainedGlass

§

CyanStainedGlass

§

PurpleStainedGlass

§

BlueStainedGlass

§

BrownStainedGlass

§

GreenStainedGlass

§

RedStainedGlass

§

BlackStainedGlass

§

OakTrapdoor

§

SpruceTrapdoor

§

BirchTrapdoor

§

JungleTrapdoor

§

AcaciaTrapdoor

§

CherryTrapdoor

§

DarkOakTrapdoor

§

MangroveTrapdoor

§

BambooTrapdoor

§

StoneBricks

§

MossyStoneBricks

§

CrackedStoneBricks

§

ChiseledStoneBricks

§

PackedMud

§

MudBricks

§

InfestedStone

§

InfestedCobblestone

§

InfestedStoneBricks

§

InfestedMossyStoneBricks

§

InfestedCrackedStoneBricks

§

InfestedChiseledStoneBricks

§

BrownMushroomBlock

§

RedMushroomBlock

§

MushroomStem

§

IronBars

§

Chain

§

GlassPane

§

Melon

§

AttachedPumpkinStem

§

AttachedMelonStem

§

PumpkinStem

§

MelonStem

§

Vine

§

GlowLichen

§

OakFenceGate

§

BrickStairs

§

StoneBrickStairs

§

MudBrickStairs

§

Mycelium

§

LilyPad

§

NetherBricks

§

NetherBrickFence

§

NetherBrickStairs

§

NetherWart

§

EnchantingTable

§

BrewingStand

§

Cauldron

§

WaterCauldron

§

LavaCauldron

§

PowderSnowCauldron

§

EndPortal

§

EndPortalFrame

§

EndStone

§

DragonEgg

§

RedstoneLamp

§

Cocoa

§

SandstoneStairs

§

EmeraldOre

§

DeepslateEmeraldOre

§

EnderChest

§

TripwireHook

§

Tripwire

§

EmeraldBlock

§

SpruceStairs

§

BirchStairs

§

JungleStairs

§

CommandBlock

§

Beacon

§

CobblestoneWall

§

MossyCobblestoneWall

§

FlowerPot

§

PottedTorchflower

§

PottedOakSapling

§

PottedSpruceSapling

§

PottedBirchSapling

§

PottedJungleSapling

§

PottedAcaciaSapling

§

PottedCherrySapling

§

PottedDarkOakSapling

§

PottedMangrovePropagule

§

PottedFern

§

PottedDandelion

§

PottedPoppy

§

PottedBlueOrchid

§

PottedAllium

§

PottedAzureBluet

§

PottedRedTulip

§

PottedOrangeTulip

§

PottedWhiteTulip

§

PottedPinkTulip

§

PottedOxeyeDaisy

§

PottedCornflower

§

PottedLilyOfTheValley

§

PottedWitherRose

§

PottedRedMushroom

§

PottedBrownMushroom

§

PottedDeadBush

§

PottedCactus

§

Carrots

§

Potatoes

§

OakButton

§

SpruceButton

§

BirchButton

§

JungleButton

§

AcaciaButton

§

CherryButton

§

DarkOakButton

§

MangroveButton

§

BambooButton

§

SkeletonSkull

§

SkeletonWallSkull

§

WitherSkeletonSkull

§

WitherSkeletonWallSkull

§

ZombieHead

§

ZombieWallHead

§

PlayerHead

§

PlayerWallHead

§

CreeperHead

§

CreeperWallHead

§

DragonHead

§

DragonWallHead

§

PiglinHead

§

PiglinWallHead

§

Anvil

§

ChippedAnvil

§

DamagedAnvil

§

TrappedChest

§

LightWeightedPressurePlate

§

HeavyWeightedPressurePlate

§

Comparator

§

DaylightDetector

§

RedstoneBlock

§

NetherQuartzOre

§

Hopper

§

QuartzBlock

§

ChiseledQuartzBlock

§

QuartzPillar

§

QuartzStairs

§

ActivatorRail

§

Dropper

§

WhiteTerracotta

§

OrangeTerracotta

§

MagentaTerracotta

§

LightBlueTerracotta

§

YellowTerracotta

§

LimeTerracotta

§

PinkTerracotta

§

GrayTerracotta

§

LightGrayTerracotta

§

CyanTerracotta

§

PurpleTerracotta

§

BlueTerracotta

§

BrownTerracotta

§

GreenTerracotta

§

RedTerracotta

§

BlackTerracotta

§

WhiteStainedGlassPane

§

OrangeStainedGlassPane

§

MagentaStainedGlassPane

§

LightBlueStainedGlassPane

§

YellowStainedGlassPane

§

LimeStainedGlassPane

§

PinkStainedGlassPane

§

GrayStainedGlassPane

§

LightGrayStainedGlassPane

§

CyanStainedGlassPane

§

PurpleStainedGlassPane

§

BlueStainedGlassPane

§

BrownStainedGlassPane

§

GreenStainedGlassPane

§

RedStainedGlassPane

§

BlackStainedGlassPane

§

AcaciaStairs

§

CherryStairs

§

DarkOakStairs

§

MangroveStairs

§

BambooStairs

§

BambooMosaicStairs

§

SlimeBlock

§

Barrier

§

Light

§

IronTrapdoor

§

Prismarine

§

PrismarineBricks

§

DarkPrismarine

§

PrismarineStairs

§

PrismarineBrickStairs

§

DarkPrismarineStairs

§

PrismarineSlab

§

PrismarineBrickSlab

§

DarkPrismarineSlab

§

SeaLantern

§

HayBlock

§

WhiteCarpet

§

OrangeCarpet

§

MagentaCarpet

§

LightBlueCarpet

§

YellowCarpet

§

LimeCarpet

§

PinkCarpet

§

GrayCarpet

§

LightGrayCarpet

§

CyanCarpet

§

PurpleCarpet

§

BlueCarpet

§

BrownCarpet

§

GreenCarpet

§

RedCarpet

§

BlackCarpet

§

Terracotta

§

CoalBlock

§

PackedIce

§

Sunflower

§

Lilac

§

RoseBush

§

Peony

§

TallGrass

§

LargeFern

§

WhiteBanner

§

OrangeBanner

§

MagentaBanner

§

LightBlueBanner

§

YellowBanner

§

LimeBanner

§

PinkBanner

§

GrayBanner

§

LightGrayBanner

§

CyanBanner

§

PurpleBanner

§

BlueBanner

§

BrownBanner

§

GreenBanner

§

RedBanner

§

BlackBanner

§

WhiteWallBanner

§

OrangeWallBanner

§

MagentaWallBanner

§

LightBlueWallBanner

§

YellowWallBanner

§

LimeWallBanner

§

PinkWallBanner

§

GrayWallBanner

§

LightGrayWallBanner

§

CyanWallBanner

§

PurpleWallBanner

§

BlueWallBanner

§

BrownWallBanner

§

GreenWallBanner

§

RedWallBanner

§

BlackWallBanner

§

RedSandstone

§

ChiseledRedSandstone

§

CutRedSandstone

§

RedSandstoneStairs

§

OakSlab

§

SpruceSlab

§

BirchSlab

§

JungleSlab

§

AcaciaSlab

§

CherrySlab

§

DarkOakSlab

§

MangroveSlab

§

BambooSlab

§

BambooMosaicSlab

§

StoneSlab

§

SmoothStoneSlab

§

SandstoneSlab

§

CutSandstoneSlab

§

PetrifiedOakSlab

§

CobblestoneSlab

§

BrickSlab

§

StoneBrickSlab

§

MudBrickSlab

§

NetherBrickSlab

§

QuartzSlab

§

RedSandstoneSlab

§

CutRedSandstoneSlab

§

PurpurSlab

§

SmoothStone

§

SmoothSandstone

§

SmoothQuartz

§

SmoothRedSandstone

§

SpruceFenceGate

§

BirchFenceGate

§

JungleFenceGate

§

AcaciaFenceGate

§

CherryFenceGate

§

DarkOakFenceGate

§

MangroveFenceGate

§

BambooFenceGate

§

SpruceFence

§

BirchFence

§

JungleFence

§

AcaciaFence

§

CherryFence

§

DarkOakFence

§

MangroveFence

§

BambooFence

§

SpruceDoor

§

BirchDoor

§

JungleDoor

§

AcaciaDoor

§

CherryDoor

§

DarkOakDoor

§

MangroveDoor

§

BambooDoor

§

EndRod

§

ChorusPlant

§

ChorusFlower

§

PurpurBlock

§

PurpurPillar

§

PurpurStairs

§

EndStoneBricks

§

TorchflowerCrop

§

PitcherCrop

§

PitcherPlant

§

Beetroots

§

DirtPath

§

EndGateway

§

RepeatingCommandBlock

§

ChainCommandBlock

§

FrostedIce

§

MagmaBlock

§

NetherWartBlock

§

RedNetherBricks

§

BoneBlock

§

StructureVoid

§

Observer

§

ShulkerBox

§

WhiteShulkerBox

§

OrangeShulkerBox

§

MagentaShulkerBox

§

LightBlueShulkerBox

§

YellowShulkerBox

§

LimeShulkerBox

§

PinkShulkerBox

§

GrayShulkerBox

§

LightGrayShulkerBox

§

CyanShulkerBox

§

PurpleShulkerBox

§

BlueShulkerBox

§

BrownShulkerBox

§

GreenShulkerBox

§

RedShulkerBox

§

BlackShulkerBox

§

WhiteGlazedTerracotta

§

OrangeGlazedTerracotta

§

MagentaGlazedTerracotta

§

LightBlueGlazedTerracotta

§

YellowGlazedTerracotta

§

LimeGlazedTerracotta

§

PinkGlazedTerracotta

§

GrayGlazedTerracotta

§

LightGrayGlazedTerracotta

§

CyanGlazedTerracotta

§

PurpleGlazedTerracotta

§

BlueGlazedTerracotta

§

BrownGlazedTerracotta

§

GreenGlazedTerracotta

§

RedGlazedTerracotta

§

BlackGlazedTerracotta

§

WhiteConcrete

§

OrangeConcrete

§

MagentaConcrete

§

LightBlueConcrete

§

YellowConcrete

§

LimeConcrete

§

PinkConcrete

§

GrayConcrete

§

LightGrayConcrete

§

CyanConcrete

§

PurpleConcrete

§

BlueConcrete

§

BrownConcrete

§

GreenConcrete

§

RedConcrete

§

BlackConcrete

§

WhiteConcretePowder

§

OrangeConcretePowder

§

MagentaConcretePowder

§

LightBlueConcretePowder

§

YellowConcretePowder

§

LimeConcretePowder

§

PinkConcretePowder

§

GrayConcretePowder

§

LightGrayConcretePowder

§

CyanConcretePowder

§

PurpleConcretePowder

§

BlueConcretePowder

§

BrownConcretePowder

§

GreenConcretePowder

§

RedConcretePowder

§

BlackConcretePowder

§

Kelp

§

KelpPlant

§

DriedKelpBlock

§

TurtleEgg

§

SnifferEgg

§

DeadTubeCoralBlock

§

DeadBrainCoralBlock

§

DeadBubbleCoralBlock

§

DeadFireCoralBlock

§

DeadHornCoralBlock

§

TubeCoralBlock

§

BrainCoralBlock

§

BubbleCoralBlock

§

FireCoralBlock

§

HornCoralBlock

§

DeadTubeCoral

§

DeadBrainCoral

§

DeadBubbleCoral

§

DeadFireCoral

§

DeadHornCoral

§

TubeCoral

§

BrainCoral

§

BubbleCoral

§

FireCoral

§

HornCoral

§

DeadTubeCoralFan

§

DeadBrainCoralFan

§

DeadBubbleCoralFan

§

DeadFireCoralFan

§

DeadHornCoralFan

§

TubeCoralFan

§

BrainCoralFan

§

BubbleCoralFan

§

FireCoralFan

§

HornCoralFan

§

DeadTubeCoralWallFan

§

DeadBrainCoralWallFan

§

DeadBubbleCoralWallFan

§

DeadFireCoralWallFan

§

DeadHornCoralWallFan

§

TubeCoralWallFan

§

BrainCoralWallFan

§

BubbleCoralWallFan

§

FireCoralWallFan

§

HornCoralWallFan

§

SeaPickle

§

BlueIce

§

Conduit

§

BambooSapling

§

Bamboo

§

PottedBamboo

§

VoidAir

§

CaveAir

§

BubbleColumn

§

PolishedGraniteStairs

§

SmoothRedSandstoneStairs

§

MossyStoneBrickStairs

§

PolishedDioriteStairs

§

MossyCobblestoneStairs

§

EndStoneBrickStairs

§

StoneStairs

§

SmoothSandstoneStairs

§

SmoothQuartzStairs

§

GraniteStairs

§

AndesiteStairs

§

RedNetherBrickStairs

§

PolishedAndesiteStairs

§

DioriteStairs

§

PolishedGraniteSlab

§

SmoothRedSandstoneSlab

§

MossyStoneBrickSlab

§

PolishedDioriteSlab

§

MossyCobblestoneSlab

§

EndStoneBrickSlab

§

SmoothSandstoneSlab

§

SmoothQuartzSlab

§

GraniteSlab

§

AndesiteSlab

§

RedNetherBrickSlab

§

PolishedAndesiteSlab

§

DioriteSlab

§

BrickWall

§

PrismarineWall

§

RedSandstoneWall

§

MossyStoneBrickWall

§

GraniteWall

§

StoneBrickWall

§

MudBrickWall

§

NetherBrickWall

§

AndesiteWall

§

RedNetherBrickWall

§

SandstoneWall

§

EndStoneBrickWall

§

DioriteWall

§

Scaffolding

§

Loom

§

Barrel

§

Smoker

§

BlastFurnace

§

CartographyTable

§

FletchingTable

§

Grindstone

§

Lectern

§

SmithingTable

§

Stonecutter

§

Bell

§

Lantern

§

SoulLantern

§

Campfire

§

SoulCampfire

§

SweetBerryBush

§

WarpedStem

§

StrippedWarpedStem

§

WarpedHyphae

§

StrippedWarpedHyphae

§

WarpedNylium

§

WarpedFungus

§

WarpedWartBlock

§

WarpedRoots

§

NetherSprouts

§

CrimsonStem

§

StrippedCrimsonStem

§

CrimsonHyphae

§

StrippedCrimsonHyphae

§

CrimsonNylium

§

CrimsonFungus

§

Shroomlight

§

WeepingVines

§

WeepingVinesPlant

§

TwistingVines

§

TwistingVinesPlant

§

CrimsonRoots

§

CrimsonPlanks

§

WarpedPlanks

§

CrimsonSlab

§

WarpedSlab

§

CrimsonPressurePlate

§

WarpedPressurePlate

§

CrimsonFence

§

WarpedFence

§

CrimsonTrapdoor

§

WarpedTrapdoor

§

CrimsonFenceGate

§

WarpedFenceGate

§

CrimsonStairs

§

WarpedStairs

§

CrimsonButton

§

WarpedButton

§

CrimsonDoor

§

WarpedDoor

§

CrimsonSign

§

WarpedSign

§

CrimsonWallSign

§

WarpedWallSign

§

StructureBlock

§

Jigsaw

§

Composter

§

Target

§

BeeNest

§

Beehive

§

HoneyBlock

§

HoneycombBlock

§

NetheriteBlock

§

AncientDebris

§

CryingObsidian

§

RespawnAnchor

§

PottedCrimsonFungus

§

PottedWarpedFungus

§

PottedCrimsonRoots

§

PottedWarpedRoots

§

Lodestone

§

Blackstone

§

BlackstoneStairs

§

BlackstoneWall

§

BlackstoneSlab

§

PolishedBlackstone

§

PolishedBlackstoneBricks

§

CrackedPolishedBlackstoneBricks

§

ChiseledPolishedBlackstone

§

PolishedBlackstoneBrickSlab

§

PolishedBlackstoneBrickStairs

§

PolishedBlackstoneBrickWall

§

GildedBlackstone

§

PolishedBlackstoneStairs

§

PolishedBlackstoneSlab

§

PolishedBlackstonePressurePlate

§

PolishedBlackstoneButton

§

PolishedBlackstoneWall

§

ChiseledNetherBricks

§

CrackedNetherBricks

§

QuartzBricks

§

Candle

§

WhiteCandle

§

OrangeCandle

§

MagentaCandle

§

LightBlueCandle

§

YellowCandle

§

LimeCandle

§

PinkCandle

§

GrayCandle

§

LightGrayCandle

§

CyanCandle

§

PurpleCandle

§

BlueCandle

§

BrownCandle

§

GreenCandle

§

RedCandle

§

BlackCandle

§

CandleCake

§

WhiteCandleCake

§

OrangeCandleCake

§

MagentaCandleCake

§

LightBlueCandleCake

§

YellowCandleCake

§

LimeCandleCake

§

PinkCandleCake

§

GrayCandleCake

§

LightGrayCandleCake

§

CyanCandleCake

§

PurpleCandleCake

§

BlueCandleCake

§

BrownCandleCake

§

GreenCandleCake

§

RedCandleCake

§

BlackCandleCake

§

AmethystBlock

§

BuddingAmethyst

§

AmethystCluster

§

LargeAmethystBud

§

MediumAmethystBud

§

SmallAmethystBud

§

Tuff

§

Calcite

§

TintedGlass

§

PowderSnow

§

SculkSensor

§

CalibratedSculkSensor

§

Sculk

§

SculkVein

§

SculkCatalyst

§

SculkShrieker

§

OxidizedCopper

§

WeatheredCopper

§

ExposedCopper

§

CopperBlock

§

CopperOre

§

DeepslateCopperOre

§

OxidizedCutCopper

§

WeatheredCutCopper

§

ExposedCutCopper

§

CutCopper

§

OxidizedCutCopperStairs

§

WeatheredCutCopperStairs

§

ExposedCutCopperStairs

§

CutCopperStairs

§

OxidizedCutCopperSlab

§

WeatheredCutCopperSlab

§

ExposedCutCopperSlab

§

CutCopperSlab

§

WaxedCopperBlock

§

WaxedWeatheredCopper

§

WaxedExposedCopper

§

WaxedOxidizedCopper

§

WaxedOxidizedCutCopper

§

WaxedWeatheredCutCopper

§

WaxedExposedCutCopper

§

WaxedCutCopper

§

WaxedOxidizedCutCopperStairs

§

WaxedWeatheredCutCopperStairs

§

WaxedExposedCutCopperStairs

§

WaxedCutCopperStairs

§

WaxedOxidizedCutCopperSlab

§

WaxedWeatheredCutCopperSlab

§

WaxedExposedCutCopperSlab

§

WaxedCutCopperSlab

§

LightningRod

§

PointedDripstone

§

DripstoneBlock

§

CaveVines

§

CaveVinesPlant

§

SporeBlossom

§

Azalea

§

FloweringAzalea

§

MossCarpet

§

PinkPetals

§

MossBlock

§

BigDripleaf

§

BigDripleafStem

§

SmallDripleaf

§

HangingRoots

§

RootedDirt

§

Mud

§

Deepslate

§

CobbledDeepslate

§

CobbledDeepslateStairs

§

CobbledDeepslateSlab

§

CobbledDeepslateWall

§

PolishedDeepslate

§

PolishedDeepslateStairs

§

PolishedDeepslateSlab

§

PolishedDeepslateWall

§

DeepslateTiles

§

DeepslateTileStairs

§

DeepslateTileSlab

§

DeepslateTileWall

§

DeepslateBricks

§

DeepslateBrickStairs

§

DeepslateBrickSlab

§

DeepslateBrickWall

§

ChiseledDeepslate

§

CrackedDeepslateBricks

§

CrackedDeepslateTiles

§

InfestedDeepslate

§

SmoothBasalt

§

RawIronBlock

§

RawCopperBlock

§

RawGoldBlock

§

PottedAzaleaBush

§

PottedFloweringAzaleaBush

§

OchreFroglight

§

VerdantFroglight

§

PearlescentFroglight

§

Frogspawn

§

ReinforcedDeepslate

§

DecoratedPot

Implementations§

source§

impl BlockKind

source

pub fn from_str(name: &str) -> Option<BlockKind>

Construct a block kind from its snake_case name.

Returns None if the name is invalid.

source

pub const fn to_str(self) -> &'static str

Get the snake_case name of this block kind.

source

pub const fn to_state(self) -> BlockState

Returns the default block state for a given block kind.

source

pub const fn props(self) -> &'static [PropName]

Returns a slice of all properties this block kind has.

source

pub const fn translation_key(self) -> &'static str

source

pub const fn to_item_kind(self) -> ItemKind

Converts a block kind to its corresponding item kind.

ItemKind::Air is used to indicate the absence of an item.

source

pub const fn from_item_kind(item: ItemKind) -> Option<BlockKind>

Constructs a block kind from an item kind.

If the given item does not have a corresponding block, None is returned.

source

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

Constructs a block kind from a raw block kind ID.

If the given ID is invalid, None is returned.

source

pub const fn to_raw(self) -> u16

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

The original block kind can be recovered with BlockKind::from_raw.

source

pub const ALL: [BlockKind; 1003] = _

An array of all block kinds.

Trait Implementations§

source§

impl Clone for BlockKind

source§

fn clone(&self) -> BlockKind

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
source§

impl Debug for BlockKind

source§

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

Formats the value using the given formatter. Read more
source§

impl Decode<'_> for BlockKind

source§

fn decode(r: &mut &[u8]) -> Result<Self>

Reads this object from the provided byte slice. Read more
source§

impl Default for BlockKind

The default block kind is air.

source§

fn default() -> BlockKind

Returns the “default value” for a type. Read more
source§

impl Encode for BlockKind

source§

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

Writes this object to the provided writer. Read more
source§

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

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

impl Hash for BlockKind

source§

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 Ord for BlockKind

source§

fn cmp(&self, other: &BlockKind) -> 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
source§

impl PartialEq for BlockKind

source§

fn eq(&self, other: &BlockKind) -> 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.
source§

impl PartialOrd for BlockKind

source§

fn partial_cmp(&self, other: &BlockKind) -> 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
source§

impl Copy for BlockKind

source§

impl Eq for BlockKind

source§

impl StructuralPartialEq for BlockKind

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> 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.
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.

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
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
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,