#[repr(u32)]pub enum BlockKind {
Show 245 variants
Block = 0,
Air = 1,
Amethyst = 2,
AmethystCluster = 3,
Anvil = 4,
AttachedStem = 5,
Azalea = 6,
BambooSapling = 7,
BambooStalk = 8,
Banner = 9,
Barrel = 10,
Barrier = 11,
BaseCoralFan = 12,
BaseCoralPlant = 13,
BaseCoralWallFan = 14,
Beacon = 15,
Bed = 16,
Beehive = 17,
Beetroot = 18,
Bell = 19,
BigDripleaf = 20,
BigDripleafStem = 21,
BlastFurnace = 22,
BrewingStand = 23,
Brushable = 24,
BubbleColumn = 25,
BuddingAmethyst = 26,
Button = 27,
Cactus = 28,
Cake = 29,
CalibratedSculkSensor = 30,
Campfire = 31,
CandleCake = 32,
Candle = 33,
Carpet = 34,
Carrot = 35,
CartographyTable = 36,
Cauldron = 37,
CaveVines = 38,
CaveVinesPlant = 39,
CeilingHangingSign = 40,
Chain = 41,
Chest = 42,
ChiseledBookShelf = 43,
ChorusFlower = 44,
ChorusPlant = 45,
Cocoa = 46,
ColoredFalling = 47,
Command = 48,
Comparator = 49,
Composter = 50,
ConcretePowder = 51,
Conduit = 52,
CopperBulbBlock = 53,
Coral = 54,
CoralFan = 55,
CoralPlant = 56,
CoralWallFan = 57,
Crafter = 58,
CraftingTable = 59,
Crop = 60,
CryingObsidian = 61,
DaylightDetector = 62,
DeadBush = 63,
DecoratedPot = 64,
DetectorRail = 65,
DirtPath = 66,
Dispenser = 67,
Door = 68,
DoublePlant = 69,
DragonEgg = 70,
DropExperience = 71,
Dropper = 72,
EnchantmentTable = 73,
EnderChest = 74,
EndGateway = 75,
EndPortal = 76,
EndPortalFrame = 77,
EndRod = 78,
Eyeblossom = 79,
Farm = 80,
BonemealableFeaturePlacer = 81,
Fence = 82,
FenceGate = 83,
Fire = 84,
FletchingTable = 85,
Flower = 86,
FlowerPot = 87,
Frogspawn = 88,
FrostedIce = 89,
Fungus = 90,
Furnace = 91,
GlazedTerracotta = 92,
GlowLichen = 93,
Grass = 94,
Grindstone = 95,
HalfTransparent = 96,
HangingMoss = 97,
HangingRoots = 98,
Hay = 99,
HeavyCore = 100,
Honey = 101,
Hopper = 102,
HugeMushroom = 103,
Ice = 104,
Infested = 105,
InfestedRotatedPillar = 106,
IronBars = 107,
JackOLantern = 108,
Jigsaw = 109,
Jukebox = 110,
Kelp = 111,
KelpPlant = 112,
Ladder = 113,
Lantern = 114,
LavaCauldron = 115,
LayeredCauldron = 116,
Leaves = 117,
Lectern = 118,
Lever = 119,
Light = 120,
LightningRod = 121,
Liquid = 122,
Loom = 123,
Magma = 124,
MangroveLeaves = 125,
MangrovePropagule = 126,
MangroveRoots = 127,
MossyCarpet = 128,
MovingPiston = 129,
Mud = 130,
Multiface = 131,
Mushroom = 132,
Mycelium = 133,
NetherPortal = 134,
Netherrack = 135,
NetherSprouts = 136,
NetherWart = 137,
Note = 138,
Nylium = 139,
Observer = 140,
Piglinwallskull = 141,
ParticleLeaves = 142,
PinkPetals = 143,
PistonBase = 144,
PistonHead = 145,
PitcherCrop = 146,
PlayerHead = 147,
PlayerWallHead = 148,
PointedDripstone = 149,
Potato = 150,
PowderSnow = 151,
Powered = 152,
PoweredRail = 153,
PressurePlate = 154,
Pumpkin = 155,
Rail = 156,
RedstoneLamp = 157,
RedstoneOre = 158,
RedstoneTorch = 159,
RedstoneWallTorch = 160,
RedstoneWire = 161,
Repeater = 162,
RespawnAnchor = 163,
RootedDirt = 164,
Roots = 165,
RotatedPillar = 166,
Sapling = 167,
Scaffolding = 168,
SculkCatalyst = 169,
Sculk = 170,
SculkSensor = 171,
SculkShrieker = 172,
SculkVein = 173,
Seagrass = 174,
SeaPickle = 175,
ShulkerBox = 176,
Skull = 177,
Slab = 178,
Slime = 179,
SmallDripleaf = 180,
SmithingTable = 181,
Smoker = 182,
SnifferEgg = 183,
SnowLayer = 184,
SnowyDirt = 185,
SoulFire = 186,
SoulSand = 187,
Spawner = 188,
CreakingHeart = 189,
Sponge = 190,
SporeBlossom = 191,
StainedGlassPane = 192,
StainedGlass = 193,
Stair = 194,
StandingSign = 195,
Stem = 196,
Stonecutter = 197,
Structure = 198,
StructureVoid = 199,
SugarCane = 200,
SweetBerryBush = 201,
TallFlower = 202,
TallGrass = 203,
TallSeagrass = 204,
Target = 205,
TintedGlass = 206,
Tnt = 207,
TorchflowerCrop = 208,
Torch = 209,
Transparent = 210,
Trapdoor = 211,
TrappedChest = 212,
TrialSpawner = 213,
TripWireHook = 214,
Tripwire = 215,
TurtleEgg = 216,
TwistingVinesPlant = 217,
TwistingVines = 218,
Vault = 219,
Vine = 220,
WallBanner = 221,
WallHangingSign = 222,
WallSign = 223,
WallSkull = 224,
WallTorch = 225,
Wall = 226,
Waterlily = 227,
WaterloggedTransparent = 228,
WeatheringCopperBulb = 229,
WeatheringCopperDoor = 230,
WeatheringCopperFull = 231,
WeatheringCopperGrate = 232,
WeatheringCopperSlab = 233,
WeatheringCopperStair = 234,
WeatheringCopperTrapDoor = 235,
Web = 236,
WeepingVinesPlant = 237,
WeepingVines = 238,
WeightedPressurePlate = 239,
WetSponge = 240,
WitherRose = 241,
WitherSkull = 242,
WitherWallSkull = 243,
WoolCarpet = 244,
}
Variants§
Block = 0
Air = 1
Amethyst = 2
AmethystCluster = 3
Anvil = 4
AttachedStem = 5
Azalea = 6
BambooSapling = 7
BambooStalk = 8
Banner = 9
Barrel = 10
Barrier = 11
BaseCoralFan = 12
BaseCoralPlant = 13
BaseCoralWallFan = 14
Beacon = 15
Bed = 16
Beehive = 17
Beetroot = 18
Bell = 19
BigDripleaf = 20
BigDripleafStem = 21
BlastFurnace = 22
BrewingStand = 23
Brushable = 24
BubbleColumn = 25
BuddingAmethyst = 26
Button = 27
Cactus = 28
Cake = 29
CalibratedSculkSensor = 30
Campfire = 31
CandleCake = 32
Candle = 33
Carpet = 34
Carrot = 35
CartographyTable = 36
Cauldron = 37
CaveVines = 38
CaveVinesPlant = 39
CeilingHangingSign = 40
Chain = 41
Chest = 42
ChiseledBookShelf = 43
ChorusFlower = 44
ChorusPlant = 45
Cocoa = 46
ColoredFalling = 47
Command = 48
Comparator = 49
Composter = 50
ConcretePowder = 51
Conduit = 52
CopperBulbBlock = 53
Coral = 54
CoralFan = 55
CoralPlant = 56
CoralWallFan = 57
Crafter = 58
CraftingTable = 59
Crop = 60
CryingObsidian = 61
DaylightDetector = 62
DeadBush = 63
DecoratedPot = 64
DetectorRail = 65
DirtPath = 66
Dispenser = 67
Door = 68
DoublePlant = 69
DragonEgg = 70
DropExperience = 71
Dropper = 72
EnchantmentTable = 73
EnderChest = 74
EndGateway = 75
EndPortal = 76
EndPortalFrame = 77
EndRod = 78
Eyeblossom = 79
Farm = 80
BonemealableFeaturePlacer = 81
Fence = 82
FenceGate = 83
Fire = 84
FletchingTable = 85
Flower = 86
FlowerPot = 87
Frogspawn = 88
FrostedIce = 89
Fungus = 90
Furnace = 91
GlazedTerracotta = 92
GlowLichen = 93
Grass = 94
Grindstone = 95
HalfTransparent = 96
HangingMoss = 97
HangingRoots = 98
Hay = 99
HeavyCore = 100
Honey = 101
Hopper = 102
HugeMushroom = 103
Ice = 104
Infested = 105
InfestedRotatedPillar = 106
IronBars = 107
JackOLantern = 108
Jigsaw = 109
Jukebox = 110
Kelp = 111
KelpPlant = 112
Ladder = 113
Lantern = 114
LavaCauldron = 115
LayeredCauldron = 116
Leaves = 117
Lectern = 118
Lever = 119
Light = 120
LightningRod = 121
Liquid = 122
Loom = 123
Magma = 124
MangroveLeaves = 125
MangrovePropagule = 126
MangroveRoots = 127
MossyCarpet = 128
MovingPiston = 129
Mud = 130
Multiface = 131
Mushroom = 132
Mycelium = 133
NetherPortal = 134
Netherrack = 135
NetherSprouts = 136
NetherWart = 137
Note = 138
Nylium = 139
Observer = 140
Piglinwallskull = 141
ParticleLeaves = 142
PinkPetals = 143
PistonBase = 144
PistonHead = 145
PitcherCrop = 146
PlayerHead = 147
PlayerWallHead = 148
PointedDripstone = 149
Potato = 150
PowderSnow = 151
Powered = 152
PoweredRail = 153
PressurePlate = 154
Pumpkin = 155
Rail = 156
RedstoneLamp = 157
RedstoneOre = 158
RedstoneTorch = 159
RedstoneWallTorch = 160
RedstoneWire = 161
Repeater = 162
RespawnAnchor = 163
RootedDirt = 164
Roots = 165
RotatedPillar = 166
Sapling = 167
Scaffolding = 168
SculkCatalyst = 169
Sculk = 170
SculkSensor = 171
SculkShrieker = 172
SculkVein = 173
Seagrass = 174
SeaPickle = 175
ShulkerBox = 176
Skull = 177
Slab = 178
Slime = 179
SmallDripleaf = 180
SmithingTable = 181
Smoker = 182
SnifferEgg = 183
SnowLayer = 184
SnowyDirt = 185
SoulFire = 186
SoulSand = 187
Spawner = 188
CreakingHeart = 189
Sponge = 190
SporeBlossom = 191
StainedGlassPane = 192
StainedGlass = 193
Stair = 194
StandingSign = 195
Stem = 196
Stonecutter = 197
Structure = 198
StructureVoid = 199
SugarCane = 200
SweetBerryBush = 201
TallFlower = 202
TallGrass = 203
TallSeagrass = 204
Target = 205
TintedGlass = 206
Tnt = 207
TorchflowerCrop = 208
Torch = 209
Transparent = 210
Trapdoor = 211
TrappedChest = 212
TrialSpawner = 213
TripWireHook = 214
Tripwire = 215
TurtleEgg = 216
TwistingVinesPlant = 217
TwistingVines = 218
Vault = 219
Vine = 220
WallBanner = 221
WallHangingSign = 222
WallSign = 223
WallSkull = 224
WallTorch = 225
Wall = 226
Waterlily = 227
WaterloggedTransparent = 228
WeatheringCopperBulb = 229
WeatheringCopperDoor = 230
WeatheringCopperFull = 231
WeatheringCopperGrate = 232
WeatheringCopperSlab = 233
WeatheringCopperStair = 234
WeatheringCopperTrapDoor = 235
Web = 236
WeepingVinesPlant = 237
WeepingVines = 238
WeightedPressurePlate = 239
WetSponge = 240
WitherRose = 241
WitherSkull = 242
WitherWallSkull = 243
WoolCarpet = 244
Implementations§
Source§impl BlockKind
impl BlockKind
pub fn azalea_read_id( buf: &mut Cursor<&[u8]>, id: u32, ) -> Result<Self, BufReadError>
Trait Implementations§
Source§impl AzaleaRead for BlockKind
impl AzaleaRead for BlockKind
fn azalea_read(buf: &mut Cursor<&[u8]>) -> Result<Self, BufReadError>
Source§impl AzaleaWrite for BlockKind
impl AzaleaWrite for BlockKind
Source§impl<'de> Deserialize<'de> for BlockKind
impl<'de> Deserialize<'de> for BlockKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 FromNbtTag for BlockKind
impl FromNbtTag for BlockKind
fn from_nbt_tag(tag: NbtTag<'_, '_>) -> Option<Self>
fn from_optional_nbt_tag( tag: Option<NbtTag<'_, '_>>, ) -> Result<Option<Self>, DeserializeError>
Source§impl ToNbtTag for BlockKind
impl ToNbtTag for BlockKind
fn to_nbt_tag(self) -> NbtTag
fn to_optional_nbt_tag(self) -> Option<NbtTag>
impl Copy for BlockKind
impl Eq for BlockKind
impl StructuralPartialEq for BlockKind
Auto Trait Implementations§
impl Freeze for BlockKind
impl RefUnwindSafe for BlockKind
impl Send for BlockKind
impl Sync for BlockKind
impl Unpin for BlockKind
impl UnwindSafe for BlockKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more