#[repr(u8)]pub enum block_state_property {
Show 110 variants
snowy = 0,
stage = 1,
age_5 = 2,
hanging = 3,
waterlogged = 4,
level_16 = 5,
dusted = 6,
axis_x_y_z = 7,
distance_7 = 8,
persistent = 9,
facing_north_east_south_west_up_down = 10,
triggered = 11,
instrument = 12,
note = 13,
powered = 14,
facing_north_south_west_east = 15,
occupied = 16,
part = 17,
shape_north_south_east_west_ascending_east_ascending_west_ascending_north_ascending_south = 18,
extended = 19,
half_upper_lower = 20,
short = 21,
type_normal_sticky = 22,
unstable = 23,
slot_0_occupied = 24,
slot_1_occupied = 25,
slot_2_occupied = 26,
slot_3_occupied = 27,
slot_4_occupied = 28,
slot_5_occupied = 29,
age_16 = 30,
east_true_false = 31,
north_true_false = 32,
south_true_false = 33,
up = 34,
west_true_false = 35,
half_top_bottom = 36,
shape_straight_inner_left_inner_right_outer_left_outer_right = 37,
type_single_left_right = 38,
east_up_side_none = 39,
north_up_side_none = 40,
power = 41,
south_up_side_none = 42,
west_up_side_none = 43,
age_8 = 44,
moisture = 45,
lit = 46,
rotation = 47,
hinge = 48,
open = 49,
shape_north_south_east_west_ascending_east_ascending_west_ascending_north_ascending_south_south_east_south_west_north_west_north_east = 50,
attached = 51,
face = 52,
layers = 53,
has_record = 54,
axis_x_z = 55,
bites = 56,
delay = 57,
locked = 58,
down = 59,
in_wall = 60,
age_4 = 61,
has_bottle_0 = 62,
has_bottle_1 = 63,
has_bottle_2 = 64,
level_3 = 65,
eye = 66,
age_3 = 67,
disarmed = 68,
conditional = 69,
east_none_low_tall = 70,
north_none_low_tall = 71,
south_none_low_tall = 72,
west_none_low_tall = 73,
mode_compare_subtract = 74,
inverted = 75,
enabled = 76,
facing_down_north_south_west_east = 77,
type_top_bottom_double = 78,
age_6 = 79,
age_2 = 80,
age_26 = 81,
eggs = 82,
hatch = 83,
pickles = 84,
leaves = 85,
drag = 86,
bottom = 87,
distance_8 = 88,
has_book = 89,
attachment = 90,
signal_fire = 91,
mode_save_load_corner_data = 92,
orientation = 93,
level_9 = 94,
honey_level = 95,
charges = 96,
candles = 97,
sculk_sensor_phase = 98,
bloom = 99,
can_summon = 100,
shrieking = 101,
thickness = 102,
vertical_direction = 103,
berries = 104,
flower_amount = 105,
tilt = 106,
cracked = 107,
crafting = 108,
trial_spawner_state = 109,
}Variants§
snowy = 0
stage = 1
age_5 = 2
hanging = 3
waterlogged = 4
level_16 = 5
dusted = 6
axis_x_y_z = 7
distance_7 = 8
persistent = 9
facing_north_east_south_west_up_down = 10
triggered = 11
instrument = 12
note = 13
powered = 14
facing_north_south_west_east = 15
occupied = 16
part = 17
shape_north_south_east_west_ascending_east_ascending_west_ascending_north_ascending_south = 18
extended = 19
half_upper_lower = 20
short = 21
type_normal_sticky = 22
unstable = 23
slot_0_occupied = 24
slot_1_occupied = 25
slot_2_occupied = 26
slot_3_occupied = 27
slot_4_occupied = 28
slot_5_occupied = 29
age_16 = 30
east_true_false = 31
north_true_false = 32
south_true_false = 33
up = 34
west_true_false = 35
half_top_bottom = 36
shape_straight_inner_left_inner_right_outer_left_outer_right = 37
type_single_left_right = 38
east_up_side_none = 39
north_up_side_none = 40
power = 41
south_up_side_none = 42
west_up_side_none = 43
age_8 = 44
moisture = 45
lit = 46
rotation = 47
hinge = 48
open = 49
shape_north_south_east_west_ascending_east_ascending_west_ascending_north_ascending_south_south_east_south_west_north_west_north_east = 50
attached = 51
face = 52
layers = 53
has_record = 54
axis_x_z = 55
bites = 56
delay = 57
locked = 58
down = 59
in_wall = 60
age_4 = 61
has_bottle_0 = 62
has_bottle_1 = 63
has_bottle_2 = 64
level_3 = 65
eye = 66
age_3 = 67
disarmed = 68
conditional = 69
east_none_low_tall = 70
north_none_low_tall = 71
south_none_low_tall = 72
west_none_low_tall = 73
mode_compare_subtract = 74
inverted = 75
enabled = 76
facing_down_north_south_west_east = 77
type_top_bottom_double = 78
age_6 = 79
age_2 = 80
age_26 = 81
eggs = 82
hatch = 83
pickles = 84
leaves = 85
drag = 86
bottom = 87
distance_8 = 88
has_book = 89
attachment = 90
signal_fire = 91
mode_save_load_corner_data = 92
orientation = 93
level_9 = 94
honey_level = 95
charges = 96
candles = 97
sculk_sensor_phase = 98
bloom = 99
can_summon = 100
shrieking = 101
thickness = 102
vertical_direction = 103
berries = 104
flower_amount = 105
tilt = 106
cracked = 107
crafting = 108
trial_spawner_state = 109
Implementations§
source§impl block_state_property
impl block_state_property
pub const fn key(self) -> block_state_property_key
pub const fn val(self) -> &'static [block_state_property_value]
Trait Implementations§
source§impl Clone for block_state_property
impl Clone for block_state_property
source§fn clone(&self) -> block_state_property
fn clone(&self) -> block_state_property
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 Hash for block_state_property
impl Hash for block_state_property
source§impl PartialEq for block_state_property
impl PartialEq for block_state_property
source§fn eq(&self, other: &block_state_property) -> bool
fn eq(&self, other: &block_state_property) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for block_state_property
impl Eq for block_state_property
impl StructuralEq for block_state_property
impl StructuralPartialEq for block_state_property
Auto Trait Implementations§
impl RefUnwindSafe for block_state_property
impl Send for block_state_property
impl Sync for block_state_property
impl Unpin for block_state_property
impl UnwindSafe for block_state_property
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