pub enum StructurePieceId {
Show 13 variants SHStart, SHFC, SHLT, SHS, SH5C, SHSD, SHSSD, SHCC, SHPH, SHRC, SHLi, SHPR, ECP,
}
Expand description

A list of all structure pieces

§Source

Variants§

§

SHStart

Start of the stronghold

§Note

This type has a NBT boolean if it is at the start, which is kinda unnessecarry, because that is called SHStart

§

SHFC

Stronghold Flexible corridor

§

SHLT

Stronghold left turn

§

SHS

Stronghold straight corridor

§Note

This section can have a left connection and/or a right connection, they are noted by an extra NBT boolean called Left and Right which contain true if the connection is opened

§

SH5C

Stringhold 5 corridors piece

§Note

This section can have four optional connections, they are noted by extra NBT booleans named leftHigh, leftLow, rightHigh and rightLow

§

SHSD

Stronghold “round” staircase down

§Note

This type has a NBT boolean if it is at the start, which is kinda unnessecarry, because that is called SHStart

§

SHSSD

Stronghold straight stairs down

§

SHCC

Stronghold Chest corridor

§Note

This has an NBT boolean whether the chest is already generated or not

§

SHPH

Stronghold prison hall

§

SHRC

Stronghold representative chamber

§Note

This includes an NBT int that has one of the options of SHRepresentativeType

§

SHLi

Stronghold library

§Note

This adds a NBT boolean Tall that determines whether the library has one or two floors

§

SHPR

Stronghold protal room

§Note

This add a NBT boolean Mob that determines whether the silverfish spawner was generated or not

§

ECP

An end city piece

§Note

All end city pieces have this identifier, they are differenciated with the Template NBT Tag

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