azalea_registry

Enum Block

Source
#[repr(u32)]
pub enum Block {
Show 1084 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, OakFenceGate = 333, BrickStairs = 334, StoneBrickStairs = 335, MudBrickStairs = 336, Mycelium = 337, LilyPad = 338, NetherBricks = 339, NetherBrickFence = 340, NetherBrickStairs = 341, NetherWart = 342, EnchantingTable = 343, BrewingStand = 344, Cauldron = 345, WaterCauldron = 346, LavaCauldron = 347, PowderSnowCauldron = 348, EndPortal = 349, EndPortalFrame = 350, EndStone = 351, DragonEgg = 352, RedstoneLamp = 353, Cocoa = 354, SandstoneStairs = 355, EmeraldOre = 356, DeepslateEmeraldOre = 357, EnderChest = 358, TripwireHook = 359, Tripwire = 360, EmeraldBlock = 361, SpruceStairs = 362, BirchStairs = 363, JungleStairs = 364, CommandBlock = 365, Beacon = 366, CobblestoneWall = 367, MossyCobblestoneWall = 368, FlowerPot = 369, PottedTorchflower = 370, PottedOakSapling = 371, PottedSpruceSapling = 372, PottedBirchSapling = 373, PottedJungleSapling = 374, PottedAcaciaSapling = 375, PottedCherrySapling = 376, PottedDarkOakSapling = 377, PottedPaleOakSapling = 378, PottedMangrovePropagule = 379, PottedFern = 380, PottedDandelion = 381, PottedPoppy = 382, PottedBlueOrchid = 383, PottedAllium = 384, PottedAzureBluet = 385, PottedRedTulip = 386, PottedOrangeTulip = 387, PottedWhiteTulip = 388, PottedPinkTulip = 389, PottedOxeyeDaisy = 390, PottedCornflower = 391, PottedLilyOfTheValley = 392, PottedWitherRose = 393, PottedRedMushroom = 394, PottedBrownMushroom = 395, PottedDeadBush = 396, PottedCactus = 397, Carrots = 398, Potatoes = 399, OakButton = 400, SpruceButton = 401, BirchButton = 402, JungleButton = 403, AcaciaButton = 404, CherryButton = 405, DarkOakButton = 406, PaleOakButton = 407, MangroveButton = 408, BambooButton = 409, SkeletonSkull = 410, SkeletonWallSkull = 411, WitherSkeletonSkull = 412, WitherSkeletonWallSkull = 413, ZombieHead = 414, ZombieWallHead = 415, PlayerHead = 416, PlayerWallHead = 417, CreeperHead = 418, CreeperWallHead = 419, DragonHead = 420, DragonWallHead = 421, PiglinHead = 422, PiglinWallHead = 423, Anvil = 424, ChippedAnvil = 425, DamagedAnvil = 426, TrappedChest = 427, LightWeightedPressurePlate = 428, HeavyWeightedPressurePlate = 429, Comparator = 430, DaylightDetector = 431, RedstoneBlock = 432, NetherQuartzOre = 433, Hopper = 434, QuartzBlock = 435, ChiseledQuartzBlock = 436, QuartzPillar = 437, QuartzStairs = 438, ActivatorRail = 439, Dropper = 440, WhiteTerracotta = 441, OrangeTerracotta = 442, MagentaTerracotta = 443, LightBlueTerracotta = 444, YellowTerracotta = 445, LimeTerracotta = 446, PinkTerracotta = 447, GrayTerracotta = 448, LightGrayTerracotta = 449, CyanTerracotta = 450, PurpleTerracotta = 451, BlueTerracotta = 452, BrownTerracotta = 453, GreenTerracotta = 454, RedTerracotta = 455, BlackTerracotta = 456, WhiteStainedGlassPane = 457, OrangeStainedGlassPane = 458, MagentaStainedGlassPane = 459, LightBlueStainedGlassPane = 460, YellowStainedGlassPane = 461, LimeStainedGlassPane = 462, PinkStainedGlassPane = 463, GrayStainedGlassPane = 464, LightGrayStainedGlassPane = 465, CyanStainedGlassPane = 466, PurpleStainedGlassPane = 467, BlueStainedGlassPane = 468, BrownStainedGlassPane = 469, GreenStainedGlassPane = 470, RedStainedGlassPane = 471, BlackStainedGlassPane = 472, AcaciaStairs = 473, CherryStairs = 474, DarkOakStairs = 475, PaleOakStairs = 476, MangroveStairs = 477, BambooStairs = 478, BambooMosaicStairs = 479, SlimeBlock = 480, Barrier = 481, Light = 482, IronTrapdoor = 483, Prismarine = 484, PrismarineBricks = 485, DarkPrismarine = 486, PrismarineStairs = 487, PrismarineBrickStairs = 488, DarkPrismarineStairs = 489, PrismarineSlab = 490, PrismarineBrickSlab = 491, DarkPrismarineSlab = 492, SeaLantern = 493, HayBlock = 494, WhiteCarpet = 495, OrangeCarpet = 496, MagentaCarpet = 497, LightBlueCarpet = 498, YellowCarpet = 499, LimeCarpet = 500, PinkCarpet = 501, GrayCarpet = 502, LightGrayCarpet = 503, CyanCarpet = 504, PurpleCarpet = 505, BlueCarpet = 506, BrownCarpet = 507, GreenCarpet = 508, RedCarpet = 509, BlackCarpet = 510, Terracotta = 511, CoalBlock = 512, PackedIce = 513, Sunflower = 514, Lilac = 515, RoseBush = 516, Peony = 517, TallGrass = 518, LargeFern = 519, WhiteBanner = 520, OrangeBanner = 521, MagentaBanner = 522, LightBlueBanner = 523, YellowBanner = 524, LimeBanner = 525, PinkBanner = 526, GrayBanner = 527, LightGrayBanner = 528, CyanBanner = 529, PurpleBanner = 530, BlueBanner = 531, BrownBanner = 532, GreenBanner = 533, RedBanner = 534, BlackBanner = 535, WhiteWallBanner = 536, OrangeWallBanner = 537, MagentaWallBanner = 538, LightBlueWallBanner = 539, YellowWallBanner = 540, LimeWallBanner = 541, PinkWallBanner = 542, GrayWallBanner = 543, LightGrayWallBanner = 544, CyanWallBanner = 545, PurpleWallBanner = 546, BlueWallBanner = 547, BrownWallBanner = 548, GreenWallBanner = 549, RedWallBanner = 550, BlackWallBanner = 551, RedSandstone = 552, ChiseledRedSandstone = 553, CutRedSandstone = 554, RedSandstoneStairs = 555, OakSlab = 556, SpruceSlab = 557, BirchSlab = 558, JungleSlab = 559, AcaciaSlab = 560, CherrySlab = 561, DarkOakSlab = 562, PaleOakSlab = 563, MangroveSlab = 564, BambooSlab = 565, BambooMosaicSlab = 566, StoneSlab = 567, SmoothStoneSlab = 568, SandstoneSlab = 569, CutSandstoneSlab = 570, PetrifiedOakSlab = 571, CobblestoneSlab = 572, BrickSlab = 573, StoneBrickSlab = 574, MudBrickSlab = 575, NetherBrickSlab = 576, QuartzSlab = 577, RedSandstoneSlab = 578, CutRedSandstoneSlab = 579, PurpurSlab = 580, SmoothStone = 581, SmoothSandstone = 582, SmoothQuartz = 583, SmoothRedSandstone = 584, SpruceFenceGate = 585, BirchFenceGate = 586, JungleFenceGate = 587, AcaciaFenceGate = 588, CherryFenceGate = 589, DarkOakFenceGate = 590, PaleOakFenceGate = 591, MangroveFenceGate = 592, BambooFenceGate = 593, SpruceFence = 594, BirchFence = 595, JungleFence = 596, AcaciaFence = 597, CherryFence = 598, DarkOakFence = 599, PaleOakFence = 600, MangroveFence = 601, BambooFence = 602, SpruceDoor = 603, BirchDoor = 604, JungleDoor = 605, AcaciaDoor = 606, CherryDoor = 607, DarkOakDoor = 608, PaleOakDoor = 609, MangroveDoor = 610, BambooDoor = 611, EndRod = 612, ChorusPlant = 613, ChorusFlower = 614, PurpurBlock = 615, PurpurPillar = 616, PurpurStairs = 617, EndStoneBricks = 618, TorchflowerCrop = 619, PitcherCrop = 620, PitcherPlant = 621, Beetroots = 622, DirtPath = 623, EndGateway = 624, RepeatingCommandBlock = 625, ChainCommandBlock = 626, FrostedIce = 627, MagmaBlock = 628, NetherWartBlock = 629, RedNetherBricks = 630, BoneBlock = 631, StructureVoid = 632, Observer = 633, ShulkerBox = 634, WhiteShulkerBox = 635, OrangeShulkerBox = 636, MagentaShulkerBox = 637, LightBlueShulkerBox = 638, YellowShulkerBox = 639, LimeShulkerBox = 640, PinkShulkerBox = 641, GrayShulkerBox = 642, LightGrayShulkerBox = 643, CyanShulkerBox = 644, PurpleShulkerBox = 645, BlueShulkerBox = 646, BrownShulkerBox = 647, GreenShulkerBox = 648, RedShulkerBox = 649, BlackShulkerBox = 650, WhiteGlazedTerracotta = 651, OrangeGlazedTerracotta = 652, MagentaGlazedTerracotta = 653, LightBlueGlazedTerracotta = 654, YellowGlazedTerracotta = 655, LimeGlazedTerracotta = 656, PinkGlazedTerracotta = 657, GrayGlazedTerracotta = 658, LightGrayGlazedTerracotta = 659, CyanGlazedTerracotta = 660, PurpleGlazedTerracotta = 661, BlueGlazedTerracotta = 662, BrownGlazedTerracotta = 663, GreenGlazedTerracotta = 664, RedGlazedTerracotta = 665, BlackGlazedTerracotta = 666, WhiteConcrete = 667, OrangeConcrete = 668, MagentaConcrete = 669, LightBlueConcrete = 670, YellowConcrete = 671, LimeConcrete = 672, PinkConcrete = 673, GrayConcrete = 674, LightGrayConcrete = 675, CyanConcrete = 676, PurpleConcrete = 677, BlueConcrete = 678, BrownConcrete = 679, GreenConcrete = 680, RedConcrete = 681, BlackConcrete = 682, WhiteConcretePowder = 683, OrangeConcretePowder = 684, MagentaConcretePowder = 685, LightBlueConcretePowder = 686, YellowConcretePowder = 687, LimeConcretePowder = 688, PinkConcretePowder = 689, GrayConcretePowder = 690, LightGrayConcretePowder = 691, CyanConcretePowder = 692, PurpleConcretePowder = 693, BlueConcretePowder = 694, BrownConcretePowder = 695, GreenConcretePowder = 696, RedConcretePowder = 697, BlackConcretePowder = 698, Kelp = 699, KelpPlant = 700, DriedKelpBlock = 701, TurtleEgg = 702, SnifferEgg = 703, DeadTubeCoralBlock = 704, DeadBrainCoralBlock = 705, DeadBubbleCoralBlock = 706, DeadFireCoralBlock = 707, DeadHornCoralBlock = 708, TubeCoralBlock = 709, BrainCoralBlock = 710, BubbleCoralBlock = 711, FireCoralBlock = 712, HornCoralBlock = 713, DeadTubeCoral = 714, DeadBrainCoral = 715, DeadBubbleCoral = 716, DeadFireCoral = 717, DeadHornCoral = 718, TubeCoral = 719, BrainCoral = 720, BubbleCoral = 721, FireCoral = 722, HornCoral = 723, DeadTubeCoralFan = 724, DeadBrainCoralFan = 725, DeadBubbleCoralFan = 726, DeadFireCoralFan = 727, DeadHornCoralFan = 728, TubeCoralFan = 729, BrainCoralFan = 730, BubbleCoralFan = 731, FireCoralFan = 732, HornCoralFan = 733, DeadTubeCoralWallFan = 734, DeadBrainCoralWallFan = 735, DeadBubbleCoralWallFan = 736, DeadFireCoralWallFan = 737, DeadHornCoralWallFan = 738, TubeCoralWallFan = 739, BrainCoralWallFan = 740, BubbleCoralWallFan = 741, FireCoralWallFan = 742, HornCoralWallFan = 743, SeaPickle = 744, BlueIce = 745, Conduit = 746, BambooSapling = 747, Bamboo = 748, PottedBamboo = 749, VoidAir = 750, CaveAir = 751, BubbleColumn = 752, PolishedGraniteStairs = 753, SmoothRedSandstoneStairs = 754, MossyStoneBrickStairs = 755, PolishedDioriteStairs = 756, MossyCobblestoneStairs = 757, EndStoneBrickStairs = 758, StoneStairs = 759, SmoothSandstoneStairs = 760, SmoothQuartzStairs = 761, GraniteStairs = 762, AndesiteStairs = 763, RedNetherBrickStairs = 764, PolishedAndesiteStairs = 765, DioriteStairs = 766, PolishedGraniteSlab = 767, SmoothRedSandstoneSlab = 768, MossyStoneBrickSlab = 769, PolishedDioriteSlab = 770, MossyCobblestoneSlab = 771, EndStoneBrickSlab = 772, SmoothSandstoneSlab = 773, SmoothQuartzSlab = 774, GraniteSlab = 775, AndesiteSlab = 776, RedNetherBrickSlab = 777, PolishedAndesiteSlab = 778, DioriteSlab = 779, BrickWall = 780, PrismarineWall = 781, RedSandstoneWall = 782, MossyStoneBrickWall = 783, GraniteWall = 784, StoneBrickWall = 785, MudBrickWall = 786, NetherBrickWall = 787, AndesiteWall = 788, RedNetherBrickWall = 789, SandstoneWall = 790, EndStoneBrickWall = 791, DioriteWall = 792, Scaffolding = 793, Loom = 794, Barrel = 795, Smoker = 796, BlastFurnace = 797, CartographyTable = 798, FletchingTable = 799, Grindstone = 800, Lectern = 801, SmithingTable = 802, Stonecutter = 803, Bell = 804, Lantern = 805, SoulLantern = 806, Campfire = 807, SoulCampfire = 808, SweetBerryBush = 809, WarpedStem = 810, StrippedWarpedStem = 811, WarpedHyphae = 812, StrippedWarpedHyphae = 813, WarpedNylium = 814, WarpedFungus = 815, WarpedWartBlock = 816, WarpedRoots = 817, NetherSprouts = 818, CrimsonStem = 819, StrippedCrimsonStem = 820, CrimsonHyphae = 821, StrippedCrimsonHyphae = 822, CrimsonNylium = 823, CrimsonFungus = 824, Shroomlight = 825, WeepingVines = 826, WeepingVinesPlant = 827, TwistingVines = 828, TwistingVinesPlant = 829, CrimsonRoots = 830, CrimsonPlanks = 831, WarpedPlanks = 832, CrimsonSlab = 833, WarpedSlab = 834, CrimsonPressurePlate = 835, WarpedPressurePlate = 836, CrimsonFence = 837, WarpedFence = 838, CrimsonTrapdoor = 839, WarpedTrapdoor = 840, CrimsonFenceGate = 841, WarpedFenceGate = 842, CrimsonStairs = 843, WarpedStairs = 844, CrimsonButton = 845, WarpedButton = 846, CrimsonDoor = 847, WarpedDoor = 848, CrimsonSign = 849, WarpedSign = 850, CrimsonWallSign = 851, WarpedWallSign = 852, StructureBlock = 853, Jigsaw = 854, Composter = 855, Target = 856, BeeNest = 857, Beehive = 858, HoneyBlock = 859, HoneycombBlock = 860, NetheriteBlock = 861, AncientDebris = 862, CryingObsidian = 863, RespawnAnchor = 864, PottedCrimsonFungus = 865, PottedWarpedFungus = 866, PottedCrimsonRoots = 867, PottedWarpedRoots = 868, Lodestone = 869, Blackstone = 870, BlackstoneStairs = 871, BlackstoneWall = 872, BlackstoneSlab = 873, PolishedBlackstone = 874, PolishedBlackstoneBricks = 875, CrackedPolishedBlackstoneBricks = 876, ChiseledPolishedBlackstone = 877, PolishedBlackstoneBrickSlab = 878, PolishedBlackstoneBrickStairs = 879, PolishedBlackstoneBrickWall = 880, GildedBlackstone = 881, PolishedBlackstoneStairs = 882, PolishedBlackstoneSlab = 883, PolishedBlackstonePressurePlate = 884, PolishedBlackstoneButton = 885, PolishedBlackstoneWall = 886, ChiseledNetherBricks = 887, CrackedNetherBricks = 888, QuartzBricks = 889, Candle = 890, WhiteCandle = 891, OrangeCandle = 892, MagentaCandle = 893, LightBlueCandle = 894, YellowCandle = 895, LimeCandle = 896, PinkCandle = 897, GrayCandle = 898, LightGrayCandle = 899, CyanCandle = 900, PurpleCandle = 901, BlueCandle = 902, BrownCandle = 903, GreenCandle = 904, RedCandle = 905, BlackCandle = 906, CandleCake = 907, WhiteCandleCake = 908, OrangeCandleCake = 909, MagentaCandleCake = 910, LightBlueCandleCake = 911, YellowCandleCake = 912, LimeCandleCake = 913, PinkCandleCake = 914, GrayCandleCake = 915, LightGrayCandleCake = 916, CyanCandleCake = 917, PurpleCandleCake = 918, BlueCandleCake = 919, BrownCandleCake = 920, GreenCandleCake = 921, RedCandleCake = 922, BlackCandleCake = 923, AmethystBlock = 924, BuddingAmethyst = 925, AmethystCluster = 926, LargeAmethystBud = 927, MediumAmethystBud = 928, SmallAmethystBud = 929, Tuff = 930, TuffSlab = 931, TuffStairs = 932, TuffWall = 933, PolishedTuff = 934, PolishedTuffSlab = 935, PolishedTuffStairs = 936, PolishedTuffWall = 937, ChiseledTuff = 938, TuffBricks = 939, TuffBrickSlab = 940, TuffBrickStairs = 941, TuffBrickWall = 942, ChiseledTuffBricks = 943, Calcite = 944, TintedGlass = 945, PowderSnow = 946, SculkSensor = 947, CalibratedSculkSensor = 948, Sculk = 949, SculkVein = 950, SculkCatalyst = 951, SculkShrieker = 952, CopperBlock = 953, ExposedCopper = 954, WeatheredCopper = 955, OxidizedCopper = 956, CopperOre = 957, DeepslateCopperOre = 958, OxidizedCutCopper = 959, WeatheredCutCopper = 960, ExposedCutCopper = 961, CutCopper = 962, OxidizedChiseledCopper = 963, WeatheredChiseledCopper = 964, ExposedChiseledCopper = 965, ChiseledCopper = 966, WaxedOxidizedChiseledCopper = 967, WaxedWeatheredChiseledCopper = 968, WaxedExposedChiseledCopper = 969, WaxedChiseledCopper = 970, OxidizedCutCopperStairs = 971, WeatheredCutCopperStairs = 972, ExposedCutCopperStairs = 973, CutCopperStairs = 974, OxidizedCutCopperSlab = 975, WeatheredCutCopperSlab = 976, ExposedCutCopperSlab = 977, CutCopperSlab = 978, WaxedCopperBlock = 979, WaxedWeatheredCopper = 980, WaxedExposedCopper = 981, WaxedOxidizedCopper = 982, WaxedOxidizedCutCopper = 983, WaxedWeatheredCutCopper = 984, WaxedExposedCutCopper = 985, WaxedCutCopper = 986, WaxedOxidizedCutCopperStairs = 987, WaxedWeatheredCutCopperStairs = 988, WaxedExposedCutCopperStairs = 989, WaxedCutCopperStairs = 990, WaxedOxidizedCutCopperSlab = 991, WaxedWeatheredCutCopperSlab = 992, WaxedExposedCutCopperSlab = 993, WaxedCutCopperSlab = 994, CopperDoor = 995, ExposedCopperDoor = 996, OxidizedCopperDoor = 997, WeatheredCopperDoor = 998, WaxedCopperDoor = 999, WaxedExposedCopperDoor = 1_000, WaxedOxidizedCopperDoor = 1_001, WaxedWeatheredCopperDoor = 1_002, CopperTrapdoor = 1_003, ExposedCopperTrapdoor = 1_004, OxidizedCopperTrapdoor = 1_005, WeatheredCopperTrapdoor = 1_006, WaxedCopperTrapdoor = 1_007, WaxedExposedCopperTrapdoor = 1_008, WaxedOxidizedCopperTrapdoor = 1_009, WaxedWeatheredCopperTrapdoor = 1_010, CopperGrate = 1_011, ExposedCopperGrate = 1_012, WeatheredCopperGrate = 1_013, OxidizedCopperGrate = 1_014, WaxedCopperGrate = 1_015, WaxedExposedCopperGrate = 1_016, WaxedWeatheredCopperGrate = 1_017, WaxedOxidizedCopperGrate = 1_018, CopperBulb = 1_019, ExposedCopperBulb = 1_020, WeatheredCopperBulb = 1_021, OxidizedCopperBulb = 1_022, WaxedCopperBulb = 1_023, WaxedExposedCopperBulb = 1_024, WaxedWeatheredCopperBulb = 1_025, WaxedOxidizedCopperBulb = 1_026, LightningRod = 1_027, PointedDripstone = 1_028, DripstoneBlock = 1_029, CaveVines = 1_030, CaveVinesPlant = 1_031, SporeBlossom = 1_032, Azalea = 1_033, FloweringAzalea = 1_034, MossCarpet = 1_035, PinkPetals = 1_036, MossBlock = 1_037, BigDripleaf = 1_038, BigDripleafStem = 1_039, SmallDripleaf = 1_040, HangingRoots = 1_041, RootedDirt = 1_042, Mud = 1_043, Deepslate = 1_044, CobbledDeepslate = 1_045, CobbledDeepslateStairs = 1_046, CobbledDeepslateSlab = 1_047, CobbledDeepslateWall = 1_048, PolishedDeepslate = 1_049, PolishedDeepslateStairs = 1_050, PolishedDeepslateSlab = 1_051, PolishedDeepslateWall = 1_052, DeepslateTiles = 1_053, DeepslateTileStairs = 1_054, DeepslateTileSlab = 1_055, DeepslateTileWall = 1_056, DeepslateBricks = 1_057, DeepslateBrickStairs = 1_058, DeepslateBrickSlab = 1_059, DeepslateBrickWall = 1_060, ChiseledDeepslate = 1_061, CrackedDeepslateBricks = 1_062, CrackedDeepslateTiles = 1_063, InfestedDeepslate = 1_064, SmoothBasalt = 1_065, RawIronBlock = 1_066, RawCopperBlock = 1_067, RawGoldBlock = 1_068, PottedAzaleaBush = 1_069, PottedFloweringAzaleaBush = 1_070, OchreFroglight = 1_071, VerdantFroglight = 1_072, PearlescentFroglight = 1_073, Frogspawn = 1_074, ReinforcedDeepslate = 1_075, DecoratedPot = 1_076, Crafter = 1_077, TrialSpawner = 1_078, Vault = 1_079, HeavyCore = 1_080, PaleMossBlock = 1_081, PaleMossCarpet = 1_082, PaleHangingMoss = 1_083,
}
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

§

OakFenceGate = 333

§

BrickStairs = 334

§

StoneBrickStairs = 335

§

MudBrickStairs = 336

§

Mycelium = 337

§

LilyPad = 338

§

NetherBricks = 339

§

NetherBrickFence = 340

§

NetherBrickStairs = 341

§

NetherWart = 342

§

EnchantingTable = 343

§

BrewingStand = 344

§

Cauldron = 345

§

WaterCauldron = 346

§

LavaCauldron = 347

§

PowderSnowCauldron = 348

§

EndPortal = 349

§

EndPortalFrame = 350

§

EndStone = 351

§

DragonEgg = 352

§

RedstoneLamp = 353

§

Cocoa = 354

§

SandstoneStairs = 355

§

EmeraldOre = 356

§

DeepslateEmeraldOre = 357

§

EnderChest = 358

§

TripwireHook = 359

§

Tripwire = 360

§

EmeraldBlock = 361

§

SpruceStairs = 362

§

BirchStairs = 363

§

JungleStairs = 364

§

CommandBlock = 365

§

Beacon = 366

§

CobblestoneWall = 367

§

MossyCobblestoneWall = 368

§

FlowerPot = 369

§

PottedTorchflower = 370

§

PottedOakSapling = 371

§

PottedSpruceSapling = 372

§

PottedBirchSapling = 373

§

PottedJungleSapling = 374

§

PottedAcaciaSapling = 375

§

PottedCherrySapling = 376

§

PottedDarkOakSapling = 377

§

PottedPaleOakSapling = 378

§

PottedMangrovePropagule = 379

§

PottedFern = 380

§

PottedDandelion = 381

§

PottedPoppy = 382

§

PottedBlueOrchid = 383

§

PottedAllium = 384

§

PottedAzureBluet = 385

§

PottedRedTulip = 386

§

PottedOrangeTulip = 387

§

PottedWhiteTulip = 388

§

PottedPinkTulip = 389

§

PottedOxeyeDaisy = 390

§

PottedCornflower = 391

§

PottedLilyOfTheValley = 392

§

PottedWitherRose = 393

§

PottedRedMushroom = 394

§

PottedBrownMushroom = 395

§

PottedDeadBush = 396

§

PottedCactus = 397

§

Carrots = 398

§

Potatoes = 399

§

OakButton = 400

§

SpruceButton = 401

§

BirchButton = 402

§

JungleButton = 403

§

AcaciaButton = 404

§

CherryButton = 405

§

DarkOakButton = 406

§

PaleOakButton = 407

§

MangroveButton = 408

§

BambooButton = 409

§

SkeletonSkull = 410

§

SkeletonWallSkull = 411

§

WitherSkeletonSkull = 412

§

WitherSkeletonWallSkull = 413

§

ZombieHead = 414

§

ZombieWallHead = 415

§

PlayerHead = 416

§

PlayerWallHead = 417

§

CreeperHead = 418

§

CreeperWallHead = 419

§

DragonHead = 420

§

DragonWallHead = 421

§

PiglinHead = 422

§

PiglinWallHead = 423

§

Anvil = 424

§

ChippedAnvil = 425

§

DamagedAnvil = 426

§

TrappedChest = 427

§

LightWeightedPressurePlate = 428

§

HeavyWeightedPressurePlate = 429

§

Comparator = 430

§

DaylightDetector = 431

§

RedstoneBlock = 432

§

NetherQuartzOre = 433

§

Hopper = 434

§

QuartzBlock = 435

§

ChiseledQuartzBlock = 436

§

QuartzPillar = 437

§

QuartzStairs = 438

§

ActivatorRail = 439

§

Dropper = 440

§

WhiteTerracotta = 441

§

OrangeTerracotta = 442

§

MagentaTerracotta = 443

§

LightBlueTerracotta = 444

§

YellowTerracotta = 445

§

LimeTerracotta = 446

§

PinkTerracotta = 447

§

GrayTerracotta = 448

§

LightGrayTerracotta = 449

§

CyanTerracotta = 450

§

PurpleTerracotta = 451

§

BlueTerracotta = 452

§

BrownTerracotta = 453

§

GreenTerracotta = 454

§

RedTerracotta = 455

§

BlackTerracotta = 456

§

WhiteStainedGlassPane = 457

§

OrangeStainedGlassPane = 458

§

MagentaStainedGlassPane = 459

§

LightBlueStainedGlassPane = 460

§

YellowStainedGlassPane = 461

§

LimeStainedGlassPane = 462

§

PinkStainedGlassPane = 463

§

GrayStainedGlassPane = 464

§

LightGrayStainedGlassPane = 465

§

CyanStainedGlassPane = 466

§

PurpleStainedGlassPane = 467

§

BlueStainedGlassPane = 468

§

BrownStainedGlassPane = 469

§

GreenStainedGlassPane = 470

§

RedStainedGlassPane = 471

§

BlackStainedGlassPane = 472

§

AcaciaStairs = 473

§

CherryStairs = 474

§

DarkOakStairs = 475

§

PaleOakStairs = 476

§

MangroveStairs = 477

§

BambooStairs = 478

§

BambooMosaicStairs = 479

§

SlimeBlock = 480

§

Barrier = 481

§

Light = 482

§

IronTrapdoor = 483

§

Prismarine = 484

§

PrismarineBricks = 485

§

DarkPrismarine = 486

§

PrismarineStairs = 487

§

PrismarineBrickStairs = 488

§

DarkPrismarineStairs = 489

§

PrismarineSlab = 490

§

PrismarineBrickSlab = 491

§

DarkPrismarineSlab = 492

§

SeaLantern = 493

§

HayBlock = 494

§

WhiteCarpet = 495

§

OrangeCarpet = 496

§

MagentaCarpet = 497

§

LightBlueCarpet = 498

§

YellowCarpet = 499

§

LimeCarpet = 500

§

PinkCarpet = 501

§

GrayCarpet = 502

§

LightGrayCarpet = 503

§

CyanCarpet = 504

§

PurpleCarpet = 505

§

BlueCarpet = 506

§

BrownCarpet = 507

§

GreenCarpet = 508

§

RedCarpet = 509

§

BlackCarpet = 510

§

Terracotta = 511

§

CoalBlock = 512

§

PackedIce = 513

§

Sunflower = 514

§

Lilac = 515

§

RoseBush = 516

§

Peony = 517

§

TallGrass = 518

§

LargeFern = 519

§

WhiteBanner = 520

§

OrangeBanner = 521

§

MagentaBanner = 522

§

LightBlueBanner = 523

§

YellowBanner = 524

§

LimeBanner = 525

§

PinkBanner = 526

§

GrayBanner = 527

§

LightGrayBanner = 528

§

CyanBanner = 529

§

PurpleBanner = 530

§

BlueBanner = 531

§

BrownBanner = 532

§

GreenBanner = 533

§

RedBanner = 534

§

BlackBanner = 535

§

WhiteWallBanner = 536

§

OrangeWallBanner = 537

§

MagentaWallBanner = 538

§

LightBlueWallBanner = 539

§

YellowWallBanner = 540

§

LimeWallBanner = 541

§

PinkWallBanner = 542

§

GrayWallBanner = 543

§

LightGrayWallBanner = 544

§

CyanWallBanner = 545

§

PurpleWallBanner = 546

§

BlueWallBanner = 547

§

BrownWallBanner = 548

§

GreenWallBanner = 549

§

RedWallBanner = 550

§

BlackWallBanner = 551

§

RedSandstone = 552

§

ChiseledRedSandstone = 553

§

CutRedSandstone = 554

§

RedSandstoneStairs = 555

§

OakSlab = 556

§

SpruceSlab = 557

§

BirchSlab = 558

§

JungleSlab = 559

§

AcaciaSlab = 560

§

CherrySlab = 561

§

DarkOakSlab = 562

§

PaleOakSlab = 563

§

MangroveSlab = 564

§

BambooSlab = 565

§

BambooMosaicSlab = 566

§

StoneSlab = 567

§

SmoothStoneSlab = 568

§

SandstoneSlab = 569

§

CutSandstoneSlab = 570

§

PetrifiedOakSlab = 571

§

CobblestoneSlab = 572

§

BrickSlab = 573

§

StoneBrickSlab = 574

§

MudBrickSlab = 575

§

NetherBrickSlab = 576

§

QuartzSlab = 577

§

RedSandstoneSlab = 578

§

CutRedSandstoneSlab = 579

§

PurpurSlab = 580

§

SmoothStone = 581

§

SmoothSandstone = 582

§

SmoothQuartz = 583

§

SmoothRedSandstone = 584

§

SpruceFenceGate = 585

§

BirchFenceGate = 586

§

JungleFenceGate = 587

§

AcaciaFenceGate = 588

§

CherryFenceGate = 589

§

DarkOakFenceGate = 590

§

PaleOakFenceGate = 591

§

MangroveFenceGate = 592

§

BambooFenceGate = 593

§

SpruceFence = 594

§

BirchFence = 595

§

JungleFence = 596

§

AcaciaFence = 597

§

CherryFence = 598

§

DarkOakFence = 599

§

PaleOakFence = 600

§

MangroveFence = 601

§

BambooFence = 602

§

SpruceDoor = 603

§

BirchDoor = 604

§

JungleDoor = 605

§

AcaciaDoor = 606

§

CherryDoor = 607

§

DarkOakDoor = 608

§

PaleOakDoor = 609

§

MangroveDoor = 610

§

BambooDoor = 611

§

EndRod = 612

§

ChorusPlant = 613

§

ChorusFlower = 614

§

PurpurBlock = 615

§

PurpurPillar = 616

§

PurpurStairs = 617

§

EndStoneBricks = 618

§

TorchflowerCrop = 619

§

PitcherCrop = 620

§

PitcherPlant = 621

§

Beetroots = 622

§

DirtPath = 623

§

EndGateway = 624

§

RepeatingCommandBlock = 625

§

ChainCommandBlock = 626

§

FrostedIce = 627

§

MagmaBlock = 628

§

NetherWartBlock = 629

§

RedNetherBricks = 630

§

BoneBlock = 631

§

StructureVoid = 632

§

Observer = 633

§

ShulkerBox = 634

§

WhiteShulkerBox = 635

§

OrangeShulkerBox = 636

§

MagentaShulkerBox = 637

§

LightBlueShulkerBox = 638

§

YellowShulkerBox = 639

§

LimeShulkerBox = 640

§

PinkShulkerBox = 641

§

GrayShulkerBox = 642

§

LightGrayShulkerBox = 643

§

CyanShulkerBox = 644

§

PurpleShulkerBox = 645

§

BlueShulkerBox = 646

§

BrownShulkerBox = 647

§

GreenShulkerBox = 648

§

RedShulkerBox = 649

§

BlackShulkerBox = 650

§

WhiteGlazedTerracotta = 651

§

OrangeGlazedTerracotta = 652

§

MagentaGlazedTerracotta = 653

§

LightBlueGlazedTerracotta = 654

§

YellowGlazedTerracotta = 655

§

LimeGlazedTerracotta = 656

§

PinkGlazedTerracotta = 657

§

GrayGlazedTerracotta = 658

§

LightGrayGlazedTerracotta = 659

§

CyanGlazedTerracotta = 660

§

PurpleGlazedTerracotta = 661

§

BlueGlazedTerracotta = 662

§

BrownGlazedTerracotta = 663

§

GreenGlazedTerracotta = 664

§

RedGlazedTerracotta = 665

§

BlackGlazedTerracotta = 666

§

WhiteConcrete = 667

§

OrangeConcrete = 668

§

MagentaConcrete = 669

§

LightBlueConcrete = 670

§

YellowConcrete = 671

§

LimeConcrete = 672

§

PinkConcrete = 673

§

GrayConcrete = 674

§

LightGrayConcrete = 675

§

CyanConcrete = 676

§

PurpleConcrete = 677

§

BlueConcrete = 678

§

BrownConcrete = 679

§

GreenConcrete = 680

§

RedConcrete = 681

§

BlackConcrete = 682

§

WhiteConcretePowder = 683

§

OrangeConcretePowder = 684

§

MagentaConcretePowder = 685

§

LightBlueConcretePowder = 686

§

YellowConcretePowder = 687

§

LimeConcretePowder = 688

§

PinkConcretePowder = 689

§

GrayConcretePowder = 690

§

LightGrayConcretePowder = 691

§

CyanConcretePowder = 692

§

PurpleConcretePowder = 693

§

BlueConcretePowder = 694

§

BrownConcretePowder = 695

§

GreenConcretePowder = 696

§

RedConcretePowder = 697

§

BlackConcretePowder = 698

§

Kelp = 699

§

KelpPlant = 700

§

DriedKelpBlock = 701

§

TurtleEgg = 702

§

SnifferEgg = 703

§

DeadTubeCoralBlock = 704

§

DeadBrainCoralBlock = 705

§

DeadBubbleCoralBlock = 706

§

DeadFireCoralBlock = 707

§

DeadHornCoralBlock = 708

§

TubeCoralBlock = 709

§

BrainCoralBlock = 710

§

BubbleCoralBlock = 711

§

FireCoralBlock = 712

§

HornCoralBlock = 713

§

DeadTubeCoral = 714

§

DeadBrainCoral = 715

§

DeadBubbleCoral = 716

§

DeadFireCoral = 717

§

DeadHornCoral = 718

§

TubeCoral = 719

§

BrainCoral = 720

§

BubbleCoral = 721

§

FireCoral = 722

§

HornCoral = 723

§

DeadTubeCoralFan = 724

§

DeadBrainCoralFan = 725

§

DeadBubbleCoralFan = 726

§

DeadFireCoralFan = 727

§

DeadHornCoralFan = 728

§

TubeCoralFan = 729

§

BrainCoralFan = 730

§

BubbleCoralFan = 731

§

FireCoralFan = 732

§

HornCoralFan = 733

§

DeadTubeCoralWallFan = 734

§

DeadBrainCoralWallFan = 735

§

DeadBubbleCoralWallFan = 736

§

DeadFireCoralWallFan = 737

§

DeadHornCoralWallFan = 738

§

TubeCoralWallFan = 739

§

BrainCoralWallFan = 740

§

BubbleCoralWallFan = 741

§

FireCoralWallFan = 742

§

HornCoralWallFan = 743

§

SeaPickle = 744

§

BlueIce = 745

§

Conduit = 746

§

BambooSapling = 747

§

Bamboo = 748

§

PottedBamboo = 749

§

VoidAir = 750

§

CaveAir = 751

§

BubbleColumn = 752

§

PolishedGraniteStairs = 753

§

SmoothRedSandstoneStairs = 754

§

MossyStoneBrickStairs = 755

§

PolishedDioriteStairs = 756

§

MossyCobblestoneStairs = 757

§

EndStoneBrickStairs = 758

§

StoneStairs = 759

§

SmoothSandstoneStairs = 760

§

SmoothQuartzStairs = 761

§

GraniteStairs = 762

§

AndesiteStairs = 763

§

RedNetherBrickStairs = 764

§

PolishedAndesiteStairs = 765

§

DioriteStairs = 766

§

PolishedGraniteSlab = 767

§

SmoothRedSandstoneSlab = 768

§

MossyStoneBrickSlab = 769

§

PolishedDioriteSlab = 770

§

MossyCobblestoneSlab = 771

§

EndStoneBrickSlab = 772

§

SmoothSandstoneSlab = 773

§

SmoothQuartzSlab = 774

§

GraniteSlab = 775

§

AndesiteSlab = 776

§

RedNetherBrickSlab = 777

§

PolishedAndesiteSlab = 778

§

DioriteSlab = 779

§

BrickWall = 780

§

PrismarineWall = 781

§

RedSandstoneWall = 782

§

MossyStoneBrickWall = 783

§

GraniteWall = 784

§

StoneBrickWall = 785

§

MudBrickWall = 786

§

NetherBrickWall = 787

§

AndesiteWall = 788

§

RedNetherBrickWall = 789

§

SandstoneWall = 790

§

EndStoneBrickWall = 791

§

DioriteWall = 792

§

Scaffolding = 793

§

Loom = 794

§

Barrel = 795

§

Smoker = 796

§

BlastFurnace = 797

§

CartographyTable = 798

§

FletchingTable = 799

§

Grindstone = 800

§

Lectern = 801

§

SmithingTable = 802

§

Stonecutter = 803

§

Bell = 804

§

Lantern = 805

§

SoulLantern = 806

§

Campfire = 807

§

SoulCampfire = 808

§

SweetBerryBush = 809

§

WarpedStem = 810

§

StrippedWarpedStem = 811

§

WarpedHyphae = 812

§

StrippedWarpedHyphae = 813

§

WarpedNylium = 814

§

WarpedFungus = 815

§

WarpedWartBlock = 816

§

WarpedRoots = 817

§

NetherSprouts = 818

§

CrimsonStem = 819

§

StrippedCrimsonStem = 820

§

CrimsonHyphae = 821

§

StrippedCrimsonHyphae = 822

§

CrimsonNylium = 823

§

CrimsonFungus = 824

§

Shroomlight = 825

§

WeepingVines = 826

§

WeepingVinesPlant = 827

§

TwistingVines = 828

§

TwistingVinesPlant = 829

§

CrimsonRoots = 830

§

CrimsonPlanks = 831

§

WarpedPlanks = 832

§

CrimsonSlab = 833

§

WarpedSlab = 834

§

CrimsonPressurePlate = 835

§

WarpedPressurePlate = 836

§

CrimsonFence = 837

§

WarpedFence = 838

§

CrimsonTrapdoor = 839

§

WarpedTrapdoor = 840

§

CrimsonFenceGate = 841

§

WarpedFenceGate = 842

§

CrimsonStairs = 843

§

WarpedStairs = 844

§

CrimsonButton = 845

§

WarpedButton = 846

§

CrimsonDoor = 847

§

WarpedDoor = 848

§

CrimsonSign = 849

§

WarpedSign = 850

§

CrimsonWallSign = 851

§

WarpedWallSign = 852

§

StructureBlock = 853

§

Jigsaw = 854

§

Composter = 855

§

Target = 856

§

BeeNest = 857

§

Beehive = 858

§

HoneyBlock = 859

§

HoneycombBlock = 860

§

NetheriteBlock = 861

§

AncientDebris = 862

§

CryingObsidian = 863

§

RespawnAnchor = 864

§

PottedCrimsonFungus = 865

§

PottedWarpedFungus = 866

§

PottedCrimsonRoots = 867

§

PottedWarpedRoots = 868

§

Lodestone = 869

§

Blackstone = 870

§

BlackstoneStairs = 871

§

BlackstoneWall = 872

§

BlackstoneSlab = 873

§

PolishedBlackstone = 874

§

PolishedBlackstoneBricks = 875

§

CrackedPolishedBlackstoneBricks = 876

§

ChiseledPolishedBlackstone = 877

§

PolishedBlackstoneBrickSlab = 878

§

PolishedBlackstoneBrickStairs = 879

§

PolishedBlackstoneBrickWall = 880

§

GildedBlackstone = 881

§

PolishedBlackstoneStairs = 882

§

PolishedBlackstoneSlab = 883

§

PolishedBlackstonePressurePlate = 884

§

PolishedBlackstoneButton = 885

§

PolishedBlackstoneWall = 886

§

ChiseledNetherBricks = 887

§

CrackedNetherBricks = 888

§

QuartzBricks = 889

§

Candle = 890

§

WhiteCandle = 891

§

OrangeCandle = 892

§

MagentaCandle = 893

§

LightBlueCandle = 894

§

YellowCandle = 895

§

LimeCandle = 896

§

PinkCandle = 897

§

GrayCandle = 898

§

LightGrayCandle = 899

§

CyanCandle = 900

§

PurpleCandle = 901

§

BlueCandle = 902

§

BrownCandle = 903

§

GreenCandle = 904

§

RedCandle = 905

§

BlackCandle = 906

§

CandleCake = 907

§

WhiteCandleCake = 908

§

OrangeCandleCake = 909

§

MagentaCandleCake = 910

§

LightBlueCandleCake = 911

§

YellowCandleCake = 912

§

LimeCandleCake = 913

§

PinkCandleCake = 914

§

GrayCandleCake = 915

§

LightGrayCandleCake = 916

§

CyanCandleCake = 917

§

PurpleCandleCake = 918

§

BlueCandleCake = 919

§

BrownCandleCake = 920

§

GreenCandleCake = 921

§

RedCandleCake = 922

§

BlackCandleCake = 923

§

AmethystBlock = 924

§

BuddingAmethyst = 925

§

AmethystCluster = 926

§

LargeAmethystBud = 927

§

MediumAmethystBud = 928

§

SmallAmethystBud = 929

§

Tuff = 930

§

TuffSlab = 931

§

TuffStairs = 932

§

TuffWall = 933

§

PolishedTuff = 934

§

PolishedTuffSlab = 935

§

PolishedTuffStairs = 936

§

PolishedTuffWall = 937

§

ChiseledTuff = 938

§

TuffBricks = 939

§

TuffBrickSlab = 940

§

TuffBrickStairs = 941

§

TuffBrickWall = 942

§

ChiseledTuffBricks = 943

§

Calcite = 944

§

TintedGlass = 945

§

PowderSnow = 946

§

SculkSensor = 947

§

CalibratedSculkSensor = 948

§

Sculk = 949

§

SculkVein = 950

§

SculkCatalyst = 951

§

SculkShrieker = 952

§

CopperBlock = 953

§

ExposedCopper = 954

§

WeatheredCopper = 955

§

OxidizedCopper = 956

§

CopperOre = 957

§

DeepslateCopperOre = 958

§

OxidizedCutCopper = 959

§

WeatheredCutCopper = 960

§

ExposedCutCopper = 961

§

CutCopper = 962

§

OxidizedChiseledCopper = 963

§

WeatheredChiseledCopper = 964

§

ExposedChiseledCopper = 965

§

ChiseledCopper = 966

§

WaxedOxidizedChiseledCopper = 967

§

WaxedWeatheredChiseledCopper = 968

§

WaxedExposedChiseledCopper = 969

§

WaxedChiseledCopper = 970

§

OxidizedCutCopperStairs = 971

§

WeatheredCutCopperStairs = 972

§

ExposedCutCopperStairs = 973

§

CutCopperStairs = 974

§

OxidizedCutCopperSlab = 975

§

WeatheredCutCopperSlab = 976

§

ExposedCutCopperSlab = 977

§

CutCopperSlab = 978

§

WaxedCopperBlock = 979

§

WaxedWeatheredCopper = 980

§

WaxedExposedCopper = 981

§

WaxedOxidizedCopper = 982

§

WaxedOxidizedCutCopper = 983

§

WaxedWeatheredCutCopper = 984

§

WaxedExposedCutCopper = 985

§

WaxedCutCopper = 986

§

WaxedOxidizedCutCopperStairs = 987

§

WaxedWeatheredCutCopperStairs = 988

§

WaxedExposedCutCopperStairs = 989

§

WaxedCutCopperStairs = 990

§

WaxedOxidizedCutCopperSlab = 991

§

WaxedWeatheredCutCopperSlab = 992

§

WaxedExposedCutCopperSlab = 993

§

WaxedCutCopperSlab = 994

§

CopperDoor = 995

§

ExposedCopperDoor = 996

§

OxidizedCopperDoor = 997

§

WeatheredCopperDoor = 998

§

WaxedCopperDoor = 999

§

WaxedExposedCopperDoor = 1_000

§

WaxedOxidizedCopperDoor = 1_001

§

WaxedWeatheredCopperDoor = 1_002

§

CopperTrapdoor = 1_003

§

ExposedCopperTrapdoor = 1_004

§

OxidizedCopperTrapdoor = 1_005

§

WeatheredCopperTrapdoor = 1_006

§

WaxedCopperTrapdoor = 1_007

§

WaxedExposedCopperTrapdoor = 1_008

§

WaxedOxidizedCopperTrapdoor = 1_009

§

WaxedWeatheredCopperTrapdoor = 1_010

§

CopperGrate = 1_011

§

ExposedCopperGrate = 1_012

§

WeatheredCopperGrate = 1_013

§

OxidizedCopperGrate = 1_014

§

WaxedCopperGrate = 1_015

§

WaxedExposedCopperGrate = 1_016

§

WaxedWeatheredCopperGrate = 1_017

§

WaxedOxidizedCopperGrate = 1_018

§

CopperBulb = 1_019

§

ExposedCopperBulb = 1_020

§

WeatheredCopperBulb = 1_021

§

OxidizedCopperBulb = 1_022

§

WaxedCopperBulb = 1_023

§

WaxedExposedCopperBulb = 1_024

§

WaxedWeatheredCopperBulb = 1_025

§

WaxedOxidizedCopperBulb = 1_026

§

LightningRod = 1_027

§

PointedDripstone = 1_028

§

DripstoneBlock = 1_029

§

CaveVines = 1_030

§

CaveVinesPlant = 1_031

§

SporeBlossom = 1_032

§

Azalea = 1_033

§

FloweringAzalea = 1_034

§

MossCarpet = 1_035

§

PinkPetals = 1_036

§

MossBlock = 1_037

§

BigDripleaf = 1_038

§

BigDripleafStem = 1_039

§

SmallDripleaf = 1_040

§

HangingRoots = 1_041

§

RootedDirt = 1_042

§

Mud = 1_043

§

Deepslate = 1_044

§

CobbledDeepslate = 1_045

§

CobbledDeepslateStairs = 1_046

§

CobbledDeepslateSlab = 1_047

§

CobbledDeepslateWall = 1_048

§

PolishedDeepslate = 1_049

§

PolishedDeepslateStairs = 1_050

§

PolishedDeepslateSlab = 1_051

§

PolishedDeepslateWall = 1_052

§

DeepslateTiles = 1_053

§

DeepslateTileStairs = 1_054

§

DeepslateTileSlab = 1_055

§

DeepslateTileWall = 1_056

§

DeepslateBricks = 1_057

§

DeepslateBrickStairs = 1_058

§

DeepslateBrickSlab = 1_059

§

DeepslateBrickWall = 1_060

§

ChiseledDeepslate = 1_061

§

CrackedDeepslateBricks = 1_062

§

CrackedDeepslateTiles = 1_063

§

InfestedDeepslate = 1_064

§

SmoothBasalt = 1_065

§

RawIronBlock = 1_066

§

RawCopperBlock = 1_067

§

RawGoldBlock = 1_068

§

PottedAzaleaBush = 1_069

§

PottedFloweringAzaleaBush = 1_070

§

OchreFroglight = 1_071

§

VerdantFroglight = 1_072

§

PearlescentFroglight = 1_073

§

Frogspawn = 1_074

§

ReinforcedDeepslate = 1_075

§

DecoratedPot = 1_076

§

Crafter = 1_077

§

TrialSpawner = 1_078

§

Vault = 1_079

§

HeavyCore = 1_080

§

PaleMossBlock = 1_081

§

PaleMossCarpet = 1_082

§

PaleHangingMoss = 1_083

Implementations§

Source§

impl Block

Source

pub fn read_from_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 1084.

Source

pub fn is_valid_id(id: u32) -> bool

Trait Implementations§

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

Source§

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

Source§

impl McBufWritable for Block

Source§

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

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

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

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