#[repr(u32)]pub enum AbstractBlockKind {
Show 263 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,
Bush = 27,
Button = 28,
Cactus = 29,
CactusFlower = 30,
Cake = 31,
CalibratedSculkSensor = 32,
Campfire = 33,
CandleCake = 34,
Candle = 35,
Carpet = 36,
Carrot = 37,
CartographyTable = 38,
Cauldron = 39,
CaveVines = 40,
CaveVinesPlant = 41,
CeilingHangingSign = 42,
Chain = 43,
Chest = 44,
ChiseledBookShelf = 45,
ChorusFlower = 46,
ChorusPlant = 47,
Cocoa = 48,
ColoredFalling = 49,
Command = 50,
Comparator = 51,
Composter = 52,
ConcretePowder = 53,
Conduit = 54,
CopperBulbBlock = 55,
CopperChest = 56,
CopperGolemStatue = 57,
Coral = 58,
CoralFan = 59,
CoralPlant = 60,
CoralWallFan = 61,
Crafter = 62,
CraftingTable = 63,
Crop = 64,
CryingObsidian = 65,
DaylightDetector = 66,
DryVegetation = 67,
DecoratedPot = 68,
DetectorRail = 69,
DirtPath = 70,
Dispenser = 71,
Door = 72,
DoublePlant = 73,
DragonEgg = 74,
DriedGhast = 75,
DropExperience = 76,
Dropper = 77,
EnchantmentTable = 78,
EnderChest = 79,
EndGateway = 80,
EndPortal = 81,
EndPortalFrame = 82,
EndRod = 83,
Eyeblossom = 84,
Farm = 85,
BonemealableFeaturePlacer = 86,
Fence = 87,
FenceGate = 88,
Fire = 89,
FireflyBush = 90,
Flower = 91,
FlowerPot = 92,
Frogspawn = 93,
FrostedIce = 94,
Fungus = 95,
Furnace = 96,
GlazedTerracotta = 97,
GlowLichen = 98,
Grass = 99,
Grindstone = 100,
HalfTransparent = 101,
HangingMoss = 102,
HangingRoots = 103,
Hay = 104,
HeavyCore = 105,
Honey = 106,
Hopper = 107,
HugeMushroom = 108,
Ice = 109,
Infested = 110,
InfestedRotatedPillar = 111,
IronBars = 112,
JackOLantern = 113,
Jigsaw = 114,
Jukebox = 115,
Kelp = 116,
KelpPlant = 117,
Ladder = 118,
Lantern = 119,
LavaCauldron = 120,
LayeredCauldron = 121,
LeafLitter = 122,
Lectern = 123,
Lever = 124,
Light = 125,
LightningRod = 126,
Liquid = 127,
Loom = 128,
Magma = 129,
MangroveLeaves = 130,
MangrovePropagule = 131,
MangroveRoots = 132,
MossyCarpet = 133,
MovingPiston = 134,
Mud = 135,
Multiface = 136,
Mushroom = 137,
Mycelium = 138,
NetherPortal = 139,
Netherrack = 140,
NetherSprouts = 141,
NetherWart = 142,
Note = 143,
Nylium = 144,
Observer = 145,
Piglinwallskull = 146,
FlowerBed = 147,
PistonBase = 148,
PistonHead = 149,
PitcherCrop = 150,
PlayerHead = 151,
PlayerWallHead = 152,
PointedDripstone = 153,
Potato = 154,
PowderSnow = 155,
Powered = 156,
PoweredRail = 157,
PressurePlate = 158,
Pumpkin = 159,
Rail = 160,
RedstoneLamp = 161,
RedstoneOre = 162,
RedstoneTorch = 163,
RedstoneWallTorch = 164,
RedstoneWire = 165,
Repeater = 166,
RespawnAnchor = 167,
RootedDirt = 168,
Roots = 169,
RotatedPillar = 170,
Sapling = 171,
Sand = 172,
Scaffolding = 173,
SculkCatalyst = 174,
Sculk = 175,
SculkSensor = 176,
SculkShrieker = 177,
SculkVein = 178,
Seagrass = 179,
SeaPickle = 180,
Shelf = 181,
ShortDryGrass = 182,
ShulkerBox = 183,
Skull = 184,
Slab = 185,
Slime = 186,
SmallDripleaf = 187,
SmithingTable = 188,
Smoker = 189,
SnifferEgg = 190,
SnowLayer = 191,
SnowyDirt = 192,
SoulFire = 193,
SoulSand = 194,
Spawner = 195,
CreakingHeart = 196,
Sponge = 197,
SporeBlossom = 198,
StainedGlassPane = 199,
StainedGlass = 200,
Stair = 201,
StandingSign = 202,
Stem = 203,
Stonecutter = 204,
Structure = 205,
StructureVoid = 206,
SugarCane = 207,
SweetBerryBush = 208,
TallDryGrass = 209,
TallFlower = 210,
TallGrass = 211,
TallSeagrass = 212,
Target = 213,
Test = 214,
TestInstance = 215,
TintedGlass = 216,
TintedParticleLeaves = 217,
Tnt = 218,
TorchflowerCrop = 219,
Torch = 220,
Transparent = 221,
Trapdoor = 222,
TrappedChest = 223,
TrialSpawner = 224,
TripWireHook = 225,
Tripwire = 226,
TurtleEgg = 227,
TwistingVinesPlant = 228,
TwistingVines = 229,
UntintedParticleLeaves = 230,
Vault = 231,
Vine = 232,
WallBanner = 233,
WallHangingSign = 234,
WallSign = 235,
WallSkull = 236,
WallTorch = 237,
Wall = 238,
Waterlily = 239,
WaterloggedTransparent = 240,
WeatheringCopperBar = 241,
WeatheringCopperBulb = 242,
WeatheringCopperChain = 243,
WeatheringCopperChest = 244,
WeatheringCopperDoor = 245,
WeatheringCopperFull = 246,
WeatheringCopperGolemStatue = 247,
WeatheringCopperGrate = 248,
WeatheringCopperSlab = 249,
WeatheringCopperStair = 250,
WeatheringCopperTrapDoor = 251,
WeatheringLantern = 252,
WeatheringLightningRod = 253,
Web = 254,
WeepingVinesPlant = 255,
WeepingVines = 256,
WeightedPressurePlate = 257,
WetSponge = 258,
WitherRose = 259,
WitherSkull = 260,
WitherWallSkull = 261,
WoolCarpet = 262,
}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
Bush = 27
Button = 28
Cactus = 29
CactusFlower = 30
Cake = 31
CalibratedSculkSensor = 32
Campfire = 33
CandleCake = 34
Candle = 35
Carpet = 36
Carrot = 37
CartographyTable = 38
Cauldron = 39
CaveVines = 40
CaveVinesPlant = 41
CeilingHangingSign = 42
Chain = 43
Chest = 44
ChiseledBookShelf = 45
ChorusFlower = 46
ChorusPlant = 47
Cocoa = 48
ColoredFalling = 49
Command = 50
Comparator = 51
Composter = 52
ConcretePowder = 53
Conduit = 54
CopperBulbBlock = 55
CopperChest = 56
CopperGolemStatue = 57
Coral = 58
CoralFan = 59
CoralPlant = 60
CoralWallFan = 61
Crafter = 62
CraftingTable = 63
Crop = 64
CryingObsidian = 65
DaylightDetector = 66
DryVegetation = 67
DecoratedPot = 68
DetectorRail = 69
DirtPath = 70
Dispenser = 71
Door = 72
DoublePlant = 73
DragonEgg = 74
DriedGhast = 75
DropExperience = 76
Dropper = 77
EnchantmentTable = 78
EnderChest = 79
EndGateway = 80
EndPortal = 81
EndPortalFrame = 82
EndRod = 83
Eyeblossom = 84
Farm = 85
BonemealableFeaturePlacer = 86
Fence = 87
FenceGate = 88
Fire = 89
FireflyBush = 90
Flower = 91
FlowerPot = 92
Frogspawn = 93
FrostedIce = 94
Fungus = 95
Furnace = 96
GlazedTerracotta = 97
GlowLichen = 98
Grass = 99
Grindstone = 100
HalfTransparent = 101
HangingMoss = 102
HangingRoots = 103
Hay = 104
HeavyCore = 105
Honey = 106
Hopper = 107
HugeMushroom = 108
Ice = 109
Infested = 110
InfestedRotatedPillar = 111
IronBars = 112
JackOLantern = 113
Jigsaw = 114
Jukebox = 115
Kelp = 116
KelpPlant = 117
Ladder = 118
Lantern = 119
LavaCauldron = 120
LayeredCauldron = 121
LeafLitter = 122
Lectern = 123
Lever = 124
Light = 125
LightningRod = 126
Liquid = 127
Loom = 128
Magma = 129
MangroveLeaves = 130
MangrovePropagule = 131
MangroveRoots = 132
MossyCarpet = 133
MovingPiston = 134
Mud = 135
Multiface = 136
Mushroom = 137
Mycelium = 138
NetherPortal = 139
Netherrack = 140
NetherSprouts = 141
NetherWart = 142
Note = 143
Nylium = 144
Observer = 145
Piglinwallskull = 146
FlowerBed = 147
PistonBase = 148
PistonHead = 149
PitcherCrop = 150
PlayerHead = 151
PlayerWallHead = 152
PointedDripstone = 153
Potato = 154
PowderSnow = 155
Powered = 156
PoweredRail = 157
PressurePlate = 158
Pumpkin = 159
Rail = 160
RedstoneLamp = 161
RedstoneOre = 162
RedstoneTorch = 163
RedstoneWallTorch = 164
RedstoneWire = 165
Repeater = 166
RespawnAnchor = 167
RootedDirt = 168
Roots = 169
RotatedPillar = 170
Sapling = 171
Sand = 172
Scaffolding = 173
SculkCatalyst = 174
Sculk = 175
SculkSensor = 176
SculkShrieker = 177
SculkVein = 178
Seagrass = 179
SeaPickle = 180
Shelf = 181
ShortDryGrass = 182
ShulkerBox = 183
Skull = 184
Slab = 185
Slime = 186
SmallDripleaf = 187
SmithingTable = 188
Smoker = 189
SnifferEgg = 190
SnowLayer = 191
SnowyDirt = 192
SoulFire = 193
SoulSand = 194
Spawner = 195
CreakingHeart = 196
Sponge = 197
SporeBlossom = 198
StainedGlassPane = 199
StainedGlass = 200
Stair = 201
StandingSign = 202
Stem = 203
Stonecutter = 204
Structure = 205
StructureVoid = 206
SugarCane = 207
SweetBerryBush = 208
TallDryGrass = 209
TallFlower = 210
TallGrass = 211
TallSeagrass = 212
Target = 213
Test = 214
TestInstance = 215
TintedGlass = 216
TintedParticleLeaves = 217
Tnt = 218
TorchflowerCrop = 219
Torch = 220
Transparent = 221
Trapdoor = 222
TrappedChest = 223
TrialSpawner = 224
TripWireHook = 225
Tripwire = 226
TurtleEgg = 227
TwistingVinesPlant = 228
TwistingVines = 229
UntintedParticleLeaves = 230
Vault = 231
Vine = 232
WallBanner = 233
WallHangingSign = 234
WallSign = 235
WallSkull = 236
WallTorch = 237
Wall = 238
Waterlily = 239
WaterloggedTransparent = 240
WeatheringCopperBar = 241
WeatheringCopperBulb = 242
WeatheringCopperChain = 243
WeatheringCopperChest = 244
WeatheringCopperDoor = 245
WeatheringCopperFull = 246
WeatheringCopperGolemStatue = 247
WeatheringCopperGrate = 248
WeatheringCopperSlab = 249
WeatheringCopperStair = 250
WeatheringCopperTrapDoor = 251
WeatheringLantern = 252
WeatheringLightningRod = 253
Web = 254
WeepingVinesPlant = 255
WeepingVines = 256
WeightedPressurePlate = 257
WetSponge = 258
WitherRose = 259
WitherSkull = 260
WitherWallSkull = 261
WoolCarpet = 262
Implementations§
Source§impl AbstractBlockKind
impl AbstractBlockKind
Sourcepub unsafe fn from_u32_unchecked(id: u32) -> Self
pub unsafe fn from_u32_unchecked(id: u32) -> Self
pub fn is_valid_id(id: u32) -> bool
Trait Implementations§
Source§impl AzaleaRead for AbstractBlockKind
impl AzaleaRead for AbstractBlockKind
Source§impl AzaleaWrite for AbstractBlockKind
impl AzaleaWrite for AbstractBlockKind
Source§impl Clone for AbstractBlockKind
impl Clone for AbstractBlockKind
Source§fn clone(&self) -> AbstractBlockKind
fn clone(&self) -> AbstractBlockKind
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AbstractBlockKind
impl Debug for AbstractBlockKind
Source§impl<'de> Deserialize<'de> for AbstractBlockKind
Available on crate feature serde only.
impl<'de> Deserialize<'de> for AbstractBlockKind
Available on crate feature
serde only.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 Display for AbstractBlockKind
impl Display for AbstractBlockKind
Source§impl FromNbtTag for AbstractBlockKind
impl FromNbtTag for AbstractBlockKind
fn from_nbt_tag(tag: NbtTag<'_, '_>) -> Option<Self>
fn from_optional_nbt_tag( tag: Option<NbtTag<'_, '_>>, ) -> Result<Option<Self>, DeserializeError>
Source§impl FromStr for AbstractBlockKind
impl FromStr for AbstractBlockKind
Source§impl Hash for AbstractBlockKind
impl Hash for AbstractBlockKind
Source§impl Ord for AbstractBlockKind
impl Ord for AbstractBlockKind
Source§impl PartialEq for AbstractBlockKind
impl PartialEq for AbstractBlockKind
Source§impl PartialOrd for AbstractBlockKind
impl PartialOrd for AbstractBlockKind
Source§impl Registry for AbstractBlockKind
impl Registry for AbstractBlockKind
Source§impl Serialize for AbstractBlockKind
Available on crate feature serde only.
impl Serialize for AbstractBlockKind
Available on crate feature
serde only.Source§impl ToNbtTag for AbstractBlockKind
impl ToNbtTag for AbstractBlockKind
fn to_nbt_tag(self) -> NbtTag
fn to_optional_nbt_tag(self) -> Option<NbtTag>
Source§impl TryFrom<u32> for AbstractBlockKind
impl TryFrom<u32> for AbstractBlockKind
impl Copy for AbstractBlockKind
impl Eq for AbstractBlockKind
impl StructuralPartialEq for AbstractBlockKind
Auto Trait Implementations§
impl Freeze for AbstractBlockKind
impl RefUnwindSafe for AbstractBlockKind
impl Send for AbstractBlockKind
impl Sync for AbstractBlockKind
impl Unpin for AbstractBlockKind
impl UnwindSafe for AbstractBlockKind
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.