#[repr(u32)]pub enum AbstractBlockKind {
Show 265 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,
Farmland = 85,
BonemealableFeaturePlacer = 86,
Fence = 87,
FenceGate = 88,
Fire = 89,
FireflyBush = 90,
Flower = 91,
FlowerPot = 92,
Frogspawn = 93,
FrostedIce = 94,
NetherFungus = 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,
PotentSulfur = 158,
PressurePlate = 159,
Pumpkin = 160,
Rail = 161,
RedstoneLamp = 162,
RedstoneOre = 163,
RedstoneTorch = 164,
RedstoneWallTorch = 165,
RedstoneWire = 166,
Repeater = 167,
RespawnAnchor = 168,
RootedDirt = 169,
NetherRoots = 170,
RotatedPillar = 171,
Sapling = 172,
Sand = 173,
Scaffolding = 174,
SculkCatalyst = 175,
Sculk = 176,
SculkSensor = 177,
SculkShrieker = 178,
SculkVein = 179,
Seagrass = 180,
SeaPickle = 181,
Shelf = 182,
ShortDryGrass = 183,
ShulkerBox = 184,
Skull = 185,
Slab = 186,
Slime = 187,
SmallDripleaf = 188,
SmithingTable = 189,
Smoker = 190,
SnifferEgg = 191,
SnowLayer = 192,
SnowyDirt = 193,
SoulFire = 194,
SoulSand = 195,
Spawner = 196,
CreakingHeart = 197,
Sponge = 198,
SporeBlossom = 199,
StainedGlassPane = 200,
StainedGlass = 201,
Stair = 202,
StandingSign = 203,
Stem = 204,
Stonecutter = 205,
Structure = 206,
StructureVoid = 207,
SugarCane = 208,
SulfurSpike = 209,
SweetBerryBush = 210,
TallDryGrass = 211,
TallFlower = 212,
TallGrass = 213,
TallSeagrass = 214,
Target = 215,
Test = 216,
TestInstance = 217,
TintedGlass = 218,
TintedParticleLeaves = 219,
Tnt = 220,
TorchflowerCrop = 221,
Torch = 222,
Transparent = 223,
Trapdoor = 224,
TrappedChest = 225,
TrialSpawner = 226,
TripWireHook = 227,
Tripwire = 228,
TurtleEgg = 229,
TwistingVinesPlant = 230,
TwistingVines = 231,
UntintedParticleLeaves = 232,
Vault = 233,
Vine = 234,
WallBanner = 235,
WallHangingSign = 236,
WallSign = 237,
WallSkull = 238,
WallTorch = 239,
Wall = 240,
LilyPad = 241,
WaterloggedTransparent = 242,
WeatheringCopperBar = 243,
WeatheringCopperBulb = 244,
WeatheringCopperChain = 245,
WeatheringCopperChest = 246,
WeatheringCopperDoor = 247,
WeatheringCopperFull = 248,
WeatheringCopperGolemStatue = 249,
WeatheringCopperGrate = 250,
WeatheringCopperSlab = 251,
WeatheringCopperStair = 252,
WeatheringCopperTrapdoor = 253,
WeatheringLantern = 254,
WeatheringLightningRod = 255,
Web = 256,
WeepingVinesPlant = 257,
WeepingVines = 258,
WeightedPressurePlate = 259,
WetSponge = 260,
WitherRose = 261,
WitherSkull = 262,
WitherWallSkull = 263,
WoolCarpet = 264,
}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
Farmland = 85
BonemealableFeaturePlacer = 86
Fence = 87
FenceGate = 88
Fire = 89
FireflyBush = 90
Flower = 91
FlowerPot = 92
Frogspawn = 93
FrostedIce = 94
NetherFungus = 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
PotentSulfur = 158
PressurePlate = 159
Pumpkin = 160
Rail = 161
RedstoneLamp = 162
RedstoneOre = 163
RedstoneTorch = 164
RedstoneWallTorch = 165
RedstoneWire = 166
Repeater = 167
RespawnAnchor = 168
RootedDirt = 169
NetherRoots = 170
RotatedPillar = 171
Sapling = 172
Sand = 173
Scaffolding = 174
SculkCatalyst = 175
Sculk = 176
SculkSensor = 177
SculkShrieker = 178
SculkVein = 179
Seagrass = 180
SeaPickle = 181
Shelf = 182
ShortDryGrass = 183
ShulkerBox = 184
Skull = 185
Slab = 186
Slime = 187
SmallDripleaf = 188
SmithingTable = 189
Smoker = 190
SnifferEgg = 191
SnowLayer = 192
SnowyDirt = 193
SoulFire = 194
SoulSand = 195
Spawner = 196
CreakingHeart = 197
Sponge = 198
SporeBlossom = 199
StainedGlassPane = 200
StainedGlass = 201
Stair = 202
StandingSign = 203
Stem = 204
Stonecutter = 205
Structure = 206
StructureVoid = 207
SugarCane = 208
SulfurSpike = 209
SweetBerryBush = 210
TallDryGrass = 211
TallFlower = 212
TallGrass = 213
TallSeagrass = 214
Target = 215
Test = 216
TestInstance = 217
TintedGlass = 218
TintedParticleLeaves = 219
Tnt = 220
TorchflowerCrop = 221
Torch = 222
Transparent = 223
Trapdoor = 224
TrappedChest = 225
TrialSpawner = 226
TripWireHook = 227
Tripwire = 228
TurtleEgg = 229
TwistingVinesPlant = 230
TwistingVines = 231
UntintedParticleLeaves = 232
Vault = 233
Vine = 234
WallBanner = 235
WallHangingSign = 236
WallSign = 237
WallSkull = 238
WallTorch = 239
Wall = 240
LilyPad = 241
WaterloggedTransparent = 242
WeatheringCopperBar = 243
WeatheringCopperBulb = 244
WeatheringCopperChain = 245
WeatheringCopperChest = 246
WeatheringCopperDoor = 247
WeatheringCopperFull = 248
WeatheringCopperGolemStatue = 249
WeatheringCopperGrate = 250
WeatheringCopperSlab = 251
WeatheringCopperStair = 252
WeatheringCopperTrapdoor = 253
WeatheringLantern = 254
WeatheringLightningRod = 255
Web = 256
WeepingVinesPlant = 257
WeepingVines = 258
WeightedPressurePlate = 259
WetSponge = 260
WitherRose = 261
WitherSkull = 262
WitherWallSkull = 263
WoolCarpet = 264
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 const fn is_valid_id(id: u32) -> bool
Trait Implementations§
Source§impl AzBuf for AbstractBlockKind
impl AzBuf for AbstractBlockKind
fn azalea_write(&self, buf: &mut impl Write) -> Result<(), Error>
fn azalea_read(buf: &mut Cursor<&[u8]>) -> Result<Self, BufReadError>
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AbstractBlockKind
Source§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
impl Eq for AbstractBlockKind
Source§impl<'a> From<AbstractBlockKind> for Identifier
impl<'a> From<AbstractBlockKind> for Identifier
Source§fn from(value: AbstractBlockKind) -> Self
fn from(value: AbstractBlockKind) -> Self
Converts to this type from the input type.
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
Parse the value from a stringified identifier, formatted like
either "air" or "minecraft:air".
impl FromStr for AbstractBlockKind
Parse the value from a stringified identifier, formatted like
either "air" or "minecraft:air".
Source§impl Hash for AbstractBlockKind
impl Hash for AbstractBlockKind
Source§impl Ord for AbstractBlockKind
impl Ord for AbstractBlockKind
Source§fn cmp(&self, other: &AbstractBlockKind) -> Ordering
fn cmp(&self, other: &AbstractBlockKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AbstractBlockKind
impl PartialEq for AbstractBlockKind
Source§fn eq(&self, other: &AbstractBlockKind) -> bool
fn eq(&self, other: &AbstractBlockKind) -> bool
Tests for
self and other values to be equal, and is used by ==.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.impl StructuralPartialEq for AbstractBlockKind
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<'a> TryFrom<&'a Identifier> for AbstractBlockKind
impl<'a> TryFrom<&'a Identifier> 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 UnsafeUnpin for AbstractBlockKind
impl UnwindSafe for AbstractBlockKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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
Checks if this value is equivalent to the given key. Read more
§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.