#[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

source

pub const fn id(self) -> u8

source

pub const fn new(x: u8) -> Self

source§

impl block_state_property

source

pub const fn key(self) -> block_state_property_key

source

pub const fn val(self) -> &'static [block_state_property_value]

Trait Implementations§

source§

impl Clone for block_state_property

source§

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)

Performs copy-assignment from source. Read more
source§

impl Hash for block_state_property

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for block_state_property

source§

fn eq(&self, other: &block_state_property) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for block_state_property

source§

impl Eq for block_state_property

source§

impl StructuralEq for block_state_property

source§

impl StructuralPartialEq for block_state_property

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.