pub struct DragonFireballEntityBundle {Show 27 fields
pub dragon_fireball_entity: DragonFireballEntity,
pub explosive_projectile_entity: ExplosiveProjectileEntity,
pub projectile_entity: ProjectileEntity,
pub entity: Entity,
pub entity_flags: Flags,
pub entity_air: Air,
pub entity_custom_name: CustomName,
pub entity_name_visible: NameVisible,
pub entity_silent: Silent,
pub entity_no_gravity: NoGravity,
pub entity_pose: Pose,
pub entity_frozen_ticks: FrozenTicks,
pub kind: EntityKind,
pub id: EntityId,
pub uuid: UniqueId,
pub layer: EntityLayerId,
pub old_layer: OldEntityLayerId,
pub position: Position,
pub old_position: OldPosition,
pub look: Look,
pub head_yaw: HeadYaw,
pub on_ground: OnGround,
pub velocity: Velocity,
pub statuses: EntityStatuses,
pub animations: EntityAnimations,
pub object_data: ObjectData,
pub tracked_data: TrackedData,
}
Expand description
The bundle of components for spawning dragon_fireball
entities.
Fields§
§dragon_fireball_entity: DragonFireballEntity
§explosive_projectile_entity: ExplosiveProjectileEntity
§projectile_entity: ProjectileEntity
§entity: Entity
§entity_flags: Flags
§entity_air: Air
§entity_custom_name: CustomName
§entity_name_visible: NameVisible
§entity_silent: Silent
§entity_no_gravity: NoGravity
§entity_pose: Pose
§entity_frozen_ticks: FrozenTicks
§kind: EntityKind
§id: EntityId
§uuid: UniqueId
§layer: EntityLayerId
§old_layer: OldEntityLayerId
§position: Position
§old_position: OldPosition
§look: Look
§head_yaw: HeadYaw
§on_ground: OnGround
§velocity: Velocity
§statuses: EntityStatuses
§animations: EntityAnimations
§object_data: ObjectData
§tracked_data: TrackedData
Trait Implementations§
source§impl Debug for DragonFireballEntityBundle
impl Debug for DragonFireballEntityBundle
source§impl Default for DragonFireballEntityBundle
impl Default for DragonFireballEntityBundle
impl Bundle for DragonFireballEntityBundle
impl DynamicBundle for DragonFireballEntityBundle
Auto Trait Implementations§
impl RefUnwindSafe for DragonFireballEntityBundle
impl Send for DragonFireballEntityBundle
impl Sync for DragonFireballEntityBundle
impl Unpin for DragonFireballEntityBundle
impl UnwindSafe for DragonFireballEntityBundle
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere T: Any,
§fn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T, Global>) -> Rc<dyn Any, Global>
fn into_any_rc(self: Rc<T, Global>) -> Rc<dyn Any, Global>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.source§impl<T> FromWorld for Twhere
T: Default,
impl<T> FromWorld for Twhere T: Default,
source§fn from_world(_world: &mut World) -> T
fn from_world(_world: &mut World) -> T
Creates
Self
using data from the given World