Enum Block

Source
#[repr(u32)]
pub enum Block {
Show 1095 variants Air = 0, Stone = 1, Granite = 2, PolishedGranite = 3, Diorite = 4, PolishedDiorite = 5, Andesite = 6, PolishedAndesite = 7, GrassBlock = 8, Dirt = 9, CoarseDirt = 10, Podzol = 11, Cobblestone = 12, OakPlanks = 13, SprucePlanks = 14, BirchPlanks = 15, JunglePlanks = 16, AcaciaPlanks = 17, CherryPlanks = 18, DarkOakPlanks = 19, PaleOakWood = 20, PaleOakPlanks = 21, MangrovePlanks = 22, BambooPlanks = 23, BambooMosaic = 24, OakSapling = 25, SpruceSapling = 26, BirchSapling = 27, JungleSapling = 28, AcaciaSapling = 29, CherrySapling = 30, DarkOakSapling = 31, PaleOakSapling = 32, MangrovePropagule = 33, Bedrock = 34, Water = 35, Lava = 36, Sand = 37, SuspiciousSand = 38, RedSand = 39, Gravel = 40, SuspiciousGravel = 41, GoldOre = 42, DeepslateGoldOre = 43, IronOre = 44, DeepslateIronOre = 45, CoalOre = 46, DeepslateCoalOre = 47, NetherGoldOre = 48, OakLog = 49, SpruceLog = 50, BirchLog = 51, JungleLog = 52, AcaciaLog = 53, CherryLog = 54, DarkOakLog = 55, PaleOakLog = 56, MangroveLog = 57, MangroveRoots = 58, MuddyMangroveRoots = 59, BambooBlock = 60, StrippedSpruceLog = 61, StrippedBirchLog = 62, StrippedJungleLog = 63, StrippedAcaciaLog = 64, StrippedCherryLog = 65, StrippedDarkOakLog = 66, StrippedPaleOakLog = 67, StrippedOakLog = 68, StrippedMangroveLog = 69, StrippedBambooBlock = 70, OakWood = 71, SpruceWood = 72, BirchWood = 73, JungleWood = 74, AcaciaWood = 75, CherryWood = 76, DarkOakWood = 77, MangroveWood = 78, StrippedOakWood = 79, StrippedSpruceWood = 80, StrippedBirchWood = 81, StrippedJungleWood = 82, StrippedAcaciaWood = 83, StrippedCherryWood = 84, StrippedDarkOakWood = 85, StrippedPaleOakWood = 86, StrippedMangroveWood = 87, OakLeaves = 88, SpruceLeaves = 89, BirchLeaves = 90, JungleLeaves = 91, AcaciaLeaves = 92, CherryLeaves = 93, DarkOakLeaves = 94, PaleOakLeaves = 95, MangroveLeaves = 96, AzaleaLeaves = 97, FloweringAzaleaLeaves = 98, Sponge = 99, WetSponge = 100, Glass = 101, LapisOre = 102, DeepslateLapisOre = 103, LapisBlock = 104, Dispenser = 105, Sandstone = 106, ChiseledSandstone = 107, CutSandstone = 108, NoteBlock = 109, WhiteBed = 110, OrangeBed = 111, MagentaBed = 112, LightBlueBed = 113, YellowBed = 114, LimeBed = 115, PinkBed = 116, GrayBed = 117, LightGrayBed = 118, CyanBed = 119, PurpleBed = 120, BlueBed = 121, BrownBed = 122, GreenBed = 123, RedBed = 124, BlackBed = 125, PoweredRail = 126, DetectorRail = 127, StickyPiston = 128, Cobweb = 129, ShortGrass = 130, Fern = 131, DeadBush = 132, Seagrass = 133, TallSeagrass = 134, Piston = 135, PistonHead = 136, WhiteWool = 137, OrangeWool = 138, MagentaWool = 139, LightBlueWool = 140, YellowWool = 141, LimeWool = 142, PinkWool = 143, GrayWool = 144, LightGrayWool = 145, CyanWool = 146, PurpleWool = 147, BlueWool = 148, BrownWool = 149, GreenWool = 150, RedWool = 151, BlackWool = 152, MovingPiston = 153, Dandelion = 154, Torchflower = 155, Poppy = 156, BlueOrchid = 157, Allium = 158, AzureBluet = 159, RedTulip = 160, OrangeTulip = 161, WhiteTulip = 162, PinkTulip = 163, OxeyeDaisy = 164, Cornflower = 165, WitherRose = 166, LilyOfTheValley = 167, BrownMushroom = 168, RedMushroom = 169, GoldBlock = 170, IronBlock = 171, Bricks = 172, Tnt = 173, Bookshelf = 174, ChiseledBookshelf = 175, MossyCobblestone = 176, Obsidian = 177, Torch = 178, WallTorch = 179, Fire = 180, SoulFire = 181, Spawner = 182, CreakingHeart = 183, OakStairs = 184, Chest = 185, RedstoneWire = 186, DiamondOre = 187, DeepslateDiamondOre = 188, DiamondBlock = 189, CraftingTable = 190, Wheat = 191, Farmland = 192, Furnace = 193, OakSign = 194, SpruceSign = 195, BirchSign = 196, AcaciaSign = 197, CherrySign = 198, JungleSign = 199, DarkOakSign = 200, PaleOakSign = 201, MangroveSign = 202, BambooSign = 203, OakDoor = 204, Ladder = 205, Rail = 206, CobblestoneStairs = 207, OakWallSign = 208, SpruceWallSign = 209, BirchWallSign = 210, AcaciaWallSign = 211, CherryWallSign = 212, JungleWallSign = 213, DarkOakWallSign = 214, PaleOakWallSign = 215, MangroveWallSign = 216, BambooWallSign = 217, OakHangingSign = 218, SpruceHangingSign = 219, BirchHangingSign = 220, AcaciaHangingSign = 221, CherryHangingSign = 222, JungleHangingSign = 223, DarkOakHangingSign = 224, PaleOakHangingSign = 225, CrimsonHangingSign = 226, WarpedHangingSign = 227, MangroveHangingSign = 228, BambooHangingSign = 229, OakWallHangingSign = 230, SpruceWallHangingSign = 231, BirchWallHangingSign = 232, AcaciaWallHangingSign = 233, CherryWallHangingSign = 234, JungleWallHangingSign = 235, DarkOakWallHangingSign = 236, PaleOakWallHangingSign = 237, MangroveWallHangingSign = 238, CrimsonWallHangingSign = 239, WarpedWallHangingSign = 240, BambooWallHangingSign = 241, Lever = 242, StonePressurePlate = 243, IronDoor = 244, OakPressurePlate = 245, SprucePressurePlate = 246, BirchPressurePlate = 247, JunglePressurePlate = 248, AcaciaPressurePlate = 249, CherryPressurePlate = 250, DarkOakPressurePlate = 251, PaleOakPressurePlate = 252, MangrovePressurePlate = 253, BambooPressurePlate = 254, RedstoneOre = 255, DeepslateRedstoneOre = 256, RedstoneTorch = 257, RedstoneWallTorch = 258, StoneButton = 259, Snow = 260, Ice = 261, SnowBlock = 262, Cactus = 263, Clay = 264, SugarCane = 265, Jukebox = 266, OakFence = 267, Netherrack = 268, SoulSand = 269, SoulSoil = 270, Basalt = 271, PolishedBasalt = 272, SoulTorch = 273, SoulWallTorch = 274, Glowstone = 275, NetherPortal = 276, CarvedPumpkin = 277, JackOLantern = 278, Cake = 279, Repeater = 280, WhiteStainedGlass = 281, OrangeStainedGlass = 282, MagentaStainedGlass = 283, LightBlueStainedGlass = 284, YellowStainedGlass = 285, LimeStainedGlass = 286, PinkStainedGlass = 287, GrayStainedGlass = 288, LightGrayStainedGlass = 289, CyanStainedGlass = 290, PurpleStainedGlass = 291, BlueStainedGlass = 292, BrownStainedGlass = 293, GreenStainedGlass = 294, RedStainedGlass = 295, BlackStainedGlass = 296, OakTrapdoor = 297, SpruceTrapdoor = 298, BirchTrapdoor = 299, JungleTrapdoor = 300, AcaciaTrapdoor = 301, CherryTrapdoor = 302, DarkOakTrapdoor = 303, PaleOakTrapdoor = 304, MangroveTrapdoor = 305, BambooTrapdoor = 306, StoneBricks = 307, MossyStoneBricks = 308, CrackedStoneBricks = 309, ChiseledStoneBricks = 310, PackedMud = 311, MudBricks = 312, InfestedStone = 313, InfestedCobblestone = 314, InfestedStoneBricks = 315, InfestedMossyStoneBricks = 316, InfestedCrackedStoneBricks = 317, InfestedChiseledStoneBricks = 318, BrownMushroomBlock = 319, RedMushroomBlock = 320, MushroomStem = 321, IronBars = 322, Chain = 323, GlassPane = 324, Pumpkin = 325, Melon = 326, AttachedPumpkinStem = 327, AttachedMelonStem = 328, PumpkinStem = 329, MelonStem = 330, Vine = 331, GlowLichen = 332, ResinClump = 333, OakFenceGate = 334, BrickStairs = 335, StoneBrickStairs = 336, MudBrickStairs = 337, Mycelium = 338, LilyPad = 339, ResinBlock = 340, ResinBricks = 341, ResinBrickStairs = 342, ResinBrickSlab = 343, ResinBrickWall = 344, ChiseledResinBricks = 345, NetherBricks = 346, NetherBrickFence = 347, NetherBrickStairs = 348, NetherWart = 349, EnchantingTable = 350, BrewingStand = 351, Cauldron = 352, WaterCauldron = 353, LavaCauldron = 354, PowderSnowCauldron = 355, EndPortal = 356, EndPortalFrame = 357, EndStone = 358, DragonEgg = 359, RedstoneLamp = 360, Cocoa = 361, SandstoneStairs = 362, EmeraldOre = 363, DeepslateEmeraldOre = 364, EnderChest = 365, TripwireHook = 366, Tripwire = 367, EmeraldBlock = 368, SpruceStairs = 369, BirchStairs = 370, JungleStairs = 371, CommandBlock = 372, Beacon = 373, CobblestoneWall = 374, MossyCobblestoneWall = 375, FlowerPot = 376, PottedTorchflower = 377, PottedOakSapling = 378, PottedSpruceSapling = 379, PottedBirchSapling = 380, PottedJungleSapling = 381, PottedAcaciaSapling = 382, PottedCherrySapling = 383, PottedDarkOakSapling = 384, PottedPaleOakSapling = 385, PottedMangrovePropagule = 386, PottedFern = 387, PottedDandelion = 388, PottedPoppy = 389, PottedBlueOrchid = 390, PottedAllium = 391, PottedAzureBluet = 392, PottedRedTulip = 393, PottedOrangeTulip = 394, PottedWhiteTulip = 395, PottedPinkTulip = 396, PottedOxeyeDaisy = 397, PottedCornflower = 398, PottedLilyOfTheValley = 399, PottedWitherRose = 400, PottedRedMushroom = 401, PottedBrownMushroom = 402, PottedDeadBush = 403, PottedCactus = 404, Carrots = 405, Potatoes = 406, OakButton = 407, SpruceButton = 408, BirchButton = 409, JungleButton = 410, AcaciaButton = 411, CherryButton = 412, DarkOakButton = 413, PaleOakButton = 414, MangroveButton = 415, BambooButton = 416, SkeletonSkull = 417, SkeletonWallSkull = 418, WitherSkeletonSkull = 419, WitherSkeletonWallSkull = 420, ZombieHead = 421, ZombieWallHead = 422, PlayerHead = 423, PlayerWallHead = 424, CreeperHead = 425, CreeperWallHead = 426, DragonHead = 427, DragonWallHead = 428, PiglinHead = 429, PiglinWallHead = 430, Anvil = 431, ChippedAnvil = 432, DamagedAnvil = 433, TrappedChest = 434, LightWeightedPressurePlate = 435, HeavyWeightedPressurePlate = 436, Comparator = 437, DaylightDetector = 438, RedstoneBlock = 439, NetherQuartzOre = 440, Hopper = 441, QuartzBlock = 442, ChiseledQuartzBlock = 443, QuartzPillar = 444, QuartzStairs = 445, ActivatorRail = 446, Dropper = 447, WhiteTerracotta = 448, OrangeTerracotta = 449, MagentaTerracotta = 450, LightBlueTerracotta = 451, YellowTerracotta = 452, LimeTerracotta = 453, PinkTerracotta = 454, GrayTerracotta = 455, LightGrayTerracotta = 456, CyanTerracotta = 457, PurpleTerracotta = 458, BlueTerracotta = 459, BrownTerracotta = 460, GreenTerracotta = 461, RedTerracotta = 462, BlackTerracotta = 463, WhiteStainedGlassPane = 464, OrangeStainedGlassPane = 465, MagentaStainedGlassPane = 466, LightBlueStainedGlassPane = 467, YellowStainedGlassPane = 468, LimeStainedGlassPane = 469, PinkStainedGlassPane = 470, GrayStainedGlassPane = 471, LightGrayStainedGlassPane = 472, CyanStainedGlassPane = 473, PurpleStainedGlassPane = 474, BlueStainedGlassPane = 475, BrownStainedGlassPane = 476, GreenStainedGlassPane = 477, RedStainedGlassPane = 478, BlackStainedGlassPane = 479, AcaciaStairs = 480, CherryStairs = 481, DarkOakStairs = 482, PaleOakStairs = 483, MangroveStairs = 484, BambooStairs = 485, BambooMosaicStairs = 486, SlimeBlock = 487, Barrier = 488, Light = 489, IronTrapdoor = 490, Prismarine = 491, PrismarineBricks = 492, DarkPrismarine = 493, PrismarineStairs = 494, PrismarineBrickStairs = 495, DarkPrismarineStairs = 496, PrismarineSlab = 497, PrismarineBrickSlab = 498, DarkPrismarineSlab = 499, SeaLantern = 500, HayBlock = 501, WhiteCarpet = 502, OrangeCarpet = 503, MagentaCarpet = 504, LightBlueCarpet = 505, YellowCarpet = 506, LimeCarpet = 507, PinkCarpet = 508, GrayCarpet = 509, LightGrayCarpet = 510, CyanCarpet = 511, PurpleCarpet = 512, BlueCarpet = 513, BrownCarpet = 514, GreenCarpet = 515, RedCarpet = 516, BlackCarpet = 517, Terracotta = 518, CoalBlock = 519, PackedIce = 520, Sunflower = 521, Lilac = 522, RoseBush = 523, Peony = 524, TallGrass = 525, LargeFern = 526, WhiteBanner = 527, OrangeBanner = 528, MagentaBanner = 529, LightBlueBanner = 530, YellowBanner = 531, LimeBanner = 532, PinkBanner = 533, GrayBanner = 534, LightGrayBanner = 535, CyanBanner = 536, PurpleBanner = 537, BlueBanner = 538, BrownBanner = 539, GreenBanner = 540, RedBanner = 541, BlackBanner = 542, WhiteWallBanner = 543, OrangeWallBanner = 544, MagentaWallBanner = 545, LightBlueWallBanner = 546, YellowWallBanner = 547, LimeWallBanner = 548, PinkWallBanner = 549, GrayWallBanner = 550, LightGrayWallBanner = 551, CyanWallBanner = 552, PurpleWallBanner = 553, BlueWallBanner = 554, BrownWallBanner = 555, GreenWallBanner = 556, RedWallBanner = 557, BlackWallBanner = 558, RedSandstone = 559, ChiseledRedSandstone = 560, CutRedSandstone = 561, RedSandstoneStairs = 562, OakSlab = 563, SpruceSlab = 564, BirchSlab = 565, JungleSlab = 566, AcaciaSlab = 567, CherrySlab = 568, DarkOakSlab = 569, PaleOakSlab = 570, MangroveSlab = 571, BambooSlab = 572, BambooMosaicSlab = 573, StoneSlab = 574, SmoothStoneSlab = 575, SandstoneSlab = 576, CutSandstoneSlab = 577, PetrifiedOakSlab = 578, CobblestoneSlab = 579, BrickSlab = 580, StoneBrickSlab = 581, MudBrickSlab = 582, NetherBrickSlab = 583, QuartzSlab = 584, RedSandstoneSlab = 585, CutRedSandstoneSlab = 586, PurpurSlab = 587, SmoothStone = 588, SmoothSandstone = 589, SmoothQuartz = 590, SmoothRedSandstone = 591, SpruceFenceGate = 592, BirchFenceGate = 593, JungleFenceGate = 594, AcaciaFenceGate = 595, CherryFenceGate = 596, DarkOakFenceGate = 597, PaleOakFenceGate = 598, MangroveFenceGate = 599, BambooFenceGate = 600, SpruceFence = 601, BirchFence = 602, JungleFence = 603, AcaciaFence = 604, CherryFence = 605, DarkOakFence = 606, PaleOakFence = 607, MangroveFence = 608, BambooFence = 609, SpruceDoor = 610, BirchDoor = 611, JungleDoor = 612, AcaciaDoor = 613, CherryDoor = 614, DarkOakDoor = 615, PaleOakDoor = 616, MangroveDoor = 617, BambooDoor = 618, EndRod = 619, ChorusPlant = 620, ChorusFlower = 621, PurpurBlock = 622, PurpurPillar = 623, PurpurStairs = 624, EndStoneBricks = 625, TorchflowerCrop = 626, PitcherCrop = 627, PitcherPlant = 628, Beetroots = 629, DirtPath = 630, EndGateway = 631, RepeatingCommandBlock = 632, ChainCommandBlock = 633, FrostedIce = 634, MagmaBlock = 635, NetherWartBlock = 636, RedNetherBricks = 637, BoneBlock = 638, StructureVoid = 639, Observer = 640, ShulkerBox = 641, WhiteShulkerBox = 642, OrangeShulkerBox = 643, MagentaShulkerBox = 644, LightBlueShulkerBox = 645, YellowShulkerBox = 646, LimeShulkerBox = 647, PinkShulkerBox = 648, GrayShulkerBox = 649, LightGrayShulkerBox = 650, CyanShulkerBox = 651, PurpleShulkerBox = 652, BlueShulkerBox = 653, BrownShulkerBox = 654, GreenShulkerBox = 655, RedShulkerBox = 656, BlackShulkerBox = 657, WhiteGlazedTerracotta = 658, OrangeGlazedTerracotta = 659, MagentaGlazedTerracotta = 660, LightBlueGlazedTerracotta = 661, YellowGlazedTerracotta = 662, LimeGlazedTerracotta = 663, PinkGlazedTerracotta = 664, GrayGlazedTerracotta = 665, LightGrayGlazedTerracotta = 666, CyanGlazedTerracotta = 667, PurpleGlazedTerracotta = 668, BlueGlazedTerracotta = 669, BrownGlazedTerracotta = 670, GreenGlazedTerracotta = 671, RedGlazedTerracotta = 672, BlackGlazedTerracotta = 673, WhiteConcrete = 674, OrangeConcrete = 675, MagentaConcrete = 676, LightBlueConcrete = 677, YellowConcrete = 678, LimeConcrete = 679, PinkConcrete = 680, GrayConcrete = 681, LightGrayConcrete = 682, CyanConcrete = 683, PurpleConcrete = 684, BlueConcrete = 685, BrownConcrete = 686, GreenConcrete = 687, RedConcrete = 688, BlackConcrete = 689, WhiteConcretePowder = 690, OrangeConcretePowder = 691, MagentaConcretePowder = 692, LightBlueConcretePowder = 693, YellowConcretePowder = 694, LimeConcretePowder = 695, PinkConcretePowder = 696, GrayConcretePowder = 697, LightGrayConcretePowder = 698, CyanConcretePowder = 699, PurpleConcretePowder = 700, BlueConcretePowder = 701, BrownConcretePowder = 702, GreenConcretePowder = 703, RedConcretePowder = 704, BlackConcretePowder = 705, Kelp = 706, KelpPlant = 707, DriedKelpBlock = 708, TurtleEgg = 709, SnifferEgg = 710, DeadTubeCoralBlock = 711, DeadBrainCoralBlock = 712, DeadBubbleCoralBlock = 713, DeadFireCoralBlock = 714, DeadHornCoralBlock = 715, TubeCoralBlock = 716, BrainCoralBlock = 717, BubbleCoralBlock = 718, FireCoralBlock = 719, HornCoralBlock = 720, DeadTubeCoral = 721, DeadBrainCoral = 722, DeadBubbleCoral = 723, DeadFireCoral = 724, DeadHornCoral = 725, TubeCoral = 726, BrainCoral = 727, BubbleCoral = 728, FireCoral = 729, HornCoral = 730, DeadTubeCoralFan = 731, DeadBrainCoralFan = 732, DeadBubbleCoralFan = 733, DeadFireCoralFan = 734, DeadHornCoralFan = 735, TubeCoralFan = 736, BrainCoralFan = 737, BubbleCoralFan = 738, FireCoralFan = 739, HornCoralFan = 740, DeadTubeCoralWallFan = 741, DeadBrainCoralWallFan = 742, DeadBubbleCoralWallFan = 743, DeadFireCoralWallFan = 744, DeadHornCoralWallFan = 745, TubeCoralWallFan = 746, BrainCoralWallFan = 747, BubbleCoralWallFan = 748, FireCoralWallFan = 749, HornCoralWallFan = 750, SeaPickle = 751, BlueIce = 752, Conduit = 753, BambooSapling = 754, Bamboo = 755, PottedBamboo = 756, VoidAir = 757, CaveAir = 758, BubbleColumn = 759, PolishedGraniteStairs = 760, SmoothRedSandstoneStairs = 761, MossyStoneBrickStairs = 762, PolishedDioriteStairs = 763, MossyCobblestoneStairs = 764, EndStoneBrickStairs = 765, StoneStairs = 766, SmoothSandstoneStairs = 767, SmoothQuartzStairs = 768, GraniteStairs = 769, AndesiteStairs = 770, RedNetherBrickStairs = 771, PolishedAndesiteStairs = 772, DioriteStairs = 773, PolishedGraniteSlab = 774, SmoothRedSandstoneSlab = 775, MossyStoneBrickSlab = 776, PolishedDioriteSlab = 777, MossyCobblestoneSlab = 778, EndStoneBrickSlab = 779, SmoothSandstoneSlab = 780, SmoothQuartzSlab = 781, GraniteSlab = 782, AndesiteSlab = 783, RedNetherBrickSlab = 784, PolishedAndesiteSlab = 785, DioriteSlab = 786, BrickWall = 787, PrismarineWall = 788, RedSandstoneWall = 789, MossyStoneBrickWall = 790, GraniteWall = 791, StoneBrickWall = 792, MudBrickWall = 793, NetherBrickWall = 794, AndesiteWall = 795, RedNetherBrickWall = 796, SandstoneWall = 797, EndStoneBrickWall = 798, DioriteWall = 799, Scaffolding = 800, Loom = 801, Barrel = 802, Smoker = 803, BlastFurnace = 804, CartographyTable = 805, FletchingTable = 806, Grindstone = 807, Lectern = 808, SmithingTable = 809, Stonecutter = 810, Bell = 811, Lantern = 812, SoulLantern = 813, Campfire = 814, SoulCampfire = 815, SweetBerryBush = 816, WarpedStem = 817, StrippedWarpedStem = 818, WarpedHyphae = 819, StrippedWarpedHyphae = 820, WarpedNylium = 821, WarpedFungus = 822, WarpedWartBlock = 823, WarpedRoots = 824, NetherSprouts = 825, CrimsonStem = 826, StrippedCrimsonStem = 827, CrimsonHyphae = 828, StrippedCrimsonHyphae = 829, CrimsonNylium = 830, CrimsonFungus = 831, Shroomlight = 832, WeepingVines = 833, WeepingVinesPlant = 834, TwistingVines = 835, TwistingVinesPlant = 836, CrimsonRoots = 837, CrimsonPlanks = 838, WarpedPlanks = 839, CrimsonSlab = 840, WarpedSlab = 841, CrimsonPressurePlate = 842, WarpedPressurePlate = 843, CrimsonFence = 844, WarpedFence = 845, CrimsonTrapdoor = 846, WarpedTrapdoor = 847, CrimsonFenceGate = 848, WarpedFenceGate = 849, CrimsonStairs = 850, WarpedStairs = 851, CrimsonButton = 852, WarpedButton = 853, CrimsonDoor = 854, WarpedDoor = 855, CrimsonSign = 856, WarpedSign = 857, CrimsonWallSign = 858, WarpedWallSign = 859, StructureBlock = 860, Jigsaw = 861, Composter = 862, Target = 863, BeeNest = 864, Beehive = 865, HoneyBlock = 866, HoneycombBlock = 867, NetheriteBlock = 868, AncientDebris = 869, CryingObsidian = 870, RespawnAnchor = 871, PottedCrimsonFungus = 872, PottedWarpedFungus = 873, PottedCrimsonRoots = 874, PottedWarpedRoots = 875, Lodestone = 876, Blackstone = 877, BlackstoneStairs = 878, BlackstoneWall = 879, BlackstoneSlab = 880, PolishedBlackstone = 881, PolishedBlackstoneBricks = 882, CrackedPolishedBlackstoneBricks = 883, ChiseledPolishedBlackstone = 884, PolishedBlackstoneBrickSlab = 885, PolishedBlackstoneBrickStairs = 886, PolishedBlackstoneBrickWall = 887, GildedBlackstone = 888, PolishedBlackstoneStairs = 889, PolishedBlackstoneSlab = 890, PolishedBlackstonePressurePlate = 891, PolishedBlackstoneButton = 892, PolishedBlackstoneWall = 893, ChiseledNetherBricks = 894, CrackedNetherBricks = 895, QuartzBricks = 896, Candle = 897, WhiteCandle = 898, OrangeCandle = 899, MagentaCandle = 900, LightBlueCandle = 901, YellowCandle = 902, LimeCandle = 903, PinkCandle = 904, GrayCandle = 905, LightGrayCandle = 906, CyanCandle = 907, PurpleCandle = 908, BlueCandle = 909, BrownCandle = 910, GreenCandle = 911, RedCandle = 912, BlackCandle = 913, CandleCake = 914, WhiteCandleCake = 915, OrangeCandleCake = 916, MagentaCandleCake = 917, LightBlueCandleCake = 918, YellowCandleCake = 919, LimeCandleCake = 920, PinkCandleCake = 921, GrayCandleCake = 922, LightGrayCandleCake = 923, CyanCandleCake = 924, PurpleCandleCake = 925, BlueCandleCake = 926, BrownCandleCake = 927, GreenCandleCake = 928, RedCandleCake = 929, BlackCandleCake = 930, AmethystBlock = 931, BuddingAmethyst = 932, AmethystCluster = 933, LargeAmethystBud = 934, MediumAmethystBud = 935, SmallAmethystBud = 936, Tuff = 937, TuffSlab = 938, TuffStairs = 939, TuffWall = 940, PolishedTuff = 941, PolishedTuffSlab = 942, PolishedTuffStairs = 943, PolishedTuffWall = 944, ChiseledTuff = 945, TuffBricks = 946, TuffBrickSlab = 947, TuffBrickStairs = 948, TuffBrickWall = 949, ChiseledTuffBricks = 950, Calcite = 951, TintedGlass = 952, PowderSnow = 953, SculkSensor = 954, CalibratedSculkSensor = 955, Sculk = 956, SculkVein = 957, SculkCatalyst = 958, SculkShrieker = 959, CopperBlock = 960, ExposedCopper = 961, WeatheredCopper = 962, OxidizedCopper = 963, CopperOre = 964, DeepslateCopperOre = 965, OxidizedCutCopper = 966, WeatheredCutCopper = 967, ExposedCutCopper = 968, CutCopper = 969, OxidizedChiseledCopper = 970, WeatheredChiseledCopper = 971, ExposedChiseledCopper = 972, ChiseledCopper = 973, WaxedOxidizedChiseledCopper = 974, WaxedWeatheredChiseledCopper = 975, WaxedExposedChiseledCopper = 976, WaxedChiseledCopper = 977, OxidizedCutCopperStairs = 978, WeatheredCutCopperStairs = 979, ExposedCutCopperStairs = 980, CutCopperStairs = 981, OxidizedCutCopperSlab = 982, WeatheredCutCopperSlab = 983, ExposedCutCopperSlab = 984, CutCopperSlab = 985, WaxedCopperBlock = 986, WaxedWeatheredCopper = 987, WaxedExposedCopper = 988, WaxedOxidizedCopper = 989, WaxedOxidizedCutCopper = 990, WaxedWeatheredCutCopper = 991, WaxedExposedCutCopper = 992, WaxedCutCopper = 993, WaxedOxidizedCutCopperStairs = 994, WaxedWeatheredCutCopperStairs = 995, WaxedExposedCutCopperStairs = 996, WaxedCutCopperStairs = 997, WaxedOxidizedCutCopperSlab = 998, WaxedWeatheredCutCopperSlab = 999, WaxedExposedCutCopperSlab = 1_000, WaxedCutCopperSlab = 1_001, CopperDoor = 1_002, ExposedCopperDoor = 1_003, OxidizedCopperDoor = 1_004, WeatheredCopperDoor = 1_005, WaxedCopperDoor = 1_006, WaxedExposedCopperDoor = 1_007, WaxedOxidizedCopperDoor = 1_008, WaxedWeatheredCopperDoor = 1_009, CopperTrapdoor = 1_010, ExposedCopperTrapdoor = 1_011, OxidizedCopperTrapdoor = 1_012, WeatheredCopperTrapdoor = 1_013, WaxedCopperTrapdoor = 1_014, WaxedExposedCopperTrapdoor = 1_015, WaxedOxidizedCopperTrapdoor = 1_016, WaxedWeatheredCopperTrapdoor = 1_017, CopperGrate = 1_018, ExposedCopperGrate = 1_019, WeatheredCopperGrate = 1_020, OxidizedCopperGrate = 1_021, WaxedCopperGrate = 1_022, WaxedExposedCopperGrate = 1_023, WaxedWeatheredCopperGrate = 1_024, WaxedOxidizedCopperGrate = 1_025, CopperBulb = 1_026, ExposedCopperBulb = 1_027, WeatheredCopperBulb = 1_028, OxidizedCopperBulb = 1_029, WaxedCopperBulb = 1_030, WaxedExposedCopperBulb = 1_031, WaxedWeatheredCopperBulb = 1_032, WaxedOxidizedCopperBulb = 1_033, LightningRod = 1_034, PointedDripstone = 1_035, DripstoneBlock = 1_036, CaveVines = 1_037, CaveVinesPlant = 1_038, SporeBlossom = 1_039, Azalea = 1_040, FloweringAzalea = 1_041, MossCarpet = 1_042, PinkPetals = 1_043, MossBlock = 1_044, BigDripleaf = 1_045, BigDripleafStem = 1_046, SmallDripleaf = 1_047, HangingRoots = 1_048, RootedDirt = 1_049, Mud = 1_050, Deepslate = 1_051, CobbledDeepslate = 1_052, CobbledDeepslateStairs = 1_053, CobbledDeepslateSlab = 1_054, CobbledDeepslateWall = 1_055, PolishedDeepslate = 1_056, PolishedDeepslateStairs = 1_057, PolishedDeepslateSlab = 1_058, PolishedDeepslateWall = 1_059, DeepslateTiles = 1_060, DeepslateTileStairs = 1_061, DeepslateTileSlab = 1_062, DeepslateTileWall = 1_063, DeepslateBricks = 1_064, DeepslateBrickStairs = 1_065, DeepslateBrickSlab = 1_066, DeepslateBrickWall = 1_067, ChiseledDeepslate = 1_068, CrackedDeepslateBricks = 1_069, CrackedDeepslateTiles = 1_070, InfestedDeepslate = 1_071, SmoothBasalt = 1_072, RawIronBlock = 1_073, RawCopperBlock = 1_074, RawGoldBlock = 1_075, PottedAzaleaBush = 1_076, PottedFloweringAzaleaBush = 1_077, OchreFroglight = 1_078, VerdantFroglight = 1_079, PearlescentFroglight = 1_080, Frogspawn = 1_081, ReinforcedDeepslate = 1_082, DecoratedPot = 1_083, Crafter = 1_084, TrialSpawner = 1_085, Vault = 1_086, HeavyCore = 1_087, PaleMossBlock = 1_088, PaleMossCarpet = 1_089, PaleHangingMoss = 1_090, OpenEyeblossom = 1_091, ClosedEyeblossom = 1_092, PottedOpenEyeblossom = 1_093, PottedClosedEyeblossom = 1_094,
}
Expand description

An enum of every type of block in the game. To represent a block state, use azalea_block::BlockState or the azalea_block::Block trait.

Variants§

§

Air = 0

§

Stone = 1

§

Granite = 2

§

PolishedGranite = 3

§

Diorite = 4

§

PolishedDiorite = 5

§

Andesite = 6

§

PolishedAndesite = 7

§

GrassBlock = 8

§

Dirt = 9

§

CoarseDirt = 10

§

Podzol = 11

§

Cobblestone = 12

§

OakPlanks = 13

§

SprucePlanks = 14

§

BirchPlanks = 15

§

JunglePlanks = 16

§

AcaciaPlanks = 17

§

CherryPlanks = 18

§

DarkOakPlanks = 19

§

PaleOakWood = 20

§

PaleOakPlanks = 21

§

MangrovePlanks = 22

§

BambooPlanks = 23

§

BambooMosaic = 24

§

OakSapling = 25

§

SpruceSapling = 26

§

BirchSapling = 27

§

JungleSapling = 28

§

AcaciaSapling = 29

§

CherrySapling = 30

§

DarkOakSapling = 31

§

PaleOakSapling = 32

§

MangrovePropagule = 33

§

Bedrock = 34

§

Water = 35

§

Lava = 36

§

Sand = 37

§

SuspiciousSand = 38

§

RedSand = 39

§

Gravel = 40

§

SuspiciousGravel = 41

§

GoldOre = 42

§

DeepslateGoldOre = 43

§

IronOre = 44

§

DeepslateIronOre = 45

§

CoalOre = 46

§

DeepslateCoalOre = 47

§

NetherGoldOre = 48

§

OakLog = 49

§

SpruceLog = 50

§

BirchLog = 51

§

JungleLog = 52

§

AcaciaLog = 53

§

CherryLog = 54

§

DarkOakLog = 55

§

PaleOakLog = 56

§

MangroveLog = 57

§

MangroveRoots = 58

§

MuddyMangroveRoots = 59

§

BambooBlock = 60

§

StrippedSpruceLog = 61

§

StrippedBirchLog = 62

§

StrippedJungleLog = 63

§

StrippedAcaciaLog = 64

§

StrippedCherryLog = 65

§

StrippedDarkOakLog = 66

§

StrippedPaleOakLog = 67

§

StrippedOakLog = 68

§

StrippedMangroveLog = 69

§

StrippedBambooBlock = 70

§

OakWood = 71

§

SpruceWood = 72

§

BirchWood = 73

§

JungleWood = 74

§

AcaciaWood = 75

§

CherryWood = 76

§

DarkOakWood = 77

§

MangroveWood = 78

§

StrippedOakWood = 79

§

StrippedSpruceWood = 80

§

StrippedBirchWood = 81

§

StrippedJungleWood = 82

§

StrippedAcaciaWood = 83

§

StrippedCherryWood = 84

§

StrippedDarkOakWood = 85

§

StrippedPaleOakWood = 86

§

StrippedMangroveWood = 87

§

OakLeaves = 88

§

SpruceLeaves = 89

§

BirchLeaves = 90

§

JungleLeaves = 91

§

AcaciaLeaves = 92

§

CherryLeaves = 93

§

DarkOakLeaves = 94

§

PaleOakLeaves = 95

§

MangroveLeaves = 96

§

AzaleaLeaves = 97

§

FloweringAzaleaLeaves = 98

§

Sponge = 99

§

WetSponge = 100

§

Glass = 101

§

LapisOre = 102

§

DeepslateLapisOre = 103

§

LapisBlock = 104

§

Dispenser = 105

§

Sandstone = 106

§

ChiseledSandstone = 107

§

CutSandstone = 108

§

NoteBlock = 109

§

WhiteBed = 110

§

OrangeBed = 111

§

MagentaBed = 112

§

LightBlueBed = 113

§

YellowBed = 114

§

LimeBed = 115

§

PinkBed = 116

§

GrayBed = 117

§

LightGrayBed = 118

§

CyanBed = 119

§

PurpleBed = 120

§

BlueBed = 121

§

BrownBed = 122

§

GreenBed = 123

§

RedBed = 124

§

BlackBed = 125

§

PoweredRail = 126

§

DetectorRail = 127

§

StickyPiston = 128

§

Cobweb = 129

§

ShortGrass = 130

§

Fern = 131

§

DeadBush = 132

§

Seagrass = 133

§

TallSeagrass = 134

§

Piston = 135

§

PistonHead = 136

§

WhiteWool = 137

§

OrangeWool = 138

§

MagentaWool = 139

§

LightBlueWool = 140

§

YellowWool = 141

§

LimeWool = 142

§

PinkWool = 143

§

GrayWool = 144

§

LightGrayWool = 145

§

CyanWool = 146

§

PurpleWool = 147

§

BlueWool = 148

§

BrownWool = 149

§

GreenWool = 150

§

RedWool = 151

§

BlackWool = 152

§

MovingPiston = 153

§

Dandelion = 154

§

Torchflower = 155

§

Poppy = 156

§

BlueOrchid = 157

§

Allium = 158

§

AzureBluet = 159

§

RedTulip = 160

§

OrangeTulip = 161

§

WhiteTulip = 162

§

PinkTulip = 163

§

OxeyeDaisy = 164

§

Cornflower = 165

§

WitherRose = 166

§

LilyOfTheValley = 167

§

BrownMushroom = 168

§

RedMushroom = 169

§

GoldBlock = 170

§

IronBlock = 171

§

Bricks = 172

§

Tnt = 173

§

Bookshelf = 174

§

ChiseledBookshelf = 175

§

MossyCobblestone = 176

§

Obsidian = 177

§

Torch = 178

§

WallTorch = 179

§

Fire = 180

§

SoulFire = 181

§

Spawner = 182

§

CreakingHeart = 183

§

OakStairs = 184

§

Chest = 185

§

RedstoneWire = 186

§

DiamondOre = 187

§

DeepslateDiamondOre = 188

§

DiamondBlock = 189

§

CraftingTable = 190

§

Wheat = 191

§

Farmland = 192

§

Furnace = 193

§

OakSign = 194

§

SpruceSign = 195

§

BirchSign = 196

§

AcaciaSign = 197

§

CherrySign = 198

§

JungleSign = 199

§

DarkOakSign = 200

§

PaleOakSign = 201

§

MangroveSign = 202

§

BambooSign = 203

§

OakDoor = 204

§

Ladder = 205

§

Rail = 206

§

CobblestoneStairs = 207

§

OakWallSign = 208

§

SpruceWallSign = 209

§

BirchWallSign = 210

§

AcaciaWallSign = 211

§

CherryWallSign = 212

§

JungleWallSign = 213

§

DarkOakWallSign = 214

§

PaleOakWallSign = 215

§

MangroveWallSign = 216

§

BambooWallSign = 217

§

OakHangingSign = 218

§

SpruceHangingSign = 219

§

BirchHangingSign = 220

§

AcaciaHangingSign = 221

§

CherryHangingSign = 222

§

JungleHangingSign = 223

§

DarkOakHangingSign = 224

§

PaleOakHangingSign = 225

§

CrimsonHangingSign = 226

§

WarpedHangingSign = 227

§

MangroveHangingSign = 228

§

BambooHangingSign = 229

§

OakWallHangingSign = 230

§

SpruceWallHangingSign = 231

§

BirchWallHangingSign = 232

§

AcaciaWallHangingSign = 233

§

CherryWallHangingSign = 234

§

JungleWallHangingSign = 235

§

DarkOakWallHangingSign = 236

§

PaleOakWallHangingSign = 237

§

MangroveWallHangingSign = 238

§

CrimsonWallHangingSign = 239

§

WarpedWallHangingSign = 240

§

BambooWallHangingSign = 241

§

Lever = 242

§

StonePressurePlate = 243

§

IronDoor = 244

§

OakPressurePlate = 245

§

SprucePressurePlate = 246

§

BirchPressurePlate = 247

§

JunglePressurePlate = 248

§

AcaciaPressurePlate = 249

§

CherryPressurePlate = 250

§

DarkOakPressurePlate = 251

§

PaleOakPressurePlate = 252

§

MangrovePressurePlate = 253

§

BambooPressurePlate = 254

§

RedstoneOre = 255

§

DeepslateRedstoneOre = 256

§

RedstoneTorch = 257

§

RedstoneWallTorch = 258

§

StoneButton = 259

§

Snow = 260

§

Ice = 261

§

SnowBlock = 262

§

Cactus = 263

§

Clay = 264

§

SugarCane = 265

§

Jukebox = 266

§

OakFence = 267

§

Netherrack = 268

§

SoulSand = 269

§

SoulSoil = 270

§

Basalt = 271

§

PolishedBasalt = 272

§

SoulTorch = 273

§

SoulWallTorch = 274

§

Glowstone = 275

§

NetherPortal = 276

§

CarvedPumpkin = 277

§

JackOLantern = 278

§

Cake = 279

§

Repeater = 280

§

WhiteStainedGlass = 281

§

OrangeStainedGlass = 282

§

MagentaStainedGlass = 283

§

LightBlueStainedGlass = 284

§

YellowStainedGlass = 285

§

LimeStainedGlass = 286

§

PinkStainedGlass = 287

§

GrayStainedGlass = 288

§

LightGrayStainedGlass = 289

§

CyanStainedGlass = 290

§

PurpleStainedGlass = 291

§

BlueStainedGlass = 292

§

BrownStainedGlass = 293

§

GreenStainedGlass = 294

§

RedStainedGlass = 295

§

BlackStainedGlass = 296

§

OakTrapdoor = 297

§

SpruceTrapdoor = 298

§

BirchTrapdoor = 299

§

JungleTrapdoor = 300

§

AcaciaTrapdoor = 301

§

CherryTrapdoor = 302

§

DarkOakTrapdoor = 303

§

PaleOakTrapdoor = 304

§

MangroveTrapdoor = 305

§

BambooTrapdoor = 306

§

StoneBricks = 307

§

MossyStoneBricks = 308

§

CrackedStoneBricks = 309

§

ChiseledStoneBricks = 310

§

PackedMud = 311

§

MudBricks = 312

§

InfestedStone = 313

§

InfestedCobblestone = 314

§

InfestedStoneBricks = 315

§

InfestedMossyStoneBricks = 316

§

InfestedCrackedStoneBricks = 317

§

InfestedChiseledStoneBricks = 318

§

BrownMushroomBlock = 319

§

RedMushroomBlock = 320

§

MushroomStem = 321

§

IronBars = 322

§

Chain = 323

§

GlassPane = 324

§

Pumpkin = 325

§

Melon = 326

§

AttachedPumpkinStem = 327

§

AttachedMelonStem = 328

§

PumpkinStem = 329

§

MelonStem = 330

§

Vine = 331

§

GlowLichen = 332

§

ResinClump = 333

§

OakFenceGate = 334

§

BrickStairs = 335

§

StoneBrickStairs = 336

§

MudBrickStairs = 337

§

Mycelium = 338

§

LilyPad = 339

§

ResinBlock = 340

§

ResinBricks = 341

§

ResinBrickStairs = 342

§

ResinBrickSlab = 343

§

ResinBrickWall = 344

§

ChiseledResinBricks = 345

§

NetherBricks = 346

§

NetherBrickFence = 347

§

NetherBrickStairs = 348

§

NetherWart = 349

§

EnchantingTable = 350

§

BrewingStand = 351

§

Cauldron = 352

§

WaterCauldron = 353

§

LavaCauldron = 354

§

PowderSnowCauldron = 355

§

EndPortal = 356

§

EndPortalFrame = 357

§

EndStone = 358

§

DragonEgg = 359

§

RedstoneLamp = 360

§

Cocoa = 361

§

SandstoneStairs = 362

§

EmeraldOre = 363

§

DeepslateEmeraldOre = 364

§

EnderChest = 365

§

TripwireHook = 366

§

Tripwire = 367

§

EmeraldBlock = 368

§

SpruceStairs = 369

§

BirchStairs = 370

§

JungleStairs = 371

§

CommandBlock = 372

§

Beacon = 373

§

CobblestoneWall = 374

§

MossyCobblestoneWall = 375

§

FlowerPot = 376

§

PottedTorchflower = 377

§

PottedOakSapling = 378

§

PottedSpruceSapling = 379

§

PottedBirchSapling = 380

§

PottedJungleSapling = 381

§

PottedAcaciaSapling = 382

§

PottedCherrySapling = 383

§

PottedDarkOakSapling = 384

§

PottedPaleOakSapling = 385

§

PottedMangrovePropagule = 386

§

PottedFern = 387

§

PottedDandelion = 388

§

PottedPoppy = 389

§

PottedBlueOrchid = 390

§

PottedAllium = 391

§

PottedAzureBluet = 392

§

PottedRedTulip = 393

§

PottedOrangeTulip = 394

§

PottedWhiteTulip = 395

§

PottedPinkTulip = 396

§

PottedOxeyeDaisy = 397

§

PottedCornflower = 398

§

PottedLilyOfTheValley = 399

§

PottedWitherRose = 400

§

PottedRedMushroom = 401

§

PottedBrownMushroom = 402

§

PottedDeadBush = 403

§

PottedCactus = 404

§

Carrots = 405

§

Potatoes = 406

§

OakButton = 407

§

SpruceButton = 408

§

BirchButton = 409

§

JungleButton = 410

§

AcaciaButton = 411

§

CherryButton = 412

§

DarkOakButton = 413

§

PaleOakButton = 414

§

MangroveButton = 415

§

BambooButton = 416

§

SkeletonSkull = 417

§

SkeletonWallSkull = 418

§

WitherSkeletonSkull = 419

§

WitherSkeletonWallSkull = 420

§

ZombieHead = 421

§

ZombieWallHead = 422

§

PlayerHead = 423

§

PlayerWallHead = 424

§

CreeperHead = 425

§

CreeperWallHead = 426

§

DragonHead = 427

§

DragonWallHead = 428

§

PiglinHead = 429

§

PiglinWallHead = 430

§

Anvil = 431

§

ChippedAnvil = 432

§

DamagedAnvil = 433

§

TrappedChest = 434

§

LightWeightedPressurePlate = 435

§

HeavyWeightedPressurePlate = 436

§

Comparator = 437

§

DaylightDetector = 438

§

RedstoneBlock = 439

§

NetherQuartzOre = 440

§

Hopper = 441

§

QuartzBlock = 442

§

ChiseledQuartzBlock = 443

§

QuartzPillar = 444

§

QuartzStairs = 445

§

ActivatorRail = 446

§

Dropper = 447

§

WhiteTerracotta = 448

§

OrangeTerracotta = 449

§

MagentaTerracotta = 450

§

LightBlueTerracotta = 451

§

YellowTerracotta = 452

§

LimeTerracotta = 453

§

PinkTerracotta = 454

§

GrayTerracotta = 455

§

LightGrayTerracotta = 456

§

CyanTerracotta = 457

§

PurpleTerracotta = 458

§

BlueTerracotta = 459

§

BrownTerracotta = 460

§

GreenTerracotta = 461

§

RedTerracotta = 462

§

BlackTerracotta = 463

§

WhiteStainedGlassPane = 464

§

OrangeStainedGlassPane = 465

§

MagentaStainedGlassPane = 466

§

LightBlueStainedGlassPane = 467

§

YellowStainedGlassPane = 468

§

LimeStainedGlassPane = 469

§

PinkStainedGlassPane = 470

§

GrayStainedGlassPane = 471

§

LightGrayStainedGlassPane = 472

§

CyanStainedGlassPane = 473

§

PurpleStainedGlassPane = 474

§

BlueStainedGlassPane = 475

§

BrownStainedGlassPane = 476

§

GreenStainedGlassPane = 477

§

RedStainedGlassPane = 478

§

BlackStainedGlassPane = 479

§

AcaciaStairs = 480

§

CherryStairs = 481

§

DarkOakStairs = 482

§

PaleOakStairs = 483

§

MangroveStairs = 484

§

BambooStairs = 485

§

BambooMosaicStairs = 486

§

SlimeBlock = 487

§

Barrier = 488

§

Light = 489

§

IronTrapdoor = 490

§

Prismarine = 491

§

PrismarineBricks = 492

§

DarkPrismarine = 493

§

PrismarineStairs = 494

§

PrismarineBrickStairs = 495

§

DarkPrismarineStairs = 496

§

PrismarineSlab = 497

§

PrismarineBrickSlab = 498

§

DarkPrismarineSlab = 499

§

SeaLantern = 500

§

HayBlock = 501

§

WhiteCarpet = 502

§

OrangeCarpet = 503

§

MagentaCarpet = 504

§

LightBlueCarpet = 505

§

YellowCarpet = 506

§

LimeCarpet = 507

§

PinkCarpet = 508

§

GrayCarpet = 509

§

LightGrayCarpet = 510

§

CyanCarpet = 511

§

PurpleCarpet = 512

§

BlueCarpet = 513

§

BrownCarpet = 514

§

GreenCarpet = 515

§

RedCarpet = 516

§

BlackCarpet = 517

§

Terracotta = 518

§

CoalBlock = 519

§

PackedIce = 520

§

Sunflower = 521

§

Lilac = 522

§

RoseBush = 523

§

Peony = 524

§

TallGrass = 525

§

LargeFern = 526

§

WhiteBanner = 527

§

OrangeBanner = 528

§

MagentaBanner = 529

§

LightBlueBanner = 530

§

YellowBanner = 531

§

LimeBanner = 532

§

PinkBanner = 533

§

GrayBanner = 534

§

LightGrayBanner = 535

§

CyanBanner = 536

§

PurpleBanner = 537

§

BlueBanner = 538

§

BrownBanner = 539

§

GreenBanner = 540

§

RedBanner = 541

§

BlackBanner = 542

§

WhiteWallBanner = 543

§

OrangeWallBanner = 544

§

MagentaWallBanner = 545

§

LightBlueWallBanner = 546

§

YellowWallBanner = 547

§

LimeWallBanner = 548

§

PinkWallBanner = 549

§

GrayWallBanner = 550

§

LightGrayWallBanner = 551

§

CyanWallBanner = 552

§

PurpleWallBanner = 553

§

BlueWallBanner = 554

§

BrownWallBanner = 555

§

GreenWallBanner = 556

§

RedWallBanner = 557

§

BlackWallBanner = 558

§

RedSandstone = 559

§

ChiseledRedSandstone = 560

§

CutRedSandstone = 561

§

RedSandstoneStairs = 562

§

OakSlab = 563

§

SpruceSlab = 564

§

BirchSlab = 565

§

JungleSlab = 566

§

AcaciaSlab = 567

§

CherrySlab = 568

§

DarkOakSlab = 569

§

PaleOakSlab = 570

§

MangroveSlab = 571

§

BambooSlab = 572

§

BambooMosaicSlab = 573

§

StoneSlab = 574

§

SmoothStoneSlab = 575

§

SandstoneSlab = 576

§

CutSandstoneSlab = 577

§

PetrifiedOakSlab = 578

§

CobblestoneSlab = 579

§

BrickSlab = 580

§

StoneBrickSlab = 581

§

MudBrickSlab = 582

§

NetherBrickSlab = 583

§

QuartzSlab = 584

§

RedSandstoneSlab = 585

§

CutRedSandstoneSlab = 586

§

PurpurSlab = 587

§

SmoothStone = 588

§

SmoothSandstone = 589

§

SmoothQuartz = 590

§

SmoothRedSandstone = 591

§

SpruceFenceGate = 592

§

BirchFenceGate = 593

§

JungleFenceGate = 594

§

AcaciaFenceGate = 595

§

CherryFenceGate = 596

§

DarkOakFenceGate = 597

§

PaleOakFenceGate = 598

§

MangroveFenceGate = 599

§

BambooFenceGate = 600

§

SpruceFence = 601

§

BirchFence = 602

§

JungleFence = 603

§

AcaciaFence = 604

§

CherryFence = 605

§

DarkOakFence = 606

§

PaleOakFence = 607

§

MangroveFence = 608

§

BambooFence = 609

§

SpruceDoor = 610

§

BirchDoor = 611

§

JungleDoor = 612

§

AcaciaDoor = 613

§

CherryDoor = 614

§

DarkOakDoor = 615

§

PaleOakDoor = 616

§

MangroveDoor = 617

§

BambooDoor = 618

§

EndRod = 619

§

ChorusPlant = 620

§

ChorusFlower = 621

§

PurpurBlock = 622

§

PurpurPillar = 623

§

PurpurStairs = 624

§

EndStoneBricks = 625

§

TorchflowerCrop = 626

§

PitcherCrop = 627

§

PitcherPlant = 628

§

Beetroots = 629

§

DirtPath = 630

§

EndGateway = 631

§

RepeatingCommandBlock = 632

§

ChainCommandBlock = 633

§

FrostedIce = 634

§

MagmaBlock = 635

§

NetherWartBlock = 636

§

RedNetherBricks = 637

§

BoneBlock = 638

§

StructureVoid = 639

§

Observer = 640

§

ShulkerBox = 641

§

WhiteShulkerBox = 642

§

OrangeShulkerBox = 643

§

MagentaShulkerBox = 644

§

LightBlueShulkerBox = 645

§

YellowShulkerBox = 646

§

LimeShulkerBox = 647

§

PinkShulkerBox = 648

§

GrayShulkerBox = 649

§

LightGrayShulkerBox = 650

§

CyanShulkerBox = 651

§

PurpleShulkerBox = 652

§

BlueShulkerBox = 653

§

BrownShulkerBox = 654

§

GreenShulkerBox = 655

§

RedShulkerBox = 656

§

BlackShulkerBox = 657

§

WhiteGlazedTerracotta = 658

§

OrangeGlazedTerracotta = 659

§

MagentaGlazedTerracotta = 660

§

LightBlueGlazedTerracotta = 661

§

YellowGlazedTerracotta = 662

§

LimeGlazedTerracotta = 663

§

PinkGlazedTerracotta = 664

§

GrayGlazedTerracotta = 665

§

LightGrayGlazedTerracotta = 666

§

CyanGlazedTerracotta = 667

§

PurpleGlazedTerracotta = 668

§

BlueGlazedTerracotta = 669

§

BrownGlazedTerracotta = 670

§

GreenGlazedTerracotta = 671

§

RedGlazedTerracotta = 672

§

BlackGlazedTerracotta = 673

§

WhiteConcrete = 674

§

OrangeConcrete = 675

§

MagentaConcrete = 676

§

LightBlueConcrete = 677

§

YellowConcrete = 678

§

LimeConcrete = 679

§

PinkConcrete = 680

§

GrayConcrete = 681

§

LightGrayConcrete = 682

§

CyanConcrete = 683

§

PurpleConcrete = 684

§

BlueConcrete = 685

§

BrownConcrete = 686

§

GreenConcrete = 687

§

RedConcrete = 688

§

BlackConcrete = 689

§

WhiteConcretePowder = 690

§

OrangeConcretePowder = 691

§

MagentaConcretePowder = 692

§

LightBlueConcretePowder = 693

§

YellowConcretePowder = 694

§

LimeConcretePowder = 695

§

PinkConcretePowder = 696

§

GrayConcretePowder = 697

§

LightGrayConcretePowder = 698

§

CyanConcretePowder = 699

§

PurpleConcretePowder = 700

§

BlueConcretePowder = 701

§

BrownConcretePowder = 702

§

GreenConcretePowder = 703

§

RedConcretePowder = 704

§

BlackConcretePowder = 705

§

Kelp = 706

§

KelpPlant = 707

§

DriedKelpBlock = 708

§

TurtleEgg = 709

§

SnifferEgg = 710

§

DeadTubeCoralBlock = 711

§

DeadBrainCoralBlock = 712

§

DeadBubbleCoralBlock = 713

§

DeadFireCoralBlock = 714

§

DeadHornCoralBlock = 715

§

TubeCoralBlock = 716

§

BrainCoralBlock = 717

§

BubbleCoralBlock = 718

§

FireCoralBlock = 719

§

HornCoralBlock = 720

§

DeadTubeCoral = 721

§

DeadBrainCoral = 722

§

DeadBubbleCoral = 723

§

DeadFireCoral = 724

§

DeadHornCoral = 725

§

TubeCoral = 726

§

BrainCoral = 727

§

BubbleCoral = 728

§

FireCoral = 729

§

HornCoral = 730

§

DeadTubeCoralFan = 731

§

DeadBrainCoralFan = 732

§

DeadBubbleCoralFan = 733

§

DeadFireCoralFan = 734

§

DeadHornCoralFan = 735

§

TubeCoralFan = 736

§

BrainCoralFan = 737

§

BubbleCoralFan = 738

§

FireCoralFan = 739

§

HornCoralFan = 740

§

DeadTubeCoralWallFan = 741

§

DeadBrainCoralWallFan = 742

§

DeadBubbleCoralWallFan = 743

§

DeadFireCoralWallFan = 744

§

DeadHornCoralWallFan = 745

§

TubeCoralWallFan = 746

§

BrainCoralWallFan = 747

§

BubbleCoralWallFan = 748

§

FireCoralWallFan = 749

§

HornCoralWallFan = 750

§

SeaPickle = 751

§

BlueIce = 752

§

Conduit = 753

§

BambooSapling = 754

§

Bamboo = 755

§

PottedBamboo = 756

§

VoidAir = 757

§

CaveAir = 758

§

BubbleColumn = 759

§

PolishedGraniteStairs = 760

§

SmoothRedSandstoneStairs = 761

§

MossyStoneBrickStairs = 762

§

PolishedDioriteStairs = 763

§

MossyCobblestoneStairs = 764

§

EndStoneBrickStairs = 765

§

StoneStairs = 766

§

SmoothSandstoneStairs = 767

§

SmoothQuartzStairs = 768

§

GraniteStairs = 769

§

AndesiteStairs = 770

§

RedNetherBrickStairs = 771

§

PolishedAndesiteStairs = 772

§

DioriteStairs = 773

§

PolishedGraniteSlab = 774

§

SmoothRedSandstoneSlab = 775

§

MossyStoneBrickSlab = 776

§

PolishedDioriteSlab = 777

§

MossyCobblestoneSlab = 778

§

EndStoneBrickSlab = 779

§

SmoothSandstoneSlab = 780

§

SmoothQuartzSlab = 781

§

GraniteSlab = 782

§

AndesiteSlab = 783

§

RedNetherBrickSlab = 784

§

PolishedAndesiteSlab = 785

§

DioriteSlab = 786

§

BrickWall = 787

§

PrismarineWall = 788

§

RedSandstoneWall = 789

§

MossyStoneBrickWall = 790

§

GraniteWall = 791

§

StoneBrickWall = 792

§

MudBrickWall = 793

§

NetherBrickWall = 794

§

AndesiteWall = 795

§

RedNetherBrickWall = 796

§

SandstoneWall = 797

§

EndStoneBrickWall = 798

§

DioriteWall = 799

§

Scaffolding = 800

§

Loom = 801

§

Barrel = 802

§

Smoker = 803

§

BlastFurnace = 804

§

CartographyTable = 805

§

FletchingTable = 806

§

Grindstone = 807

§

Lectern = 808

§

SmithingTable = 809

§

Stonecutter = 810

§

Bell = 811

§

Lantern = 812

§

SoulLantern = 813

§

Campfire = 814

§

SoulCampfire = 815

§

SweetBerryBush = 816

§

WarpedStem = 817

§

StrippedWarpedStem = 818

§

WarpedHyphae = 819

§

StrippedWarpedHyphae = 820

§

WarpedNylium = 821

§

WarpedFungus = 822

§

WarpedWartBlock = 823

§

WarpedRoots = 824

§

NetherSprouts = 825

§

CrimsonStem = 826

§

StrippedCrimsonStem = 827

§

CrimsonHyphae = 828

§

StrippedCrimsonHyphae = 829

§

CrimsonNylium = 830

§

CrimsonFungus = 831

§

Shroomlight = 832

§

WeepingVines = 833

§

WeepingVinesPlant = 834

§

TwistingVines = 835

§

TwistingVinesPlant = 836

§

CrimsonRoots = 837

§

CrimsonPlanks = 838

§

WarpedPlanks = 839

§

CrimsonSlab = 840

§

WarpedSlab = 841

§

CrimsonPressurePlate = 842

§

WarpedPressurePlate = 843

§

CrimsonFence = 844

§

WarpedFence = 845

§

CrimsonTrapdoor = 846

§

WarpedTrapdoor = 847

§

CrimsonFenceGate = 848

§

WarpedFenceGate = 849

§

CrimsonStairs = 850

§

WarpedStairs = 851

§

CrimsonButton = 852

§

WarpedButton = 853

§

CrimsonDoor = 854

§

WarpedDoor = 855

§

CrimsonSign = 856

§

WarpedSign = 857

§

CrimsonWallSign = 858

§

WarpedWallSign = 859

§

StructureBlock = 860

§

Jigsaw = 861

§

Composter = 862

§

Target = 863

§

BeeNest = 864

§

Beehive = 865

§

HoneyBlock = 866

§

HoneycombBlock = 867

§

NetheriteBlock = 868

§

AncientDebris = 869

§

CryingObsidian = 870

§

RespawnAnchor = 871

§

PottedCrimsonFungus = 872

§

PottedWarpedFungus = 873

§

PottedCrimsonRoots = 874

§

PottedWarpedRoots = 875

§

Lodestone = 876

§

Blackstone = 877

§

BlackstoneStairs = 878

§

BlackstoneWall = 879

§

BlackstoneSlab = 880

§

PolishedBlackstone = 881

§

PolishedBlackstoneBricks = 882

§

CrackedPolishedBlackstoneBricks = 883

§

ChiseledPolishedBlackstone = 884

§

PolishedBlackstoneBrickSlab = 885

§

PolishedBlackstoneBrickStairs = 886

§

PolishedBlackstoneBrickWall = 887

§

GildedBlackstone = 888

§

PolishedBlackstoneStairs = 889

§

PolishedBlackstoneSlab = 890

§

PolishedBlackstonePressurePlate = 891

§

PolishedBlackstoneButton = 892

§

PolishedBlackstoneWall = 893

§

ChiseledNetherBricks = 894

§

CrackedNetherBricks = 895

§

QuartzBricks = 896

§

Candle = 897

§

WhiteCandle = 898

§

OrangeCandle = 899

§

MagentaCandle = 900

§

LightBlueCandle = 901

§

YellowCandle = 902

§

LimeCandle = 903

§

PinkCandle = 904

§

GrayCandle = 905

§

LightGrayCandle = 906

§

CyanCandle = 907

§

PurpleCandle = 908

§

BlueCandle = 909

§

BrownCandle = 910

§

GreenCandle = 911

§

RedCandle = 912

§

BlackCandle = 913

§

CandleCake = 914

§

WhiteCandleCake = 915

§

OrangeCandleCake = 916

§

MagentaCandleCake = 917

§

LightBlueCandleCake = 918

§

YellowCandleCake = 919

§

LimeCandleCake = 920

§

PinkCandleCake = 921

§

GrayCandleCake = 922

§

LightGrayCandleCake = 923

§

CyanCandleCake = 924

§

PurpleCandleCake = 925

§

BlueCandleCake = 926

§

BrownCandleCake = 927

§

GreenCandleCake = 928

§

RedCandleCake = 929

§

BlackCandleCake = 930

§

AmethystBlock = 931

§

BuddingAmethyst = 932

§

AmethystCluster = 933

§

LargeAmethystBud = 934

§

MediumAmethystBud = 935

§

SmallAmethystBud = 936

§

Tuff = 937

§

TuffSlab = 938

§

TuffStairs = 939

§

TuffWall = 940

§

PolishedTuff = 941

§

PolishedTuffSlab = 942

§

PolishedTuffStairs = 943

§

PolishedTuffWall = 944

§

ChiseledTuff = 945

§

TuffBricks = 946

§

TuffBrickSlab = 947

§

TuffBrickStairs = 948

§

TuffBrickWall = 949

§

ChiseledTuffBricks = 950

§

Calcite = 951

§

TintedGlass = 952

§

PowderSnow = 953

§

SculkSensor = 954

§

CalibratedSculkSensor = 955

§

Sculk = 956

§

SculkVein = 957

§

SculkCatalyst = 958

§

SculkShrieker = 959

§

CopperBlock = 960

§

ExposedCopper = 961

§

WeatheredCopper = 962

§

OxidizedCopper = 963

§

CopperOre = 964

§

DeepslateCopperOre = 965

§

OxidizedCutCopper = 966

§

WeatheredCutCopper = 967

§

ExposedCutCopper = 968

§

CutCopper = 969

§

OxidizedChiseledCopper = 970

§

WeatheredChiseledCopper = 971

§

ExposedChiseledCopper = 972

§

ChiseledCopper = 973

§

WaxedOxidizedChiseledCopper = 974

§

WaxedWeatheredChiseledCopper = 975

§

WaxedExposedChiseledCopper = 976

§

WaxedChiseledCopper = 977

§

OxidizedCutCopperStairs = 978

§

WeatheredCutCopperStairs = 979

§

ExposedCutCopperStairs = 980

§

CutCopperStairs = 981

§

OxidizedCutCopperSlab = 982

§

WeatheredCutCopperSlab = 983

§

ExposedCutCopperSlab = 984

§

CutCopperSlab = 985

§

WaxedCopperBlock = 986

§

WaxedWeatheredCopper = 987

§

WaxedExposedCopper = 988

§

WaxedOxidizedCopper = 989

§

WaxedOxidizedCutCopper = 990

§

WaxedWeatheredCutCopper = 991

§

WaxedExposedCutCopper = 992

§

WaxedCutCopper = 993

§

WaxedOxidizedCutCopperStairs = 994

§

WaxedWeatheredCutCopperStairs = 995

§

WaxedExposedCutCopperStairs = 996

§

WaxedCutCopperStairs = 997

§

WaxedOxidizedCutCopperSlab = 998

§

WaxedWeatheredCutCopperSlab = 999

§

WaxedExposedCutCopperSlab = 1_000

§

WaxedCutCopperSlab = 1_001

§

CopperDoor = 1_002

§

ExposedCopperDoor = 1_003

§

OxidizedCopperDoor = 1_004

§

WeatheredCopperDoor = 1_005

§

WaxedCopperDoor = 1_006

§

WaxedExposedCopperDoor = 1_007

§

WaxedOxidizedCopperDoor = 1_008

§

WaxedWeatheredCopperDoor = 1_009

§

CopperTrapdoor = 1_010

§

ExposedCopperTrapdoor = 1_011

§

OxidizedCopperTrapdoor = 1_012

§

WeatheredCopperTrapdoor = 1_013

§

WaxedCopperTrapdoor = 1_014

§

WaxedExposedCopperTrapdoor = 1_015

§

WaxedOxidizedCopperTrapdoor = 1_016

§

WaxedWeatheredCopperTrapdoor = 1_017

§

CopperGrate = 1_018

§

ExposedCopperGrate = 1_019

§

WeatheredCopperGrate = 1_020

§

OxidizedCopperGrate = 1_021

§

WaxedCopperGrate = 1_022

§

WaxedExposedCopperGrate = 1_023

§

WaxedWeatheredCopperGrate = 1_024

§

WaxedOxidizedCopperGrate = 1_025

§

CopperBulb = 1_026

§

ExposedCopperBulb = 1_027

§

WeatheredCopperBulb = 1_028

§

OxidizedCopperBulb = 1_029

§

WaxedCopperBulb = 1_030

§

WaxedExposedCopperBulb = 1_031

§

WaxedWeatheredCopperBulb = 1_032

§

WaxedOxidizedCopperBulb = 1_033

§

LightningRod = 1_034

§

PointedDripstone = 1_035

§

DripstoneBlock = 1_036

§

CaveVines = 1_037

§

CaveVinesPlant = 1_038

§

SporeBlossom = 1_039

§

Azalea = 1_040

§

FloweringAzalea = 1_041

§

MossCarpet = 1_042

§

PinkPetals = 1_043

§

MossBlock = 1_044

§

BigDripleaf = 1_045

§

BigDripleafStem = 1_046

§

SmallDripleaf = 1_047

§

HangingRoots = 1_048

§

RootedDirt = 1_049

§

Mud = 1_050

§

Deepslate = 1_051

§

CobbledDeepslate = 1_052

§

CobbledDeepslateStairs = 1_053

§

CobbledDeepslateSlab = 1_054

§

CobbledDeepslateWall = 1_055

§

PolishedDeepslate = 1_056

§

PolishedDeepslateStairs = 1_057

§

PolishedDeepslateSlab = 1_058

§

PolishedDeepslateWall = 1_059

§

DeepslateTiles = 1_060

§

DeepslateTileStairs = 1_061

§

DeepslateTileSlab = 1_062

§

DeepslateTileWall = 1_063

§

DeepslateBricks = 1_064

§

DeepslateBrickStairs = 1_065

§

DeepslateBrickSlab = 1_066

§

DeepslateBrickWall = 1_067

§

ChiseledDeepslate = 1_068

§

CrackedDeepslateBricks = 1_069

§

CrackedDeepslateTiles = 1_070

§

InfestedDeepslate = 1_071

§

SmoothBasalt = 1_072

§

RawIronBlock = 1_073

§

RawCopperBlock = 1_074

§

RawGoldBlock = 1_075

§

PottedAzaleaBush = 1_076

§

PottedFloweringAzaleaBush = 1_077

§

OchreFroglight = 1_078

§

VerdantFroglight = 1_079

§

PearlescentFroglight = 1_080

§

Frogspawn = 1_081

§

ReinforcedDeepslate = 1_082

§

DecoratedPot = 1_083

§

Crafter = 1_084

§

TrialSpawner = 1_085

§

Vault = 1_086

§

HeavyCore = 1_087

§

PaleMossBlock = 1_088

§

PaleMossCarpet = 1_089

§

PaleHangingMoss = 1_090

§

OpenEyeblossom = 1_091

§

ClosedEyeblossom = 1_092

§

PottedOpenEyeblossom = 1_093

§

PottedClosedEyeblossom = 1_094

Implementations§

Source§

impl Block

Source

pub fn azalea_read_id( buf: &mut Cursor<&[u8]>, id: u32, ) -> Result<Self, BufReadError>

Source§

impl Block

Source

pub unsafe fn from_u32_unchecked(id: u32) -> Self

Transmutes a u32 to a Block.

§Safety

The id should be at most 1095.

Source

pub fn is_valid_id(id: u32) -> bool

Trait Implementations§

Source§

impl AzaleaRead for Block

Source§

fn azalea_read(buf: &mut Cursor<&[u8]>) -> Result<Self, BufReadError>

Source§

impl AzaleaWrite for Block

Source§

fn azalea_write(&self, buf: &mut impl Write) -> Result<(), Error>

Source§

impl Clone for Block

Source§

fn clone(&self) -> Block

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 Block

Source§

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

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

impl<'de> Deserialize<'de> for Block

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for Block

Source§

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

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

impl FromNbtTag for Block

Source§

fn from_nbt_tag(tag: NbtTag<'_, '_>) -> Option<Self>

§

fn from_optional_nbt_tag( tag: Option<NbtTag<'_, '_>>, ) -> Result<Option<Self>, DeserializeError>

Source§

impl FromStr for Block

Source§

type Err = String

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for Block

Source§

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

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 PartialEq for Block

Source§

fn eq(&self, other: &Block) -> 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 Registry for Block

Source§

fn from_u32(value: u32) -> Option<Self>

Source§

fn to_u32(&self) -> u32

Source§

impl Serialize for Block

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl ToNbtTag for Block

Source§

fn to_nbt_tag(self) -> NbtTag

§

fn to_optional_nbt_tag(self) -> Option<NbtTag>

Source§

impl TryFrom<u32> for Block

Source§

fn try_from(id: u32) -> Result<Self, Self::Error>

Safely transmutes a u32 to a Block.

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

impl Copy for Block

Source§

impl Eq for Block

Source§

impl StructuralPartialEq for Block

Auto Trait Implementations§

§

impl Freeze for Block

§

impl RefUnwindSafe for Block

§

impl Send for Block

§

impl Sync for Block

§

impl Unpin for Block

§

impl UnwindSafe for Block

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 u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

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> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. 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> 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
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,