#[repr(u8)]
pub enum block_state_property_value {
Show 130 variants d_0 = 0, d_1 = 1, d_10 = 2, d_11 = 3, d_12 = 4, d_13 = 5, d_14 = 6, d_15 = 7, d_16 = 8, d_17 = 9, d_18 = 10, d_19 = 11, d_2 = 12, d_20 = 13, d_21 = 14, d_22 = 15, d_23 = 16, d_24 = 17, d_25 = 18, d_3 = 19, d_4 = 20, d_5 = 21, d_6 = 22, d_7 = 23, d_8 = 24, d_9 = 25, active = 26, ascending_east = 27, ascending_north = 28, ascending_south = 29, ascending_west = 30, banjo = 31, base = 32, basedrum = 33, bass = 34, bell = 35, bit = 36, bottom = 37, ceiling = 38, chime = 39, compare = 40, cooldown = 41, corner = 42, cow_bell = 43, creeper = 44, custom_head = 45, data = 46, didgeridoo = 47, double = 48, double_wall = 49, down = 50, down_east = 51, down_north = 52, down_south = 53, down_west = 54, dragon = 55, east = 56, east_up = 57, east_west = 58, ejecting_reward = 59, false = 60, floor = 61, flute = 62, foot = 63, frustum = 64, full = 65, guitar = 66, harp = 67, hat = 68, head = 69, inactive = 70, inner_left = 71, inner_right = 72, iron_xylophone = 73, large = 74, left = 75, load = 76, low = 77, lower = 78, middle = 79, none = 80, normal = 81, north = 82, north_east = 83, north_south = 84, north_up = 85, north_west = 86, outer_left = 87, outer_right = 88, partial = 89, piglin = 90, pling = 91, right = 92, save = 93, side = 94, single = 95, single_wall = 96, skeleton = 97, small = 98, snare = 99, south = 100, south_east = 101, south_up = 102, south_west = 103, sticky = 104, straight = 105, subtract = 106, tall = 107, tip = 108, tip_merge = 109, top = 110, true = 111, unstable = 112, up = 113, up_east = 114, up_north = 115, up_south = 116, up_west = 117, upper = 118, waiting_for_players = 119, waiting_for_reward_ejection = 120, wall = 121, west = 122, west_up = 123, wither_skeleton = 124, x = 125, xylophone = 126, y = 127, z = 128, zombie = 129,
}

Variants§

§

d_0 = 0

§

d_1 = 1

§

d_10 = 2

§

d_11 = 3

§

d_12 = 4

§

d_13 = 5

§

d_14 = 6

§

d_15 = 7

§

d_16 = 8

§

d_17 = 9

§

d_18 = 10

§

d_19 = 11

§

d_2 = 12

§

d_20 = 13

§

d_21 = 14

§

d_22 = 15

§

d_23 = 16

§

d_24 = 17

§

d_25 = 18

§

d_3 = 19

§

d_4 = 20

§

d_5 = 21

§

d_6 = 22

§

d_7 = 23

§

d_8 = 24

§

d_9 = 25

§

active = 26

§

ascending_east = 27

§

ascending_north = 28

§

ascending_south = 29

§

ascending_west = 30

§

banjo = 31

§

base = 32

§

basedrum = 33

§

bass = 34

§

bell = 35

§

bit = 36

§

bottom = 37

§

ceiling = 38

§

chime = 39

§

compare = 40

§

cooldown = 41

§

corner = 42

§

cow_bell = 43

§

creeper = 44

§

custom_head = 45

§

data = 46

§

didgeridoo = 47

§

double = 48

§

double_wall = 49

§

down = 50

§

down_east = 51

§

down_north = 52

§

down_south = 53

§

down_west = 54

§

dragon = 55

§

east = 56

§

east_up = 57

§

east_west = 58

§

ejecting_reward = 59

§

false = 60

§

floor = 61

§

flute = 62

§

foot = 63

§

frustum = 64

§

full = 65

§

guitar = 66

§

harp = 67

§

hat = 68

§

head = 69

§

inactive = 70

§

inner_left = 71

§

inner_right = 72

§

iron_xylophone = 73

§

large = 74

§

left = 75

§

load = 76

§

low = 77

§

lower = 78

§

middle = 79

§

none = 80

§

normal = 81

§

north = 82

§

north_east = 83

§

north_south = 84

§

north_up = 85

§

north_west = 86

§

outer_left = 87

§

outer_right = 88

§

partial = 89

§

piglin = 90

§

pling = 91

§

right = 92

§

save = 93

§

side = 94

§

single = 95

§

single_wall = 96

§

skeleton = 97

§

small = 98

§

snare = 99

§

south = 100

§

south_east = 101

§

south_up = 102

§

south_west = 103

§

sticky = 104

§

straight = 105

§

subtract = 106

§

tall = 107

§

tip = 108

§

tip_merge = 109

§

top = 110

§

true = 111

§

unstable = 112

§

up = 113

§

up_east = 114

§

up_north = 115

§

up_south = 116

§

up_west = 117

§

upper = 118

§

waiting_for_players = 119

§

waiting_for_reward_ejection = 120

§

wall = 121

§

west = 122

§

west_up = 123

§

wither_skeleton = 124

§

x = 125

§

xylophone = 126

§

y = 127

§

z = 128

§

zombie = 129

Implementations§

source§

impl block_state_property_value

source

pub const fn id(self) -> u8

source

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

source§

impl block_state_property_value

source

pub const MAX: usize = 129usize

source§

impl block_state_property_value

source

pub const fn name(self) -> &'static str

source

pub fn parse(name: &[u8]) -> Option<Self>

Trait Implementations§

source§

impl Clone for block_state_property_value

source§

fn clone(&self) -> block_state_property_value

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 Debug for block_state_property_value

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for block_state_property_value

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for block_state_property_value

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_value

source§

fn eq(&self, other: &block_state_property_value) -> 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_value

source§

impl Eq for block_state_property_value

source§

impl StructuralEq for block_state_property_value

source§

impl StructuralPartialEq for block_state_property_value

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> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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.