Skip to main content

BlockStateProperties

Struct BlockStateProperties 

Source
pub struct BlockStateProperties;

Implementations§

Source§

impl BlockStateProperties

Source

pub const ATTACHED: BoolProperty

Source

pub const BERRIES: BoolProperty

Source

pub const BLOOM: BoolProperty

Source

pub const BOTTOM: BoolProperty

Source

pub const CAN_SUMMON: BoolProperty

Source

pub const CONDITIONAL: BoolProperty

Source

pub const DISARMED: BoolProperty

Source

pub const DRAG: BoolProperty

Source

pub const ENABLED: BoolProperty

Source

pub const EXTENDED: BoolProperty

Source

pub const EYE: BoolProperty

Source

pub const FALLING: BoolProperty

Source

pub const HANGING: BoolProperty

Source

pub const HAS_BOTTLE_0: BoolProperty

Source

pub const HAS_BOTTLE_1: BoolProperty

Source

pub const HAS_BOTTLE_2: BoolProperty

Source

pub const HAS_RECORD: BoolProperty

Source

pub const HAS_BOOK: BoolProperty

Source

pub const INVERTED: BoolProperty

Source

pub const IN_WALL: BoolProperty

Source

pub const LIT: BoolProperty

Source

pub const LOCKED: BoolProperty

Source

pub const NATURAL: BoolProperty

Source

pub const OCCUPIED: BoolProperty

Source

pub const OPEN: BoolProperty

Source

pub const PERSISTENT: BoolProperty

Source

pub const POWERED: BoolProperty

Source

pub const SHORT: BoolProperty

Source

pub const SHRIEKING: BoolProperty

Source

pub const SIGNAL_FIRE: BoolProperty

Source

pub const SNOWY: BoolProperty

Source

pub const TIP: BoolProperty

Source

pub const TRIGGERED: BoolProperty

Source

pub const UNSTABLE: BoolProperty

Source

pub const WATERLOGGED: BoolProperty

Source

pub const HORIZONTAL_AXIS: EnumProperty<Axis>

Source

pub const AXIS: EnumProperty<Axis>

Source

pub const UP: BoolProperty

Source

pub const DOWN: BoolProperty

Source

pub const NORTH: BoolProperty

Source

pub const EAST: BoolProperty

Source

pub const SOUTH: BoolProperty

Source

pub const WEST: BoolProperty

Source

pub const FACING: EnumProperty<Direction>

Source

pub const FACING_HOPPER: EnumProperty<Direction>

Source

pub const HORIZONTAL_FACING: EnumProperty<Direction>

Source

pub const FLOWER_AMOUNT: IntProperty

Source

pub const SEGMENT_AMOUNT: IntProperty

Source

pub const ORIENTATION: EnumProperty<FrontAndTop>

Source

pub const ATTACH_FACE: EnumProperty<AttachFace>

Source

pub const BELL_ATTACHMENT: EnumProperty<BellAttachType>

Source

pub const EAST_WALL: EnumProperty<WallSide>

Source

pub const NORTH_WALL: EnumProperty<WallSide>

Source

pub const SOUTH_WALL: EnumProperty<WallSide>

Source

pub const WEST_WALL: EnumProperty<WallSide>

Source

pub const EAST_REDSTONE: EnumProperty<RedstoneSide>

Source

pub const NORTH_REDSTONE: EnumProperty<RedstoneSide>

Source

pub const SOUTH_REDSTONE: EnumProperty<RedstoneSide>

Source

pub const WEST_REDSTONE: EnumProperty<RedstoneSide>

Source

pub const DOUBLE_BLOCK_HALF: EnumProperty<DoubleBlockHalf>

Source

pub const HALF: EnumProperty<Half>

Source

pub const SIDE_CHAIN_PART: EnumProperty<SideChainPart>

Source

pub const RAIL_SHAPE: EnumProperty<RailShape>

Source

pub const RAIL_SHAPE_STRAIGHT: EnumProperty<RailShape>

Source

pub const AGE_1: IntProperty

Source

pub const AGE_2: IntProperty

Source

pub const AGE_3: IntProperty

Source

pub const AGE_4: IntProperty

Source

pub const AGE_5: IntProperty

Source

pub const AGE_7: IntProperty

Source

pub const AGE_15: IntProperty

Source

pub const AGE_25: IntProperty

Source

pub const BITES: IntProperty

Source

pub const CANDLES: IntProperty

Source

pub const DELAY: IntProperty

Source

pub const DISTANCE: IntProperty

Source

pub const EGGS: IntProperty

Source

pub const HATCH: IntProperty

Source

pub const LAYERS: IntProperty

Source

pub const LEVEL_CAULDRON: IntProperty

Source

pub const LEVEL_COMPOSTER: IntProperty

Source

pub const LEVEL_FLOWING: IntProperty

Source

pub const LEVEL_HONEY: IntProperty

Source

pub const LEVEL: IntProperty

Source

pub const MOISTURE: IntProperty

Source

pub const NOTE: IntProperty

Source

pub const PICKLES: IntProperty

Source

pub const POWER: IntProperty

Source

pub const STAGE: IntProperty

Source

pub const STABILITY_DISTANCE: IntProperty

Source

pub const RESPAWN_ANCHOR_CHARGES: IntProperty

Source

pub const DRIED_GHAST_HYDRATION_LEVELS: IntProperty

Source

pub const ROTATION_16: IntProperty

Source

pub const DUSTED: IntProperty

Source

pub const BED_PART: EnumProperty<BedPart>

Source

pub const CHEST_TYPE: EnumProperty<ChestType>

Source

pub const MODE_COMPARATOR: EnumProperty<ComparatorMode>

Source

pub const DOOR_HINGE: EnumProperty<DoorHingeSide>

Source

pub const NOTEBLOCK_INSTRUMENT: EnumProperty<NoteBlockInstrument>

Source

pub const PISTON_TYPE: EnumProperty<PistonType>

Source

pub const SLAB_TYPE: EnumProperty<SlabType>

Source

pub const STAIRS_SHAPE: EnumProperty<StairsShape>

Source

pub const STRUCTUREBLOCK_MODE: EnumProperty<StructureMode>

Source

pub const BAMBOO_LEAVES: EnumProperty<BambooLeaves>

Source

pub const TILT: EnumProperty<Tilt>

Source

pub const VERTICAL_DIRECTION: EnumProperty<Direction>

Source

pub const DRIPSTONE_THICKNESS: EnumProperty<DripstoneThickness>

Source

pub const SCULK_SENSOR_PHASE: EnumProperty<SculkSensorPhase>

Source

pub const TRIAL_SPAWNER_STATE: EnumProperty<TrialSpawnerState>

Source

pub const VAULT_STATE: EnumProperty<VaultState>

Source

pub const CREAKING_HEART_STATE: EnumProperty<CreakingHeartState>

Source

pub const TEST_BLOCK_MODE: EnumProperty<TestBlockMode>

Source

pub const COPPER_GOLEM_POSE: EnumProperty<Pose>

Source

pub const SLOT_0_OCCUPIED: BoolProperty

Source

pub const SLOT_1_OCCUPIED: BoolProperty

Source

pub const SLOT_2_OCCUPIED: BoolProperty

Source

pub const SLOT_3_OCCUPIED: BoolProperty

Source

pub const SLOT_4_OCCUPIED: BoolProperty

Source

pub const SLOT_5_OCCUPIED: BoolProperty

Source

pub const CRACKED: BoolProperty

Source

pub const CRAFTING: BoolProperty

Source

pub const OMINOUS: BoolProperty

Source

pub const MAP: BoolProperty

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.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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, 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.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more