#[repr(u8)]pub enum block_type {
Show 245 variants
block = 0,
air = 1,
amethyst = 2,
amethyst_cluster = 3,
anvil = 4,
attached_stem = 5,
azalea = 6,
bamboo_sapling = 7,
bamboo_stalk = 8,
banner = 9,
barrel = 10,
barrier = 11,
base_coral_fan = 12,
base_coral_plant = 13,
base_coral_wall_fan = 14,
beacon = 15,
bed = 16,
beehive = 17,
beetroot = 18,
bell = 19,
big_dripleaf = 20,
big_dripleaf_stem = 21,
blast_furnace = 22,
brewing_stand = 23,
brushable = 24,
bubble_column = 25,
budding_amethyst = 26,
button = 27,
cactus = 28,
cake = 29,
calibrated_sculk_sensor = 30,
campfire = 31,
candle_cake = 32,
candle = 33,
carpet = 34,
carrot = 35,
cartography_table = 36,
cauldron = 37,
cave_vines = 38,
cave_vines_plant = 39,
ceiling_hanging_sign = 40,
chain = 41,
chest = 42,
chiseled_book_shelf = 43,
chorus_flower = 44,
chorus_plant = 45,
cocoa = 46,
colored_falling = 47,
command = 48,
comparator = 49,
composter = 50,
concrete_powder = 51,
conduit = 52,
copper_bulb_block = 53,
coral = 54,
coral_fan = 55,
coral_plant = 56,
coral_wall_fan = 57,
crafter = 58,
crafting_table = 59,
crop = 60,
crying_obsidian = 61,
daylight_detector = 62,
dead_bush = 63,
decorated_pot = 64,
detector_rail = 65,
dirt_path = 66,
dispenser = 67,
door = 68,
double_plant = 69,
dragon_egg = 70,
drop_experience = 71,
dropper = 72,
enchantment_table = 73,
ender_chest = 74,
end_gateway = 75,
end_portal = 76,
end_portal_frame = 77,
end_rod = 78,
eyeblossom = 79,
farm = 80,
bonemealable_feature_placer = 81,
fence = 82,
fence_gate = 83,
fire = 84,
fletching_table = 85,
flower = 86,
flower_pot = 87,
frogspawn = 88,
frosted_ice = 89,
fungus = 90,
furnace = 91,
glazed_terracotta = 92,
glow_lichen = 93,
grass = 94,
grindstone = 95,
half_transparent = 96,
hanging_moss = 97,
hanging_roots = 98,
hay = 99,
heavy_core = 100,
honey = 101,
hopper = 102,
huge_mushroom = 103,
ice = 104,
infested = 105,
infested_rotated_pillar = 106,
iron_bars = 107,
jack_o_lantern = 108,
jigsaw = 109,
jukebox = 110,
kelp = 111,
kelp_plant = 112,
ladder = 113,
lantern = 114,
lava_cauldron = 115,
layered_cauldron = 116,
leaves = 117,
lectern = 118,
lever = 119,
light = 120,
lightning_rod = 121,
liquid = 122,
loom = 123,
magma = 124,
mangrove_leaves = 125,
mangrove_propagule = 126,
mangrove_roots = 127,
mossy_carpet = 128,
moving_piston = 129,
mud = 130,
multiface = 131,
mushroom = 132,
mycelium = 133,
nether_portal = 134,
netherrack = 135,
nether_sprouts = 136,
nether_wart = 137,
note = 138,
nylium = 139,
observer = 140,
piglinwallskull = 141,
particle_leaves = 142,
pink_petals = 143,
piston_base = 144,
piston_head = 145,
pitcher_crop = 146,
player_head = 147,
player_wall_head = 148,
pointed_dripstone = 149,
potato = 150,
powder_snow = 151,
powered = 152,
powered_rail = 153,
pressure_plate = 154,
pumpkin = 155,
rail = 156,
redstone_lamp = 157,
redstone_ore = 158,
redstone_torch = 159,
redstone_wall_torch = 160,
redstone_wire = 161,
repeater = 162,
respawn_anchor = 163,
rooted_dirt = 164,
roots = 165,
rotated_pillar = 166,
sapling = 167,
scaffolding = 168,
sculk_catalyst = 169,
sculk = 170,
sculk_sensor = 171,
sculk_shrieker = 172,
sculk_vein = 173,
seagrass = 174,
sea_pickle = 175,
shulker_box = 176,
skull = 177,
slab = 178,
slime = 179,
small_dripleaf = 180,
smithing_table = 181,
smoker = 182,
sniffer_egg = 183,
snow_layer = 184,
snowy_dirt = 185,
soul_fire = 186,
soul_sand = 187,
spawner = 188,
creaking_heart = 189,
sponge = 190,
spore_blossom = 191,
stained_glass_pane = 192,
stained_glass = 193,
stair = 194,
standing_sign = 195,
stem = 196,
stonecutter = 197,
structure = 198,
structure_void = 199,
sugar_cane = 200,
sweet_berry_bush = 201,
tall_flower = 202,
tall_grass = 203,
tall_seagrass = 204,
target = 205,
tinted_glass = 206,
tnt = 207,
torchflower_crop = 208,
torch = 209,
transparent = 210,
trapdoor = 211,
trapped_chest = 212,
trial_spawner = 213,
trip_wire_hook = 214,
tripwire = 215,
turtle_egg = 216,
twisting_vines_plant = 217,
twisting_vines = 218,
vault = 219,
vine = 220,
wall_banner = 221,
wall_hanging_sign = 222,
wall_sign = 223,
wall_skull = 224,
wall_torch = 225,
wall = 226,
waterlily = 227,
waterlogged_transparent = 228,
weathering_copper_bulb = 229,
weathering_copper_door = 230,
weathering_copper_full = 231,
weathering_copper_grate = 232,
weathering_copper_slab = 233,
weathering_copper_stair = 234,
weathering_copper_trap_door = 235,
web = 236,
weeping_vines_plant = 237,
weeping_vines = 238,
weighted_pressure_plate = 239,
wet_sponge = 240,
wither_rose = 241,
wither_skull = 242,
wither_wall_skull = 243,
wool_carpet = 244,
}Variants§
block = 0
air = 1
amethyst = 2
amethyst_cluster = 3
anvil = 4
attached_stem = 5
azalea = 6
bamboo_sapling = 7
bamboo_stalk = 8
barrel = 10
barrier = 11
base_coral_fan = 12
base_coral_plant = 13
base_coral_wall_fan = 14
beacon = 15
bed = 16
beehive = 17
beetroot = 18
bell = 19
big_dripleaf = 20
big_dripleaf_stem = 21
blast_furnace = 22
brewing_stand = 23
brushable = 24
bubble_column = 25
budding_amethyst = 26
cactus = 28
cake = 29
calibrated_sculk_sensor = 30
campfire = 31
candle_cake = 32
candle = 33
carpet = 34
carrot = 35
cartography_table = 36
cauldron = 37
cave_vines = 38
cave_vines_plant = 39
ceiling_hanging_sign = 40
chain = 41
chest = 42
chiseled_book_shelf = 43
chorus_flower = 44
chorus_plant = 45
cocoa = 46
colored_falling = 47
command = 48
comparator = 49
composter = 50
concrete_powder = 51
conduit = 52
copper_bulb_block = 53
coral = 54
coral_fan = 55
coral_plant = 56
coral_wall_fan = 57
crafter = 58
crafting_table = 59
crop = 60
crying_obsidian = 61
daylight_detector = 62
dead_bush = 63
decorated_pot = 64
detector_rail = 65
dirt_path = 66
dispenser = 67
door = 68
double_plant = 69
dragon_egg = 70
drop_experience = 71
dropper = 72
enchantment_table = 73
ender_chest = 74
end_gateway = 75
end_portal = 76
end_portal_frame = 77
end_rod = 78
eyeblossom = 79
farm = 80
bonemealable_feature_placer = 81
fence = 82
fence_gate = 83
fire = 84
fletching_table = 85
flower = 86
flower_pot = 87
frogspawn = 88
frosted_ice = 89
fungus = 90
furnace = 91
glazed_terracotta = 92
glow_lichen = 93
grass = 94
grindstone = 95
half_transparent = 96
hanging_moss = 97
hanging_roots = 98
hay = 99
heavy_core = 100
honey = 101
hopper = 102
huge_mushroom = 103
ice = 104
infested = 105
infested_rotated_pillar = 106
iron_bars = 107
jack_o_lantern = 108
jigsaw = 109
jukebox = 110
kelp = 111
kelp_plant = 112
ladder = 113
lantern = 114
lava_cauldron = 115
layered_cauldron = 116
leaves = 117
lectern = 118
lever = 119
light = 120
lightning_rod = 121
liquid = 122
loom = 123
magma = 124
mangrove_leaves = 125
mangrove_propagule = 126
mangrove_roots = 127
mossy_carpet = 128
moving_piston = 129
mud = 130
multiface = 131
mushroom = 132
mycelium = 133
nether_portal = 134
netherrack = 135
nether_sprouts = 136
nether_wart = 137
note = 138
nylium = 139
observer = 140
piglinwallskull = 141
particle_leaves = 142
pink_petals = 143
piston_base = 144
piston_head = 145
pitcher_crop = 146
player_head = 147
player_wall_head = 148
pointed_dripstone = 149
potato = 150
powder_snow = 151
powered = 152
powered_rail = 153
pressure_plate = 154
pumpkin = 155
rail = 156
redstone_lamp = 157
redstone_ore = 158
redstone_torch = 159
redstone_wall_torch = 160
redstone_wire = 161
repeater = 162
respawn_anchor = 163
rooted_dirt = 164
roots = 165
rotated_pillar = 166
sapling = 167
scaffolding = 168
sculk_catalyst = 169
sculk = 170
sculk_sensor = 171
sculk_shrieker = 172
sculk_vein = 173
seagrass = 174
sea_pickle = 175
shulker_box = 176
skull = 177
slab = 178
slime = 179
small_dripleaf = 180
smithing_table = 181
smoker = 182
sniffer_egg = 183
snow_layer = 184
snowy_dirt = 185
soul_fire = 186
soul_sand = 187
spawner = 188
creaking_heart = 189
sponge = 190
spore_blossom = 191
stained_glass_pane = 192
stained_glass = 193
stair = 194
standing_sign = 195
stem = 196
stonecutter = 197
structure = 198
structure_void = 199
sugar_cane = 200
sweet_berry_bush = 201
tall_flower = 202
tall_grass = 203
tall_seagrass = 204
target = 205
tinted_glass = 206
tnt = 207
torchflower_crop = 208
torch = 209
transparent = 210
trapdoor = 211
trapped_chest = 212
trial_spawner = 213
trip_wire_hook = 214
tripwire = 215
turtle_egg = 216
twisting_vines_plant = 217
twisting_vines = 218
vault = 219
vine = 220
wall_hanging_sign = 222
wall_sign = 223
wall_skull = 224
wall_torch = 225
wall = 226
waterlily = 227
waterlogged_transparent = 228
weathering_copper_bulb = 229
weathering_copper_door = 230
weathering_copper_full = 231
weathering_copper_grate = 232
weathering_copper_slab = 233
weathering_copper_stair = 234
weathering_copper_trap_door = 235
web = 236
weeping_vines_plant = 237
weeping_vines = 238
weighted_pressure_plate = 239
wet_sponge = 240
wither_rose = 241
wither_skull = 242
wither_wall_skull = 243
wool_carpet = 244
Implementations§
Trait Implementations§
Source§impl Clone for block_type
impl Clone for block_type
Source§fn clone(&self) -> block_type
fn clone(&self) -> block_type
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for block_type
impl Debug for block_type
Source§impl Display for block_type
impl Display for block_type
Source§impl Hash for block_type
impl Hash for block_type
Source§impl PartialEq for block_type
impl PartialEq for block_type
Source§impl Write for block_type
impl Write for block_type
impl Copy for block_type
impl Eq for block_type
impl StructuralPartialEq for block_type
Auto Trait Implementations§
impl Freeze for block_type
impl RefUnwindSafe for block_type
impl Send for block_type
impl Sync for block_type
impl Unpin for block_type
impl UnwindSafe for block_type
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