Skip to main content

BlockStateProperties

Struct BlockStateProperties 

pub(in worldgen::feature) struct BlockStateProperties;

Implementations§

§

impl BlockStateProperties

pub const ATTACHED: BoolProperty

pub const BERRIES: BoolProperty

pub const BLOOM: BoolProperty

pub const BOTTOM: BoolProperty

pub const CAN_SUMMON: BoolProperty

pub const CONDITIONAL: BoolProperty

pub const DISARMED: BoolProperty

pub const DRAG: BoolProperty

pub const ENABLED: BoolProperty

pub const EXTENDED: BoolProperty

pub const EYE: BoolProperty

pub const FALLING: BoolProperty

pub const HANGING: BoolProperty

pub const HAS_BOTTLE_0: BoolProperty

pub const HAS_BOTTLE_1: BoolProperty

pub const HAS_BOTTLE_2: BoolProperty

pub const HAS_RECORD: BoolProperty

pub const HAS_BOOK: BoolProperty

pub const INVERTED: BoolProperty

pub const IN_WALL: BoolProperty

pub const LIT: BoolProperty

pub const LOCKED: BoolProperty

pub const NATURAL: BoolProperty

pub const OCCUPIED: BoolProperty

pub const OPEN: BoolProperty

pub const PERSISTENT: BoolProperty

pub const POWERED: BoolProperty

pub const SHORT: BoolProperty

pub const SHRIEKING: BoolProperty

pub const SIGNAL_FIRE: BoolProperty

pub const SNOWY: BoolProperty

pub const TIP: BoolProperty

pub const TRIGGERED: BoolProperty

pub const UNSTABLE: BoolProperty

pub const WATERLOGGED: BoolProperty

pub const HORIZONTAL_AXIS: EnumProperty<Axis>

pub const AXIS: EnumProperty<Axis>

pub const UP: BoolProperty

pub const DOWN: BoolProperty

pub const NORTH: BoolProperty

pub const EAST: BoolProperty

pub const SOUTH: BoolProperty

pub const WEST: BoolProperty

pub const FACING: EnumProperty<Direction>

pub const FACING_HOPPER: EnumProperty<Direction>

pub const HORIZONTAL_FACING: EnumProperty<Direction>

pub const FLOWER_AMOUNT: IntProperty

pub const SEGMENT_AMOUNT: IntProperty

pub const ORIENTATION: EnumProperty<FrontAndTop>

pub const ATTACH_FACE: EnumProperty<AttachFace>

pub const BELL_ATTACHMENT: EnumProperty<BellAttachType>

pub const EAST_WALL: EnumProperty<WallSide>

pub const NORTH_WALL: EnumProperty<WallSide>

pub const SOUTH_WALL: EnumProperty<WallSide>

pub const WEST_WALL: EnumProperty<WallSide>

pub const EAST_REDSTONE: EnumProperty<RedstoneSide>

pub const NORTH_REDSTONE: EnumProperty<RedstoneSide>

pub const SOUTH_REDSTONE: EnumProperty<RedstoneSide>

pub const WEST_REDSTONE: EnumProperty<RedstoneSide>

pub const DOUBLE_BLOCK_HALF: EnumProperty<DoubleBlockHalf>

pub const HALF: EnumProperty<Half>

pub const SIDE_CHAIN_PART: EnumProperty<SideChainPart>

pub const RAIL_SHAPE: EnumProperty<RailShape>

pub const RAIL_SHAPE_STRAIGHT: EnumProperty<RailShape>

pub const AGE_1: IntProperty

pub const AGE_2: IntProperty

pub const AGE_3: IntProperty

pub const AGE_4: IntProperty

pub const AGE_5: IntProperty

pub const AGE_7: IntProperty

pub const AGE_15: IntProperty

pub const AGE_25: IntProperty

pub const BITES: IntProperty

pub const CANDLES: IntProperty

pub const DELAY: IntProperty

pub const DISTANCE: IntProperty

pub const EGGS: IntProperty

pub const HATCH: IntProperty

pub const LAYERS: IntProperty

pub const LEVEL_CAULDRON: IntProperty

pub const LEVEL_COMPOSTER: IntProperty

pub const LEVEL_FLOWING: IntProperty

pub const LEVEL_HONEY: IntProperty

pub const LEVEL: IntProperty

pub const MOISTURE: IntProperty

pub const NOTE: IntProperty

pub const PICKLES: IntProperty

pub const POWER: IntProperty

pub const STAGE: IntProperty

pub const STABILITY_DISTANCE: IntProperty

pub const RESPAWN_ANCHOR_CHARGES: IntProperty

pub const DRIED_GHAST_HYDRATION_LEVELS: IntProperty

pub const ROTATION_16: IntProperty

pub const DUSTED: IntProperty

pub const BED_PART: EnumProperty<BedPart>

pub const CHEST_TYPE: EnumProperty<ChestType>

pub const MODE_COMPARATOR: EnumProperty<ComparatorMode>

pub const DOOR_HINGE: EnumProperty<DoorHingeSide>

pub const NOTEBLOCK_INSTRUMENT: EnumProperty<NoteBlockInstrument>

pub const PISTON_TYPE: EnumProperty<PistonType>

pub const SLAB_TYPE: EnumProperty<SlabType>

pub const STAIRS_SHAPE: EnumProperty<StairsShape>

pub const STRUCTUREBLOCK_MODE: EnumProperty<StructureMode>

pub const BAMBOO_LEAVES: EnumProperty<BambooLeaves>

pub const TILT: EnumProperty<Tilt>

pub const VERTICAL_DIRECTION: EnumProperty<Direction>

pub const DRIPSTONE_THICKNESS: EnumProperty<DripstoneThickness>

pub const SPELEOTHEM_THICKNESS: EnumProperty<SpeleothemThickness>

pub const SCULK_SENSOR_PHASE: EnumProperty<SculkSensorPhase>

pub const TRIAL_SPAWNER_STATE: EnumProperty<TrialSpawnerState>

pub const VAULT_STATE: EnumProperty<VaultState>

pub const CREAKING_HEART_STATE: EnumProperty<CreakingHeartState>

pub const TEST_BLOCK_MODE: EnumProperty<TestBlockMode>

pub const COPPER_GOLEM_POSE: EnumProperty<Pose>

pub const POTENT_SULFUR_STATE: EnumProperty<PotentSulfurState>

pub const SLOT_0_OCCUPIED: BoolProperty

pub const SLOT_1_OCCUPIED: BoolProperty

pub const SLOT_2_OCCUPIED: BoolProperty

pub const SLOT_3_OCCUPIED: BoolProperty

pub const SLOT_4_OCCUPIED: BoolProperty

pub const SLOT_5_OCCUPIED: BoolProperty

pub const CRACKED: BoolProperty

pub const CRAFTING: BoolProperty

pub const OMINOUS: BoolProperty

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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> IntoShared for T

Source§

fn into_shared(self) -> Arc<Mutex<RawMutex, Self>>

Wraps this value in an Arc<SyncMutex<>>
§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

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

§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] only if self and other return Action::Follow. Read more
§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
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