Enum block_state_property

Source
#[repr(u8)]
pub enum block_state_property {
Show 115 variants snowy = 0, axis_x_y_z = 1, stage = 2, age_5 = 3, hanging = 4, waterlogged = 5, level_16 = 6, dusted = 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, active = 36, natural = 37, half_top_bottom = 38, shape_straight_inner_left_inner_right_outer_left_outer_right = 39, type_single_left_right = 40, east_up_side_none = 41, north_up_side_none = 42, power = 43, south_up_side_none = 44, west_up_side_none = 45, age_8 = 46, moisture = 47, lit = 48, rotation = 49, hinge = 50, open = 51, shape_north_south_east_west_ascending_east_ascending_west_ascending_north_ascending_south_south_east_south_west_north_west_north_east = 52, attached = 53, face = 54, layers = 55, has_record = 56, axis_x_z = 57, bites = 58, delay = 59, locked = 60, down = 61, in_wall = 62, type_top_bottom_double = 63, east_none_low_tall = 64, north_none_low_tall = 65, south_none_low_tall = 66, west_none_low_tall = 67, age_4 = 68, has_bottle_0 = 69, has_bottle_1 = 70, has_bottle_2 = 71, level_3 = 72, eye = 73, age_3 = 74, disarmed = 75, conditional = 76, mode_compare_subtract = 77, inverted = 78, enabled = 79, facing_down_north_south_west_east = 80, age_6 = 81, age_2 = 82, age_26 = 83, eggs = 84, hatch = 85, pickles = 86, leaves = 87, drag = 88, bottom = 89, distance_8 = 90, has_book = 91, attachment = 92, signal_fire = 93, mode_save_load_corner_data = 94, orientation = 95, level_9 = 96, honey_level = 97, charges = 98, candles = 99, sculk_sensor_phase = 100, bloom = 101, can_summon = 102, shrieking = 103, thickness = 104, vertical_direction = 105, berries = 106, flower_amount = 107, tilt = 108, cracked = 109, crafting = 110, ominous = 111, trial_spawner_state = 112, vault_state = 113, tip = 114,
}

Variants§

§

snowy = 0

§

axis_x_y_z = 1

§

stage = 2

§

age_5 = 3

§

hanging = 4

§

waterlogged = 5

§

level_16 = 6

§

dusted = 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

§

active = 36

§

natural = 37

§

half_top_bottom = 38

§

shape_straight_inner_left_inner_right_outer_left_outer_right = 39

§

type_single_left_right = 40

§

east_up_side_none = 41

§

north_up_side_none = 42

§

power = 43

§

south_up_side_none = 44

§

west_up_side_none = 45

§

age_8 = 46

§

moisture = 47

§

lit = 48

§

rotation = 49

§

hinge = 50

§

open = 51

§

shape_north_south_east_west_ascending_east_ascending_west_ascending_north_ascending_south_south_east_south_west_north_west_north_east = 52

§

attached = 53

§

face = 54

§

layers = 55

§

has_record = 56

§

axis_x_z = 57

§

bites = 58

§

delay = 59

§

locked = 60

§

down = 61

§

in_wall = 62

§

type_top_bottom_double = 63

§

east_none_low_tall = 64

§

north_none_low_tall = 65

§

south_none_low_tall = 66

§

west_none_low_tall = 67

§

age_4 = 68

§

has_bottle_0 = 69

§

has_bottle_1 = 70

§

has_bottle_2 = 71

§

level_3 = 72

§

eye = 73

§

age_3 = 74

§

disarmed = 75

§

conditional = 76

§

mode_compare_subtract = 77

§

inverted = 78

§

enabled = 79

§

facing_down_north_south_west_east = 80

§

age_6 = 81

§

age_2 = 82

§

age_26 = 83

§

eggs = 84

§

hatch = 85

§

pickles = 86

§

leaves = 87

§

drag = 88

§

bottom = 89

§

distance_8 = 90

§

has_book = 91

§

attachment = 92

§

signal_fire = 93

§

mode_save_load_corner_data = 94

§

orientation = 95

§

level_9 = 96

§

honey_level = 97

§

charges = 98

§

candles = 99

§

sculk_sensor_phase = 100

§

bloom = 101

§

can_summon = 102

§

shrieking = 103

§

thickness = 104

§

vertical_direction = 105

§

berries = 106

§

flower_amount = 107

§

tilt = 108

§

cracked = 109

§

crafting = 110

§

ominous = 111

§

trial_spawner_state = 112

§

vault_state = 113

§

tip = 114

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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 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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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,

Source§

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>,

Source§

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>,

Source§

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.