#[repr(u8)]pub enum block_state_property {
Show 89 variants
snowy = 0,
stage = 1,
level_16 = 2,
axis_x_y_z = 3,
distance_7 = 4,
persistent = 5,
facing_north_east_south_west_up_down = 6,
triggered = 7,
instrument = 8,
note = 9,
powered = 10,
facing_north_south_west_east = 11,
occupied = 12,
part = 13,
shape_north_south_east_west_ascending_east_ascending_west_ascending_north_ascending_south = 14,
extended = 15,
half_upper_lower = 16,
short = 17,
type_normal_sticky = 18,
unstable = 19,
age_16 = 20,
east_true_false = 21,
north_true_false = 22,
south_true_false = 23,
up = 24,
west_true_false = 25,
half_top_bottom = 26,
shape_straight_inner_left_inner_right_outer_left_outer_right = 27,
waterlogged = 28,
type_single_left_right = 29,
east_up_side_none = 30,
north_up_side_none = 31,
power = 32,
south_up_side_none = 33,
west_up_side_none = 34,
age_8 = 35,
moisture = 36,
lit = 37,
rotation = 38,
hinge = 39,
open = 40,
shape_north_south_east_west_ascending_east_ascending_west_ascending_north_ascending_south_south_east_south_west_north_west_north_east = 41,
face = 42,
layers = 43,
has_record = 44,
axis_x_z = 45,
bites = 46,
delay = 47,
locked = 48,
down = 49,
in_wall = 50,
age_4 = 51,
has_bottle_0 = 52,
has_bottle_1 = 53,
has_bottle_2 = 54,
level_4 = 55,
eye = 56,
age_3 = 57,
attached = 58,
disarmed = 59,
conditional = 60,
east_none_low_tall = 61,
north_none_low_tall = 62,
south_none_low_tall = 63,
west_none_low_tall = 64,
mode_compare_subtract = 65,
inverted = 66,
enabled = 67,
facing_down_north_south_west_east = 68,
type_top_bottom_double = 69,
age_6 = 70,
age_26 = 71,
eggs = 72,
hatch = 73,
pickles = 74,
age_2 = 75,
leaves = 76,
drag = 77,
bottom = 78,
distance_8 = 79,
has_book = 80,
attachment = 81,
hanging = 82,
signal_fire = 83,
mode_save_load_corner_data = 84,
orientation = 85,
level_9 = 86,
honey_level = 87,
charges = 88,
}Variants§
snowy = 0
stage = 1
level_16 = 2
axis_x_y_z = 3
distance_7 = 4
persistent = 5
facing_north_east_south_west_up_down = 6
triggered = 7
instrument = 8
note = 9
powered = 10
facing_north_south_west_east = 11
occupied = 12
part = 13
shape_north_south_east_west_ascending_east_ascending_west_ascending_north_ascending_south = 14
extended = 15
half_upper_lower = 16
short = 17
type_normal_sticky = 18
unstable = 19
age_16 = 20
east_true_false = 21
north_true_false = 22
south_true_false = 23
up = 24
west_true_false = 25
half_top_bottom = 26
shape_straight_inner_left_inner_right_outer_left_outer_right = 27
waterlogged = 28
type_single_left_right = 29
east_up_side_none = 30
north_up_side_none = 31
power = 32
south_up_side_none = 33
west_up_side_none = 34
age_8 = 35
moisture = 36
lit = 37
rotation = 38
hinge = 39
open = 40
shape_north_south_east_west_ascending_east_ascending_west_ascending_north_ascending_south_south_east_south_west_north_west_north_east = 41
face = 42
layers = 43
has_record = 44
axis_x_z = 45
bites = 46
delay = 47
locked = 48
down = 49
in_wall = 50
age_4 = 51
has_bottle_0 = 52
has_bottle_1 = 53
has_bottle_2 = 54
level_4 = 55
eye = 56
age_3 = 57
attached = 58
disarmed = 59
conditional = 60
east_none_low_tall = 61
north_none_low_tall = 62
south_none_low_tall = 63
west_none_low_tall = 64
mode_compare_subtract = 65
inverted = 66
enabled = 67
facing_down_north_south_west_east = 68
type_top_bottom_double = 69
age_6 = 70
age_26 = 71
eggs = 72
hatch = 73
pickles = 74
age_2 = 75
leaves = 76
drag = 77
bottom = 78
distance_8 = 79
has_book = 80
attachment = 81
hanging = 82
signal_fire = 83
mode_save_load_corner_data = 84
orientation = 85
level_9 = 86
honey_level = 87
charges = 88
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 StructuralPartialEq for block_state_property
Auto Trait Implementations§
impl Freeze for block_state_property
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