Struct level_lib::anvil::region::chunk::chunk_data::structure::end_city_element::EndCityElement
source · pub struct EndCityElement {
pub bounding_box: [i32; 6],
pub generation_difference: i32,
pub id: String,
pub orientation: i32,
pub ow: i32,
pub template_x: i32,
pub template_y: i32,
pub template_z: i32,
pub rot: EndCityRotation,
pub template: String,
}Expand description
An element of an end city
Fields§
§bounding_box: [i32; 6]The bounding box of the element
generation_difference: i32The distance to the next start of the end city
id: String§orientation: i32§ow: i32Unknown ussage
§Note
second_floor, second_floor_2, second_roof, third_floor and third_floor_c are
always 0 everything else is 1
template_x: i32The x position inside of the template
template_y: i32The y position inside of the template
template_z: i32The z position inside of the template
rot: EndCityRotationThe roration of the element
template: StringThe template name of the element
Trait Implementations§
source§impl Debug for EndCityElement
impl Debug for EndCityElement
source§impl PartialEq for EndCityElement
impl PartialEq for EndCityElement
source§fn eq(&self, other: &EndCityElement) -> bool
fn eq(&self, other: &EndCityElement) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EndCityElement
Auto Trait Implementations§
impl Freeze for EndCityElement
impl RefUnwindSafe for EndCityElement
impl Send for EndCityElement
impl Sync for EndCityElement
impl Unpin for EndCityElement
impl UnwindSafe for EndCityElement
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more