pub struct EndData {
pub exit_portal_location_x: i8,
pub exit_portal_location_y: i8,
pub exit_portal_location_z: i8,
pub future_gateways: Vec<i32>,
pub dragon_killed: bool,
pub dragon_uuid: u128,
pub previously_killed: bool,
}Expand description
Structure to hold End data
Fields§
§exit_portal_location_x: i8The x coordinate of the portal
exit_portal_location_y: i8The y coordinate of the portal
exit_portal_location_z: i8The z coordinate of the portal
future_gateways: Vec<i32>A list of all end gateway portals that haven’t been spawned
dragon_killed: boolIf the dragon is currently alive
dragon_uuid: u128The dragon uuid
previously_killed: boolIf the ender dragon has ever been defeated
Auto Trait Implementations§
impl Freeze for EndData
impl RefUnwindSafe for EndData
impl Send for EndData
impl Sync for EndData
impl Unpin for EndData
impl UnwindSafe for EndData
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