Enum valence::protocol::BlockKind

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§

§

impl BlockKind

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

Construct a block kind from its snake_case name.

Returns None if the name is invalid.

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

Get the snake_case name of this block kind.

pub const fn to_state(self) -> BlockState

Returns the default block state for a given block kind.

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

Returns a slice of all properties this block kind has.

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

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.

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.

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.

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.

pub const ALL: [BlockKind; 1003] = _

An array of all block kinds.

Trait Implementations§

§

impl Clone for BlockKind

§

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
§

impl Debug for BlockKind

§

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

Formats the value using the given formatter. Read more
§

impl Decode<'_> for BlockKind

§

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

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

impl Default for BlockKind

The default block kind is air.

§

fn default() -> BlockKind

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

impl Encode for BlockKind

§

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 BlockKind

§

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
§

impl Ord for BlockKind

§

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
§

impl PartialEq for BlockKind

§

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

impl PartialOrd for BlockKind

§

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
§

impl Copy for BlockKind

§

impl Eq for BlockKind

§

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