1use valence_generated::attributes::EntityAttribute;
2#[allow(clippy::module_inception)]
3pub mod abstract_decoration {
4 #![doc = "Parent class: [`entity`][super::entity]."]
5 #[doc = "Marker component for `abstract_decoration` entities."]
6 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
7 pub struct AbstractDecorationEntity;
8}
9#[allow(clippy::module_inception)]
10pub mod abstract_donkey {
11 #![doc = "Parent class: [`abstract_horse`][super::abstract_horse]."]
12 #[derive(
13 bevy_ecs :: component :: Component,
14 PartialEq,
15 Clone,
16 Debug,
17 :: derive_more :: Deref,
18 :: derive_more :: DerefMut,
19 )]
20 pub struct Chest(pub bool);
21 #[allow(clippy::derivable_impls)]
22 impl Default for Chest {
23 fn default() -> Self {
24 Self(false)
25 }
26 }
27 #[doc = "Marker component for `abstract_donkey` entities."]
28 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
29 pub struct AbstractDonkeyEntity;
30}
31#[allow(clippy::module_inception)]
32pub mod abstract_fireball {
33 #![doc = "Parent class: [`explosive_projectile`][super::explosive_projectile]."]
34 #[derive(
35 bevy_ecs :: component :: Component,
36 PartialEq,
37 Clone,
38 Debug,
39 :: derive_more :: Deref,
40 :: derive_more :: DerefMut,
41 )]
42 pub struct Item(pub valence_protocol::ItemStack);
43 #[allow(clippy::derivable_impls)]
44 impl Default for Item {
45 fn default() -> Self {
46 Self(valence_protocol::ItemStack::default())
47 }
48 }
49 #[doc = "Marker component for `abstract_fireball` entities."]
50 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
51 pub struct AbstractFireballEntity;
52}
53#[allow(clippy::module_inception)]
54pub mod abstract_horse {
55 #![doc = "Parent class: [`animal`][super::animal]."]
56 #[derive(
57 bevy_ecs :: component :: Component,
58 PartialEq,
59 Clone,
60 Debug,
61 :: derive_more :: Deref,
62 :: derive_more :: DerefMut,
63 )]
64 pub struct HorseFlags(pub i8);
65 #[allow(clippy::derivable_impls)]
66 impl Default for HorseFlags {
67 fn default() -> Self {
68 Self(0i8)
69 }
70 }
71 #[doc = "Marker component for `abstract_horse` entities."]
72 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
73 pub struct AbstractHorseEntity;
74}
75#[allow(clippy::module_inception)]
76pub mod abstract_minecart {
77 #![doc = "Parent class: [`entity`][super::entity]."]
78 #[derive(
79 bevy_ecs :: component :: Component,
80 PartialEq,
81 Clone,
82 Debug,
83 :: derive_more :: Deref,
84 :: derive_more :: DerefMut,
85 )]
86 pub struct DamageWobbleTicks(pub i32);
87 #[allow(clippy::derivable_impls)]
88 impl Default for DamageWobbleTicks {
89 fn default() -> Self {
90 Self(0i32)
91 }
92 }
93 #[derive(
94 bevy_ecs :: component :: Component,
95 PartialEq,
96 Clone,
97 Debug,
98 :: derive_more :: Deref,
99 :: derive_more :: DerefMut,
100 )]
101 pub struct DamageWobbleSide(pub i32);
102 #[allow(clippy::derivable_impls)]
103 impl Default for DamageWobbleSide {
104 fn default() -> Self {
105 Self(1i32)
106 }
107 }
108 #[derive(
109 bevy_ecs :: component :: Component,
110 PartialEq,
111 Clone,
112 Debug,
113 :: derive_more :: Deref,
114 :: derive_more :: DerefMut,
115 )]
116 pub struct DamageWobbleStrength(pub f32);
117 #[allow(clippy::derivable_impls)]
118 impl Default for DamageWobbleStrength {
119 fn default() -> Self {
120 Self(0f32)
121 }
122 }
123 #[derive(
124 bevy_ecs :: component :: Component,
125 PartialEq,
126 Clone,
127 Debug,
128 :: derive_more :: Deref,
129 :: derive_more :: DerefMut,
130 )]
131 pub struct CustomBlockId(pub i32);
132 #[allow(clippy::derivable_impls)]
133 impl Default for CustomBlockId {
134 fn default() -> Self {
135 Self(0i32)
136 }
137 }
138 #[derive(
139 bevy_ecs :: component :: Component,
140 PartialEq,
141 Clone,
142 Debug,
143 :: derive_more :: Deref,
144 :: derive_more :: DerefMut,
145 )]
146 pub struct CustomBlockOffset(pub i32);
147 #[allow(clippy::derivable_impls)]
148 impl Default for CustomBlockOffset {
149 fn default() -> Self {
150 Self(6i32)
151 }
152 }
153 #[derive(
154 bevy_ecs :: component :: Component,
155 PartialEq,
156 Clone,
157 Debug,
158 :: derive_more :: Deref,
159 :: derive_more :: DerefMut,
160 )]
161 pub struct CustomBlockPresent(pub bool);
162 #[allow(clippy::derivable_impls)]
163 impl Default for CustomBlockPresent {
164 fn default() -> Self {
165 Self(false)
166 }
167 }
168 #[doc = "Marker component for `abstract_minecart` entities."]
169 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
170 pub struct AbstractMinecartEntity;
171}
172#[allow(clippy::module_inception)]
173pub mod abstract_piglin {
174 #![doc = "Parent class: [`hostile`][super::hostile]."]
175 #[derive(
176 bevy_ecs :: component :: Component,
177 PartialEq,
178 Clone,
179 Debug,
180 :: derive_more :: Deref,
181 :: derive_more :: DerefMut,
182 )]
183 pub struct ImmuneToZombification(pub bool);
184 #[allow(clippy::derivable_impls)]
185 impl Default for ImmuneToZombification {
186 fn default() -> Self {
187 Self(false)
188 }
189 }
190 #[doc = "Marker component for `abstract_piglin` entities."]
191 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
192 pub struct AbstractPiglinEntity;
193}
194#[allow(clippy::module_inception)]
195pub mod abstract_skeleton {
196 #![doc = "Parent class: [`hostile`][super::hostile]."]
197 #[doc = "Marker component for `abstract_skeleton` entities."]
198 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
199 pub struct AbstractSkeletonEntity;
200}
201#[allow(clippy::module_inception)]
202pub mod allay {
203 #![doc = "Parent class: [`path_aware`][super::path_aware]."]
204 #[doc = "The bundle of components for spawning `allay` entities."]
205 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
206 pub struct AllayEntityBundle {
207 pub allay_entity: super::allay::AllayEntity,
208 pub allay_dancing: super::allay::Dancing,
209 pub allay_can_duplicate: super::allay::CanDuplicate,
210 pub path_aware_entity: super::path_aware::PathAwareEntity,
211 pub mob_entity: super::mob::MobEntity,
212 pub mob_mob_flags: super::mob::MobFlags,
213 pub living_entity: super::living::LivingEntity,
214 pub living_absorption: super::living::Absorption,
215 pub living_attributes: super::attributes::EntityAttributes,
216 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
217 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
218 pub living_living_flags: super::living::LivingFlags,
219 pub living_health: super::living::Health,
220 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
221 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
222 pub living_stuck_arrow_count: super::living::StuckArrowCount,
223 pub living_stinger_count: super::living::StingerCount,
224 pub living_sleeping_position: super::living::SleepingPosition,
225 pub entity: super::entity::Entity,
226 pub entity_flags: super::entity::Flags,
227 pub entity_air: super::entity::Air,
228 pub entity_custom_name: super::entity::CustomName,
229 pub entity_name_visible: super::entity::NameVisible,
230 pub entity_silent: super::entity::Silent,
231 pub entity_no_gravity: super::entity::NoGravity,
232 pub entity_pose: super::entity::Pose,
233 pub entity_frozen_ticks: super::entity::FrozenTicks,
234 pub kind: super::EntityKind,
235 pub id: super::EntityId,
236 pub uuid: super::UniqueId,
237 pub layer: super::EntityLayerId,
238 pub old_layer: super::OldEntityLayerId,
239 pub position: super::Position,
240 pub old_position: super::OldPosition,
241 pub look: super::Look,
242 pub head_yaw: super::HeadYaw,
243 pub on_ground: super::OnGround,
244 pub velocity: super::Velocity,
245 pub statuses: super::EntityStatuses,
246 pub animations: super::EntityAnimations,
247 pub object_data: super::ObjectData,
248 pub tracked_data: super::tracked_data::TrackedData,
249 }
250 impl Default for AllayEntityBundle {
251 fn default() -> Self {
252 Self {
253 allay_entity: Default::default(),
254 allay_dancing: Default::default(),
255 allay_can_duplicate: Default::default(),
256 path_aware_entity: Default::default(),
257 mob_entity: Default::default(),
258 mob_mob_flags: Default::default(),
259 living_entity: Default::default(),
260 living_absorption: Default::default(),
261 living_attributes: super::attributes::EntityAttributes::new()
262 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
263 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
264 .with_attribute_and_value(
265 super::EntityAttribute::GenericKnockbackResistance,
266 0f64,
267 )
268 .with_attribute_and_value(
269 super::EntityAttribute::GenericFlyingSpeed,
270 0.10000000149011612f64,
271 )
272 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
273 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 2f64)
274 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 48f64)
275 .with_attribute_and_value(
276 super::EntityAttribute::GenericMovementSpeed,
277 0.10000000149011612f64,
278 )
279 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 20f64),
280 living_attributes_tracker: Default::default(),
281 living_active_status_effects: Default::default(),
282 living_living_flags: Default::default(),
283 living_health: Default::default(),
284 living_potion_swirls_color: Default::default(),
285 living_potion_swirls_ambient: Default::default(),
286 living_stuck_arrow_count: Default::default(),
287 living_stinger_count: Default::default(),
288 living_sleeping_position: Default::default(),
289 entity: Default::default(),
290 entity_flags: Default::default(),
291 entity_air: Default::default(),
292 entity_custom_name: Default::default(),
293 entity_name_visible: Default::default(),
294 entity_silent: Default::default(),
295 entity_no_gravity: Default::default(),
296 entity_pose: Default::default(),
297 entity_frozen_ticks: Default::default(),
298 kind: super::EntityKind::ALLAY,
299 id: Default::default(),
300 uuid: Default::default(),
301 layer: Default::default(),
302 old_layer: Default::default(),
303 position: Default::default(),
304 old_position: Default::default(),
305 look: Default::default(),
306 head_yaw: Default::default(),
307 on_ground: Default::default(),
308 velocity: Default::default(),
309 statuses: Default::default(),
310 animations: Default::default(),
311 object_data: Default::default(),
312 tracked_data: Default::default(),
313 }
314 }
315 }
316 #[derive(
317 bevy_ecs :: component :: Component,
318 PartialEq,
319 Clone,
320 Debug,
321 :: derive_more :: Deref,
322 :: derive_more :: DerefMut,
323 )]
324 pub struct Dancing(pub bool);
325 #[allow(clippy::derivable_impls)]
326 impl Default for Dancing {
327 fn default() -> Self {
328 Self(false)
329 }
330 }
331 #[derive(
332 bevy_ecs :: component :: Component,
333 PartialEq,
334 Clone,
335 Debug,
336 :: derive_more :: Deref,
337 :: derive_more :: DerefMut,
338 )]
339 pub struct CanDuplicate(pub bool);
340 #[allow(clippy::derivable_impls)]
341 impl Default for CanDuplicate {
342 fn default() -> Self {
343 Self(true)
344 }
345 }
346 #[doc = "Marker component for `allay` entities."]
347 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
348 pub struct AllayEntity;
349}
350#[allow(clippy::module_inception)]
351pub mod ambient {
352 #![doc = "Parent class: [`mob`][super::mob]."]
353 #[doc = "Marker component for `ambient` entities."]
354 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
355 pub struct AmbientEntity;
356}
357#[allow(clippy::module_inception)]
358pub mod animal {
359 #![doc = "Parent class: [`passive`][super::passive]."]
360 #[doc = "Marker component for `animal` entities."]
361 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
362 pub struct AnimalEntity;
363}
364#[allow(clippy::module_inception)]
365pub mod area_effect_cloud {
366 #![doc = "Parent class: [`entity`][super::entity]."]
367 #[doc = "The bundle of components for spawning `area_effect_cloud` entities."]
368 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
369 pub struct AreaEffectCloudEntityBundle {
370 pub area_effect_cloud_entity: super::area_effect_cloud::AreaEffectCloudEntity,
371 pub area_effect_cloud_radius: super::area_effect_cloud::Radius,
372 pub area_effect_cloud_color: super::area_effect_cloud::Color,
373 pub area_effect_cloud_waiting: super::area_effect_cloud::Waiting,
374 pub area_effect_cloud_particle_id: super::area_effect_cloud::ParticleId,
375 pub entity: super::entity::Entity,
376 pub entity_flags: super::entity::Flags,
377 pub entity_air: super::entity::Air,
378 pub entity_custom_name: super::entity::CustomName,
379 pub entity_name_visible: super::entity::NameVisible,
380 pub entity_silent: super::entity::Silent,
381 pub entity_no_gravity: super::entity::NoGravity,
382 pub entity_pose: super::entity::Pose,
383 pub entity_frozen_ticks: super::entity::FrozenTicks,
384 pub kind: super::EntityKind,
385 pub id: super::EntityId,
386 pub uuid: super::UniqueId,
387 pub layer: super::EntityLayerId,
388 pub old_layer: super::OldEntityLayerId,
389 pub position: super::Position,
390 pub old_position: super::OldPosition,
391 pub look: super::Look,
392 pub head_yaw: super::HeadYaw,
393 pub on_ground: super::OnGround,
394 pub velocity: super::Velocity,
395 pub statuses: super::EntityStatuses,
396 pub animations: super::EntityAnimations,
397 pub object_data: super::ObjectData,
398 pub tracked_data: super::tracked_data::TrackedData,
399 }
400 impl Default for AreaEffectCloudEntityBundle {
401 fn default() -> Self {
402 Self {
403 area_effect_cloud_entity: Default::default(),
404 area_effect_cloud_radius: Default::default(),
405 area_effect_cloud_color: Default::default(),
406 area_effect_cloud_waiting: Default::default(),
407 area_effect_cloud_particle_id: Default::default(),
408 entity: Default::default(),
409 entity_flags: Default::default(),
410 entity_air: Default::default(),
411 entity_custom_name: Default::default(),
412 entity_name_visible: Default::default(),
413 entity_silent: Default::default(),
414 entity_no_gravity: Default::default(),
415 entity_pose: Default::default(),
416 entity_frozen_ticks: Default::default(),
417 kind: super::EntityKind::AREA_EFFECT_CLOUD,
418 id: Default::default(),
419 uuid: Default::default(),
420 layer: Default::default(),
421 old_layer: Default::default(),
422 position: Default::default(),
423 old_position: Default::default(),
424 look: Default::default(),
425 head_yaw: Default::default(),
426 on_ground: Default::default(),
427 velocity: Default::default(),
428 statuses: Default::default(),
429 animations: Default::default(),
430 object_data: Default::default(),
431 tracked_data: Default::default(),
432 }
433 }
434 }
435 #[derive(
436 bevy_ecs :: component :: Component,
437 PartialEq,
438 Clone,
439 Debug,
440 :: derive_more :: Deref,
441 :: derive_more :: DerefMut,
442 )]
443 pub struct Radius(pub f32);
444 #[allow(clippy::derivable_impls)]
445 impl Default for Radius {
446 fn default() -> Self {
447 Self(3f32)
448 }
449 }
450 #[derive(
451 bevy_ecs :: component :: Component,
452 PartialEq,
453 Clone,
454 Debug,
455 :: derive_more :: Deref,
456 :: derive_more :: DerefMut,
457 )]
458 pub struct Color(pub i32);
459 #[allow(clippy::derivable_impls)]
460 impl Default for Color {
461 fn default() -> Self {
462 Self(0i32)
463 }
464 }
465 #[derive(
466 bevy_ecs :: component :: Component,
467 PartialEq,
468 Clone,
469 Debug,
470 :: derive_more :: Deref,
471 :: derive_more :: DerefMut,
472 )]
473 pub struct Waiting(pub bool);
474 #[allow(clippy::derivable_impls)]
475 impl Default for Waiting {
476 fn default() -> Self {
477 Self(false)
478 }
479 }
480 #[derive(
481 bevy_ecs :: component :: Component,
482 PartialEq,
483 Clone,
484 Debug,
485 :: derive_more :: Deref,
486 :: derive_more :: DerefMut,
487 )]
488 pub struct ParticleId(pub valence_protocol::packets::play::particle_s2c::Particle);
489 #[allow(clippy::derivable_impls)]
490 impl Default for ParticleId {
491 fn default() -> Self {
492 Self(valence_protocol::packets::play::particle_s2c::Particle::EntityEffect)
493 }
494 }
495 #[doc = "Marker component for `area_effect_cloud` entities."]
496 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
497 pub struct AreaEffectCloudEntity;
498}
499#[allow(clippy::module_inception)]
500pub mod armor_stand {
501 #![doc = "Parent class: [`living`][super::living]."]
502 #[doc = "The bundle of components for spawning `armor_stand` entities."]
503 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
504 pub struct ArmorStandEntityBundle {
505 pub armor_stand_entity: super::armor_stand::ArmorStandEntity,
506 pub armor_stand_armor_stand_flags: super::armor_stand::ArmorStandFlags,
507 pub armor_stand_tracker_head_rotation: super::armor_stand::TrackerHeadRotation,
508 pub armor_stand_tracker_body_rotation: super::armor_stand::TrackerBodyRotation,
509 pub armor_stand_tracker_left_arm_rotation: super::armor_stand::TrackerLeftArmRotation,
510 pub armor_stand_tracker_right_arm_rotation: super::armor_stand::TrackerRightArmRotation,
511 pub armor_stand_tracker_left_leg_rotation: super::armor_stand::TrackerLeftLegRotation,
512 pub armor_stand_tracker_right_leg_rotation: super::armor_stand::TrackerRightLegRotation,
513 pub living_entity: super::living::LivingEntity,
514 pub living_absorption: super::living::Absorption,
515 pub living_attributes: super::attributes::EntityAttributes,
516 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
517 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
518 pub living_living_flags: super::living::LivingFlags,
519 pub living_health: super::living::Health,
520 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
521 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
522 pub living_stuck_arrow_count: super::living::StuckArrowCount,
523 pub living_stinger_count: super::living::StingerCount,
524 pub living_sleeping_position: super::living::SleepingPosition,
525 pub entity: super::entity::Entity,
526 pub entity_flags: super::entity::Flags,
527 pub entity_air: super::entity::Air,
528 pub entity_custom_name: super::entity::CustomName,
529 pub entity_name_visible: super::entity::NameVisible,
530 pub entity_silent: super::entity::Silent,
531 pub entity_no_gravity: super::entity::NoGravity,
532 pub entity_pose: super::entity::Pose,
533 pub entity_frozen_ticks: super::entity::FrozenTicks,
534 pub kind: super::EntityKind,
535 pub id: super::EntityId,
536 pub uuid: super::UniqueId,
537 pub layer: super::EntityLayerId,
538 pub old_layer: super::OldEntityLayerId,
539 pub position: super::Position,
540 pub old_position: super::OldPosition,
541 pub look: super::Look,
542 pub head_yaw: super::HeadYaw,
543 pub on_ground: super::OnGround,
544 pub velocity: super::Velocity,
545 pub statuses: super::EntityStatuses,
546 pub animations: super::EntityAnimations,
547 pub object_data: super::ObjectData,
548 pub tracked_data: super::tracked_data::TrackedData,
549 }
550 impl Default for ArmorStandEntityBundle {
551 fn default() -> Self {
552 Self {
553 armor_stand_entity: Default::default(),
554 armor_stand_armor_stand_flags: Default::default(),
555 armor_stand_tracker_head_rotation: Default::default(),
556 armor_stand_tracker_body_rotation: Default::default(),
557 armor_stand_tracker_left_arm_rotation: Default::default(),
558 armor_stand_tracker_right_arm_rotation: Default::default(),
559 armor_stand_tracker_left_leg_rotation: Default::default(),
560 armor_stand_tracker_right_leg_rotation: Default::default(),
561 living_entity: Default::default(),
562 living_absorption: Default::default(),
563 living_attributes: super::attributes::EntityAttributes::new()
564 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
565 .with_attribute_and_value(
566 super::EntityAttribute::GenericKnockbackResistance,
567 0f64,
568 )
569 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
570 .with_attribute_and_value(
571 super::EntityAttribute::GenericMovementSpeed,
572 0.699999988079071f64,
573 )
574 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 20f64),
575 living_attributes_tracker: Default::default(),
576 living_active_status_effects: Default::default(),
577 living_living_flags: Default::default(),
578 living_health: Default::default(),
579 living_potion_swirls_color: Default::default(),
580 living_potion_swirls_ambient: Default::default(),
581 living_stuck_arrow_count: Default::default(),
582 living_stinger_count: Default::default(),
583 living_sleeping_position: Default::default(),
584 entity: Default::default(),
585 entity_flags: Default::default(),
586 entity_air: Default::default(),
587 entity_custom_name: Default::default(),
588 entity_name_visible: Default::default(),
589 entity_silent: Default::default(),
590 entity_no_gravity: Default::default(),
591 entity_pose: Default::default(),
592 entity_frozen_ticks: Default::default(),
593 kind: super::EntityKind::ARMOR_STAND,
594 id: Default::default(),
595 uuid: Default::default(),
596 layer: Default::default(),
597 old_layer: Default::default(),
598 position: Default::default(),
599 old_position: Default::default(),
600 look: Default::default(),
601 head_yaw: Default::default(),
602 on_ground: Default::default(),
603 velocity: Default::default(),
604 statuses: Default::default(),
605 animations: Default::default(),
606 object_data: Default::default(),
607 tracked_data: Default::default(),
608 }
609 }
610 }
611 #[derive(
612 bevy_ecs :: component :: Component,
613 PartialEq,
614 Clone,
615 Debug,
616 :: derive_more :: Deref,
617 :: derive_more :: DerefMut,
618 )]
619 pub struct ArmorStandFlags(pub i8);
620 #[allow(clippy::derivable_impls)]
621 impl Default for ArmorStandFlags {
622 fn default() -> Self {
623 Self(0i8)
624 }
625 }
626 #[derive(
627 bevy_ecs :: component :: Component,
628 PartialEq,
629 Clone,
630 Debug,
631 :: derive_more :: Deref,
632 :: derive_more :: DerefMut,
633 )]
634 pub struct TrackerHeadRotation(pub crate::EulerAngle);
635 #[allow(clippy::derivable_impls)]
636 impl Default for TrackerHeadRotation {
637 fn default() -> Self {
638 Self(crate::EulerAngle {
639 pitch: 0f32,
640 yaw: 0f32,
641 roll: 0f32,
642 })
643 }
644 }
645 #[derive(
646 bevy_ecs :: component :: Component,
647 PartialEq,
648 Clone,
649 Debug,
650 :: derive_more :: Deref,
651 :: derive_more :: DerefMut,
652 )]
653 pub struct TrackerBodyRotation(pub crate::EulerAngle);
654 #[allow(clippy::derivable_impls)]
655 impl Default for TrackerBodyRotation {
656 fn default() -> Self {
657 Self(crate::EulerAngle {
658 pitch: 0f32,
659 yaw: 0f32,
660 roll: 0f32,
661 })
662 }
663 }
664 #[derive(
665 bevy_ecs :: component :: Component,
666 PartialEq,
667 Clone,
668 Debug,
669 :: derive_more :: Deref,
670 :: derive_more :: DerefMut,
671 )]
672 pub struct TrackerLeftArmRotation(pub crate::EulerAngle);
673 #[allow(clippy::derivable_impls)]
674 impl Default for TrackerLeftArmRotation {
675 fn default() -> Self {
676 Self(crate::EulerAngle {
677 pitch: -10f32,
678 yaw: 0f32,
679 roll: -10f32,
680 })
681 }
682 }
683 #[derive(
684 bevy_ecs :: component :: Component,
685 PartialEq,
686 Clone,
687 Debug,
688 :: derive_more :: Deref,
689 :: derive_more :: DerefMut,
690 )]
691 pub struct TrackerRightArmRotation(pub crate::EulerAngle);
692 #[allow(clippy::derivable_impls)]
693 impl Default for TrackerRightArmRotation {
694 fn default() -> Self {
695 Self(crate::EulerAngle {
696 pitch: -15f32,
697 yaw: 0f32,
698 roll: 10f32,
699 })
700 }
701 }
702 #[derive(
703 bevy_ecs :: component :: Component,
704 PartialEq,
705 Clone,
706 Debug,
707 :: derive_more :: Deref,
708 :: derive_more :: DerefMut,
709 )]
710 pub struct TrackerLeftLegRotation(pub crate::EulerAngle);
711 #[allow(clippy::derivable_impls)]
712 impl Default for TrackerLeftLegRotation {
713 fn default() -> Self {
714 Self(crate::EulerAngle {
715 pitch: -1f32,
716 yaw: 0f32,
717 roll: -1f32,
718 })
719 }
720 }
721 #[derive(
722 bevy_ecs :: component :: Component,
723 PartialEq,
724 Clone,
725 Debug,
726 :: derive_more :: Deref,
727 :: derive_more :: DerefMut,
728 )]
729 pub struct TrackerRightLegRotation(pub crate::EulerAngle);
730 #[allow(clippy::derivable_impls)]
731 impl Default for TrackerRightLegRotation {
732 fn default() -> Self {
733 Self(crate::EulerAngle {
734 pitch: 1f32,
735 yaw: 0f32,
736 roll: 1f32,
737 })
738 }
739 }
740 #[doc = "Marker component for `armor_stand` entities."]
741 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
742 pub struct ArmorStandEntity;
743}
744#[allow(clippy::module_inception)]
745pub mod arrow {
746 #![doc = "Parent class: [`persistent_projectile`][super::persistent_projectile]."]
747 #[doc = "The bundle of components for spawning `arrow` entities."]
748 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
749 pub struct ArrowEntityBundle {
750 pub arrow_entity: super::arrow::ArrowEntity,
751 pub arrow_color: super::arrow::Color,
752 pub persistent_projectile_entity: super::persistent_projectile::PersistentProjectileEntity,
753 pub persistent_projectile_projectile_flags: super::persistent_projectile::ProjectileFlags,
754 pub persistent_projectile_pierce_level: super::persistent_projectile::PierceLevel,
755 pub projectile_entity: super::projectile::ProjectileEntity,
756 pub entity: super::entity::Entity,
757 pub entity_flags: super::entity::Flags,
758 pub entity_air: super::entity::Air,
759 pub entity_custom_name: super::entity::CustomName,
760 pub entity_name_visible: super::entity::NameVisible,
761 pub entity_silent: super::entity::Silent,
762 pub entity_no_gravity: super::entity::NoGravity,
763 pub entity_pose: super::entity::Pose,
764 pub entity_frozen_ticks: super::entity::FrozenTicks,
765 pub kind: super::EntityKind,
766 pub id: super::EntityId,
767 pub uuid: super::UniqueId,
768 pub layer: super::EntityLayerId,
769 pub old_layer: super::OldEntityLayerId,
770 pub position: super::Position,
771 pub old_position: super::OldPosition,
772 pub look: super::Look,
773 pub head_yaw: super::HeadYaw,
774 pub on_ground: super::OnGround,
775 pub velocity: super::Velocity,
776 pub statuses: super::EntityStatuses,
777 pub animations: super::EntityAnimations,
778 pub object_data: super::ObjectData,
779 pub tracked_data: super::tracked_data::TrackedData,
780 }
781 impl Default for ArrowEntityBundle {
782 fn default() -> Self {
783 Self {
784 arrow_entity: Default::default(),
785 arrow_color: Default::default(),
786 persistent_projectile_entity: Default::default(),
787 persistent_projectile_projectile_flags: Default::default(),
788 persistent_projectile_pierce_level: Default::default(),
789 projectile_entity: Default::default(),
790 entity: Default::default(),
791 entity_flags: Default::default(),
792 entity_air: Default::default(),
793 entity_custom_name: Default::default(),
794 entity_name_visible: Default::default(),
795 entity_silent: Default::default(),
796 entity_no_gravity: Default::default(),
797 entity_pose: Default::default(),
798 entity_frozen_ticks: Default::default(),
799 kind: super::EntityKind::ARROW,
800 id: Default::default(),
801 uuid: Default::default(),
802 layer: Default::default(),
803 old_layer: Default::default(),
804 position: Default::default(),
805 old_position: Default::default(),
806 look: Default::default(),
807 head_yaw: Default::default(),
808 on_ground: Default::default(),
809 velocity: Default::default(),
810 statuses: Default::default(),
811 animations: Default::default(),
812 object_data: Default::default(),
813 tracked_data: Default::default(),
814 }
815 }
816 }
817 #[derive(
818 bevy_ecs :: component :: Component,
819 PartialEq,
820 Clone,
821 Debug,
822 :: derive_more :: Deref,
823 :: derive_more :: DerefMut,
824 )]
825 pub struct Color(pub i32);
826 #[allow(clippy::derivable_impls)]
827 impl Default for Color {
828 fn default() -> Self {
829 Self(-1i32)
830 }
831 }
832 #[doc = "Marker component for `arrow` entities."]
833 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
834 pub struct ArrowEntity;
835}
836#[allow(clippy::module_inception)]
837pub mod axolotl {
838 #![doc = "Parent class: [`animal`][super::animal]."]
839 #[doc = "The bundle of components for spawning `axolotl` entities."]
840 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
841 pub struct AxolotlEntityBundle {
842 pub axolotl_entity: super::axolotl::AxolotlEntity,
843 pub axolotl_variant: super::axolotl::Variant,
844 pub axolotl_playing_dead: super::axolotl::PlayingDead,
845 pub axolotl_from_bucket: super::axolotl::FromBucket,
846 pub animal_entity: super::animal::AnimalEntity,
847 pub passive_entity: super::passive::PassiveEntity,
848 pub passive_child: super::passive::Child,
849 pub path_aware_entity: super::path_aware::PathAwareEntity,
850 pub mob_entity: super::mob::MobEntity,
851 pub mob_mob_flags: super::mob::MobFlags,
852 pub living_entity: super::living::LivingEntity,
853 pub living_absorption: super::living::Absorption,
854 pub living_attributes: super::attributes::EntityAttributes,
855 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
856 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
857 pub living_living_flags: super::living::LivingFlags,
858 pub living_health: super::living::Health,
859 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
860 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
861 pub living_stuck_arrow_count: super::living::StuckArrowCount,
862 pub living_stinger_count: super::living::StingerCount,
863 pub living_sleeping_position: super::living::SleepingPosition,
864 pub entity: super::entity::Entity,
865 pub entity_flags: super::entity::Flags,
866 pub entity_air: super::entity::Air,
867 pub entity_custom_name: super::entity::CustomName,
868 pub entity_name_visible: super::entity::NameVisible,
869 pub entity_silent: super::entity::Silent,
870 pub entity_no_gravity: super::entity::NoGravity,
871 pub entity_pose: super::entity::Pose,
872 pub entity_frozen_ticks: super::entity::FrozenTicks,
873 pub kind: super::EntityKind,
874 pub id: super::EntityId,
875 pub uuid: super::UniqueId,
876 pub layer: super::EntityLayerId,
877 pub old_layer: super::OldEntityLayerId,
878 pub position: super::Position,
879 pub old_position: super::OldPosition,
880 pub look: super::Look,
881 pub head_yaw: super::HeadYaw,
882 pub on_ground: super::OnGround,
883 pub velocity: super::Velocity,
884 pub statuses: super::EntityStatuses,
885 pub animations: super::EntityAnimations,
886 pub object_data: super::ObjectData,
887 pub tracked_data: super::tracked_data::TrackedData,
888 }
889 impl Default for AxolotlEntityBundle {
890 fn default() -> Self {
891 Self {
892 axolotl_entity: Default::default(),
893 axolotl_variant: Default::default(),
894 axolotl_playing_dead: Default::default(),
895 axolotl_from_bucket: Default::default(),
896 animal_entity: Default::default(),
897 passive_entity: Default::default(),
898 passive_child: Default::default(),
899 path_aware_entity: Default::default(),
900 mob_entity: Default::default(),
901 mob_mob_flags: Default::default(),
902 living_entity: Default::default(),
903 living_absorption: Default::default(),
904 living_attributes: super::attributes::EntityAttributes::new()
905 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
906 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
907 .with_attribute_and_value(
908 super::EntityAttribute::GenericKnockbackResistance,
909 0f64,
910 )
911 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
912 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 2f64)
913 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
914 .with_attribute_and_value(super::EntityAttribute::GenericMovementSpeed, 1f64)
915 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 14f64),
916 living_attributes_tracker: Default::default(),
917 living_active_status_effects: Default::default(),
918 living_living_flags: Default::default(),
919 living_health: Default::default(),
920 living_potion_swirls_color: Default::default(),
921 living_potion_swirls_ambient: Default::default(),
922 living_stuck_arrow_count: Default::default(),
923 living_stinger_count: Default::default(),
924 living_sleeping_position: Default::default(),
925 entity: Default::default(),
926 entity_flags: Default::default(),
927 entity_air: Default::default(),
928 entity_custom_name: Default::default(),
929 entity_name_visible: Default::default(),
930 entity_silent: Default::default(),
931 entity_no_gravity: Default::default(),
932 entity_pose: Default::default(),
933 entity_frozen_ticks: Default::default(),
934 kind: super::EntityKind::AXOLOTL,
935 id: Default::default(),
936 uuid: Default::default(),
937 layer: Default::default(),
938 old_layer: Default::default(),
939 position: Default::default(),
940 old_position: Default::default(),
941 look: Default::default(),
942 head_yaw: Default::default(),
943 on_ground: Default::default(),
944 velocity: Default::default(),
945 statuses: Default::default(),
946 animations: Default::default(),
947 object_data: Default::default(),
948 tracked_data: Default::default(),
949 }
950 }
951 }
952 #[derive(
953 bevy_ecs :: component :: Component,
954 PartialEq,
955 Clone,
956 Debug,
957 :: derive_more :: Deref,
958 :: derive_more :: DerefMut,
959 )]
960 pub struct Variant(pub i32);
961 #[allow(clippy::derivable_impls)]
962 impl Default for Variant {
963 fn default() -> Self {
964 Self(0i32)
965 }
966 }
967 #[derive(
968 bevy_ecs :: component :: Component,
969 PartialEq,
970 Clone,
971 Debug,
972 :: derive_more :: Deref,
973 :: derive_more :: DerefMut,
974 )]
975 pub struct PlayingDead(pub bool);
976 #[allow(clippy::derivable_impls)]
977 impl Default for PlayingDead {
978 fn default() -> Self {
979 Self(false)
980 }
981 }
982 #[derive(
983 bevy_ecs :: component :: Component,
984 PartialEq,
985 Clone,
986 Debug,
987 :: derive_more :: Deref,
988 :: derive_more :: DerefMut,
989 )]
990 pub struct FromBucket(pub bool);
991 #[allow(clippy::derivable_impls)]
992 impl Default for FromBucket {
993 fn default() -> Self {
994 Self(false)
995 }
996 }
997 #[doc = "Marker component for `axolotl` entities."]
998 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
999 pub struct AxolotlEntity;
1000}
1001#[allow(clippy::module_inception)]
1002pub mod bat {
1003 #![doc = "Parent class: [`ambient`][super::ambient]."]
1004 #[doc = "The bundle of components for spawning `bat` entities."]
1005 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
1006 pub struct BatEntityBundle {
1007 pub bat_entity: super::bat::BatEntity,
1008 pub bat_bat_flags: super::bat::BatFlags,
1009 pub ambient_entity: super::ambient::AmbientEntity,
1010 pub mob_entity: super::mob::MobEntity,
1011 pub mob_mob_flags: super::mob::MobFlags,
1012 pub living_entity: super::living::LivingEntity,
1013 pub living_absorption: super::living::Absorption,
1014 pub living_attributes: super::attributes::EntityAttributes,
1015 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
1016 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
1017 pub living_living_flags: super::living::LivingFlags,
1018 pub living_health: super::living::Health,
1019 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
1020 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
1021 pub living_stuck_arrow_count: super::living::StuckArrowCount,
1022 pub living_stinger_count: super::living::StingerCount,
1023 pub living_sleeping_position: super::living::SleepingPosition,
1024 pub entity: super::entity::Entity,
1025 pub entity_flags: super::entity::Flags,
1026 pub entity_air: super::entity::Air,
1027 pub entity_custom_name: super::entity::CustomName,
1028 pub entity_name_visible: super::entity::NameVisible,
1029 pub entity_silent: super::entity::Silent,
1030 pub entity_no_gravity: super::entity::NoGravity,
1031 pub entity_pose: super::entity::Pose,
1032 pub entity_frozen_ticks: super::entity::FrozenTicks,
1033 pub kind: super::EntityKind,
1034 pub id: super::EntityId,
1035 pub uuid: super::UniqueId,
1036 pub layer: super::EntityLayerId,
1037 pub old_layer: super::OldEntityLayerId,
1038 pub position: super::Position,
1039 pub old_position: super::OldPosition,
1040 pub look: super::Look,
1041 pub head_yaw: super::HeadYaw,
1042 pub on_ground: super::OnGround,
1043 pub velocity: super::Velocity,
1044 pub statuses: super::EntityStatuses,
1045 pub animations: super::EntityAnimations,
1046 pub object_data: super::ObjectData,
1047 pub tracked_data: super::tracked_data::TrackedData,
1048 }
1049 impl Default for BatEntityBundle {
1050 fn default() -> Self {
1051 Self {
1052 bat_entity: Default::default(),
1053 bat_bat_flags: Default::default(),
1054 ambient_entity: Default::default(),
1055 mob_entity: Default::default(),
1056 mob_mob_flags: Default::default(),
1057 living_entity: Default::default(),
1058 living_absorption: Default::default(),
1059 living_attributes: super::attributes::EntityAttributes::new()
1060 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
1061 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
1062 .with_attribute_and_value(
1063 super::EntityAttribute::GenericKnockbackResistance,
1064 0f64,
1065 )
1066 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
1067 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
1068 .with_attribute_and_value(
1069 super::EntityAttribute::GenericMovementSpeed,
1070 0.699999988079071f64,
1071 )
1072 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 6f64),
1073 living_attributes_tracker: Default::default(),
1074 living_active_status_effects: Default::default(),
1075 living_living_flags: Default::default(),
1076 living_health: Default::default(),
1077 living_potion_swirls_color: Default::default(),
1078 living_potion_swirls_ambient: Default::default(),
1079 living_stuck_arrow_count: Default::default(),
1080 living_stinger_count: Default::default(),
1081 living_sleeping_position: Default::default(),
1082 entity: Default::default(),
1083 entity_flags: Default::default(),
1084 entity_air: Default::default(),
1085 entity_custom_name: Default::default(),
1086 entity_name_visible: Default::default(),
1087 entity_silent: Default::default(),
1088 entity_no_gravity: Default::default(),
1089 entity_pose: Default::default(),
1090 entity_frozen_ticks: Default::default(),
1091 kind: super::EntityKind::BAT,
1092 id: Default::default(),
1093 uuid: Default::default(),
1094 layer: Default::default(),
1095 old_layer: Default::default(),
1096 position: Default::default(),
1097 old_position: Default::default(),
1098 look: Default::default(),
1099 head_yaw: Default::default(),
1100 on_ground: Default::default(),
1101 velocity: Default::default(),
1102 statuses: Default::default(),
1103 animations: Default::default(),
1104 object_data: Default::default(),
1105 tracked_data: Default::default(),
1106 }
1107 }
1108 }
1109 #[derive(
1110 bevy_ecs :: component :: Component,
1111 PartialEq,
1112 Clone,
1113 Debug,
1114 :: derive_more :: Deref,
1115 :: derive_more :: DerefMut,
1116 )]
1117 pub struct BatFlags(pub i8);
1118 #[allow(clippy::derivable_impls)]
1119 impl Default for BatFlags {
1120 fn default() -> Self {
1121 Self(1i8)
1122 }
1123 }
1124 #[doc = "Marker component for `bat` entities."]
1125 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
1126 pub struct BatEntity;
1127}
1128#[allow(clippy::module_inception)]
1129pub mod bee {
1130 #![doc = "Parent class: [`animal`][super::animal]."]
1131 #[doc = "The bundle of components for spawning `bee` entities."]
1132 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
1133 pub struct BeeEntityBundle {
1134 pub bee_entity: super::bee::BeeEntity,
1135 pub bee_bee_flags: super::bee::BeeFlags,
1136 pub bee_anger: super::bee::Anger,
1137 pub animal_entity: super::animal::AnimalEntity,
1138 pub passive_entity: super::passive::PassiveEntity,
1139 pub passive_child: super::passive::Child,
1140 pub path_aware_entity: super::path_aware::PathAwareEntity,
1141 pub mob_entity: super::mob::MobEntity,
1142 pub mob_mob_flags: super::mob::MobFlags,
1143 pub living_entity: super::living::LivingEntity,
1144 pub living_absorption: super::living::Absorption,
1145 pub living_attributes: super::attributes::EntityAttributes,
1146 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
1147 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
1148 pub living_living_flags: super::living::LivingFlags,
1149 pub living_health: super::living::Health,
1150 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
1151 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
1152 pub living_stuck_arrow_count: super::living::StuckArrowCount,
1153 pub living_stinger_count: super::living::StingerCount,
1154 pub living_sleeping_position: super::living::SleepingPosition,
1155 pub entity: super::entity::Entity,
1156 pub entity_flags: super::entity::Flags,
1157 pub entity_air: super::entity::Air,
1158 pub entity_custom_name: super::entity::CustomName,
1159 pub entity_name_visible: super::entity::NameVisible,
1160 pub entity_silent: super::entity::Silent,
1161 pub entity_no_gravity: super::entity::NoGravity,
1162 pub entity_pose: super::entity::Pose,
1163 pub entity_frozen_ticks: super::entity::FrozenTicks,
1164 pub kind: super::EntityKind,
1165 pub id: super::EntityId,
1166 pub uuid: super::UniqueId,
1167 pub layer: super::EntityLayerId,
1168 pub old_layer: super::OldEntityLayerId,
1169 pub position: super::Position,
1170 pub old_position: super::OldPosition,
1171 pub look: super::Look,
1172 pub head_yaw: super::HeadYaw,
1173 pub on_ground: super::OnGround,
1174 pub velocity: super::Velocity,
1175 pub statuses: super::EntityStatuses,
1176 pub animations: super::EntityAnimations,
1177 pub object_data: super::ObjectData,
1178 pub tracked_data: super::tracked_data::TrackedData,
1179 }
1180 impl Default for BeeEntityBundle {
1181 fn default() -> Self {
1182 Self {
1183 bee_entity: Default::default(),
1184 bee_bee_flags: Default::default(),
1185 bee_anger: Default::default(),
1186 animal_entity: Default::default(),
1187 passive_entity: Default::default(),
1188 passive_child: Default::default(),
1189 path_aware_entity: Default::default(),
1190 mob_entity: Default::default(),
1191 mob_mob_flags: Default::default(),
1192 living_entity: Default::default(),
1193 living_absorption: Default::default(),
1194 living_attributes: super::attributes::EntityAttributes::new()
1195 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
1196 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
1197 .with_attribute_and_value(
1198 super::EntityAttribute::GenericKnockbackResistance,
1199 0f64,
1200 )
1201 .with_attribute_and_value(
1202 super::EntityAttribute::GenericFlyingSpeed,
1203 0.6000000238418579f64,
1204 )
1205 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
1206 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 2f64)
1207 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 48f64)
1208 .with_attribute_and_value(
1209 super::EntityAttribute::GenericMovementSpeed,
1210 0.30000001192092896f64,
1211 )
1212 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 10f64),
1213 living_attributes_tracker: Default::default(),
1214 living_active_status_effects: Default::default(),
1215 living_living_flags: Default::default(),
1216 living_health: Default::default(),
1217 living_potion_swirls_color: Default::default(),
1218 living_potion_swirls_ambient: Default::default(),
1219 living_stuck_arrow_count: Default::default(),
1220 living_stinger_count: Default::default(),
1221 living_sleeping_position: Default::default(),
1222 entity: Default::default(),
1223 entity_flags: Default::default(),
1224 entity_air: Default::default(),
1225 entity_custom_name: Default::default(),
1226 entity_name_visible: Default::default(),
1227 entity_silent: Default::default(),
1228 entity_no_gravity: Default::default(),
1229 entity_pose: Default::default(),
1230 entity_frozen_ticks: Default::default(),
1231 kind: super::EntityKind::BEE,
1232 id: Default::default(),
1233 uuid: Default::default(),
1234 layer: Default::default(),
1235 old_layer: Default::default(),
1236 position: Default::default(),
1237 old_position: Default::default(),
1238 look: Default::default(),
1239 head_yaw: Default::default(),
1240 on_ground: Default::default(),
1241 velocity: Default::default(),
1242 statuses: Default::default(),
1243 animations: Default::default(),
1244 object_data: Default::default(),
1245 tracked_data: Default::default(),
1246 }
1247 }
1248 }
1249 #[derive(
1250 bevy_ecs :: component :: Component,
1251 PartialEq,
1252 Clone,
1253 Debug,
1254 :: derive_more :: Deref,
1255 :: derive_more :: DerefMut,
1256 )]
1257 pub struct BeeFlags(pub i8);
1258 #[allow(clippy::derivable_impls)]
1259 impl Default for BeeFlags {
1260 fn default() -> Self {
1261 Self(0i8)
1262 }
1263 }
1264 #[derive(
1265 bevy_ecs :: component :: Component,
1266 PartialEq,
1267 Clone,
1268 Debug,
1269 :: derive_more :: Deref,
1270 :: derive_more :: DerefMut,
1271 )]
1272 pub struct Anger(pub i32);
1273 #[allow(clippy::derivable_impls)]
1274 impl Default for Anger {
1275 fn default() -> Self {
1276 Self(0i32)
1277 }
1278 }
1279 #[doc = "Marker component for `bee` entities."]
1280 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
1281 pub struct BeeEntity;
1282}
1283#[allow(clippy::module_inception)]
1284pub mod blaze {
1285 #![doc = "Parent class: [`hostile`][super::hostile]."]
1286 #[doc = "The bundle of components for spawning `blaze` entities."]
1287 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
1288 pub struct BlazeEntityBundle {
1289 pub blaze_entity: super::blaze::BlazeEntity,
1290 pub blaze_blaze_flags: super::blaze::BlazeFlags,
1291 pub hostile_entity: super::hostile::HostileEntity,
1292 pub path_aware_entity: super::path_aware::PathAwareEntity,
1293 pub mob_entity: super::mob::MobEntity,
1294 pub mob_mob_flags: super::mob::MobFlags,
1295 pub living_entity: super::living::LivingEntity,
1296 pub living_absorption: super::living::Absorption,
1297 pub living_attributes: super::attributes::EntityAttributes,
1298 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
1299 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
1300 pub living_living_flags: super::living::LivingFlags,
1301 pub living_health: super::living::Health,
1302 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
1303 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
1304 pub living_stuck_arrow_count: super::living::StuckArrowCount,
1305 pub living_stinger_count: super::living::StingerCount,
1306 pub living_sleeping_position: super::living::SleepingPosition,
1307 pub entity: super::entity::Entity,
1308 pub entity_flags: super::entity::Flags,
1309 pub entity_air: super::entity::Air,
1310 pub entity_custom_name: super::entity::CustomName,
1311 pub entity_name_visible: super::entity::NameVisible,
1312 pub entity_silent: super::entity::Silent,
1313 pub entity_no_gravity: super::entity::NoGravity,
1314 pub entity_pose: super::entity::Pose,
1315 pub entity_frozen_ticks: super::entity::FrozenTicks,
1316 pub kind: super::EntityKind,
1317 pub id: super::EntityId,
1318 pub uuid: super::UniqueId,
1319 pub layer: super::EntityLayerId,
1320 pub old_layer: super::OldEntityLayerId,
1321 pub position: super::Position,
1322 pub old_position: super::OldPosition,
1323 pub look: super::Look,
1324 pub head_yaw: super::HeadYaw,
1325 pub on_ground: super::OnGround,
1326 pub velocity: super::Velocity,
1327 pub statuses: super::EntityStatuses,
1328 pub animations: super::EntityAnimations,
1329 pub object_data: super::ObjectData,
1330 pub tracked_data: super::tracked_data::TrackedData,
1331 }
1332 impl Default for BlazeEntityBundle {
1333 fn default() -> Self {
1334 Self {
1335 blaze_entity: Default::default(),
1336 blaze_blaze_flags: Default::default(),
1337 hostile_entity: Default::default(),
1338 path_aware_entity: Default::default(),
1339 mob_entity: Default::default(),
1340 mob_mob_flags: Default::default(),
1341 living_entity: Default::default(),
1342 living_absorption: Default::default(),
1343 living_attributes: super::attributes::EntityAttributes::new()
1344 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
1345 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
1346 .with_attribute_and_value(
1347 super::EntityAttribute::GenericKnockbackResistance,
1348 0f64,
1349 )
1350 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
1351 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 6f64)
1352 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 48f64)
1353 .with_attribute_and_value(
1354 super::EntityAttribute::GenericMovementSpeed,
1355 0.2300000041723251f64,
1356 )
1357 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 20f64),
1358 living_attributes_tracker: Default::default(),
1359 living_active_status_effects: Default::default(),
1360 living_living_flags: Default::default(),
1361 living_health: Default::default(),
1362 living_potion_swirls_color: Default::default(),
1363 living_potion_swirls_ambient: Default::default(),
1364 living_stuck_arrow_count: Default::default(),
1365 living_stinger_count: Default::default(),
1366 living_sleeping_position: Default::default(),
1367 entity: Default::default(),
1368 entity_flags: Default::default(),
1369 entity_air: Default::default(),
1370 entity_custom_name: Default::default(),
1371 entity_name_visible: Default::default(),
1372 entity_silent: Default::default(),
1373 entity_no_gravity: Default::default(),
1374 entity_pose: Default::default(),
1375 entity_frozen_ticks: Default::default(),
1376 kind: super::EntityKind::BLAZE,
1377 id: Default::default(),
1378 uuid: Default::default(),
1379 layer: Default::default(),
1380 old_layer: Default::default(),
1381 position: Default::default(),
1382 old_position: Default::default(),
1383 look: Default::default(),
1384 head_yaw: Default::default(),
1385 on_ground: Default::default(),
1386 velocity: Default::default(),
1387 statuses: Default::default(),
1388 animations: Default::default(),
1389 object_data: Default::default(),
1390 tracked_data: Default::default(),
1391 }
1392 }
1393 }
1394 #[derive(
1395 bevy_ecs :: component :: Component,
1396 PartialEq,
1397 Clone,
1398 Debug,
1399 :: derive_more :: Deref,
1400 :: derive_more :: DerefMut,
1401 )]
1402 pub struct BlazeFlags(pub i8);
1403 #[allow(clippy::derivable_impls)]
1404 impl Default for BlazeFlags {
1405 fn default() -> Self {
1406 Self(0i8)
1407 }
1408 }
1409 #[doc = "Marker component for `blaze` entities."]
1410 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
1411 pub struct BlazeEntity;
1412}
1413#[allow(clippy::module_inception)]
1414pub mod block_display {
1415 #![doc = "Parent class: [`display`][super::display]."]
1416 #[doc = "The bundle of components for spawning `block_display` entities."]
1417 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
1418 pub struct BlockDisplayEntityBundle {
1419 pub block_display_entity: super::block_display::BlockDisplayEntity,
1420 pub block_display_block_state: super::block_display::BlockState,
1421 pub display_entity: super::display::DisplayEntity,
1422 pub display_start_interpolation: super::display::StartInterpolation,
1423 pub display_interpolation_duration: super::display::InterpolationDuration,
1424 pub display_translation: super::display::Translation,
1425 pub display_scale: super::display::Scale,
1426 pub display_left_rotation: super::display::LeftRotation,
1427 pub display_right_rotation: super::display::RightRotation,
1428 pub display_billboard: super::display::Billboard,
1429 pub display_brightness: super::display::Brightness,
1430 pub display_view_range: super::display::ViewRange,
1431 pub display_shadow_radius: super::display::ShadowRadius,
1432 pub display_shadow_strength: super::display::ShadowStrength,
1433 pub display_width: super::display::Width,
1434 pub display_height: super::display::Height,
1435 pub display_glow_color_override: super::display::GlowColorOverride,
1436 pub entity: super::entity::Entity,
1437 pub entity_flags: super::entity::Flags,
1438 pub entity_air: super::entity::Air,
1439 pub entity_custom_name: super::entity::CustomName,
1440 pub entity_name_visible: super::entity::NameVisible,
1441 pub entity_silent: super::entity::Silent,
1442 pub entity_no_gravity: super::entity::NoGravity,
1443 pub entity_pose: super::entity::Pose,
1444 pub entity_frozen_ticks: super::entity::FrozenTicks,
1445 pub kind: super::EntityKind,
1446 pub id: super::EntityId,
1447 pub uuid: super::UniqueId,
1448 pub layer: super::EntityLayerId,
1449 pub old_layer: super::OldEntityLayerId,
1450 pub position: super::Position,
1451 pub old_position: super::OldPosition,
1452 pub look: super::Look,
1453 pub head_yaw: super::HeadYaw,
1454 pub on_ground: super::OnGround,
1455 pub velocity: super::Velocity,
1456 pub statuses: super::EntityStatuses,
1457 pub animations: super::EntityAnimations,
1458 pub object_data: super::ObjectData,
1459 pub tracked_data: super::tracked_data::TrackedData,
1460 }
1461 impl Default for BlockDisplayEntityBundle {
1462 fn default() -> Self {
1463 Self {
1464 block_display_entity: Default::default(),
1465 block_display_block_state: Default::default(),
1466 display_entity: Default::default(),
1467 display_start_interpolation: Default::default(),
1468 display_interpolation_duration: Default::default(),
1469 display_translation: Default::default(),
1470 display_scale: Default::default(),
1471 display_left_rotation: Default::default(),
1472 display_right_rotation: Default::default(),
1473 display_billboard: Default::default(),
1474 display_brightness: Default::default(),
1475 display_view_range: Default::default(),
1476 display_shadow_radius: Default::default(),
1477 display_shadow_strength: Default::default(),
1478 display_width: Default::default(),
1479 display_height: Default::default(),
1480 display_glow_color_override: Default::default(),
1481 entity: Default::default(),
1482 entity_flags: Default::default(),
1483 entity_air: Default::default(),
1484 entity_custom_name: Default::default(),
1485 entity_name_visible: Default::default(),
1486 entity_silent: Default::default(),
1487 entity_no_gravity: Default::default(),
1488 entity_pose: Default::default(),
1489 entity_frozen_ticks: Default::default(),
1490 kind: super::EntityKind::BLOCK_DISPLAY,
1491 id: Default::default(),
1492 uuid: Default::default(),
1493 layer: Default::default(),
1494 old_layer: Default::default(),
1495 position: Default::default(),
1496 old_position: Default::default(),
1497 look: Default::default(),
1498 head_yaw: Default::default(),
1499 on_ground: Default::default(),
1500 velocity: Default::default(),
1501 statuses: Default::default(),
1502 animations: Default::default(),
1503 object_data: Default::default(),
1504 tracked_data: Default::default(),
1505 }
1506 }
1507 }
1508 #[derive(
1509 bevy_ecs :: component :: Component,
1510 PartialEq,
1511 Clone,
1512 Debug,
1513 :: derive_more :: Deref,
1514 :: derive_more :: DerefMut,
1515 )]
1516 pub struct BlockState(pub valence_protocol::BlockState);
1517 #[allow(clippy::derivable_impls)]
1518 impl Default for BlockState {
1519 fn default() -> Self {
1520 Self(valence_protocol::BlockState::default())
1521 }
1522 }
1523 #[doc = "Marker component for `block_display` entities."]
1524 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
1525 pub struct BlockDisplayEntity;
1526}
1527#[allow(clippy::module_inception)]
1528pub mod boat {
1529 #![doc = "Parent class: [`entity`][super::entity]."]
1530 #[doc = "The bundle of components for spawning `boat` entities."]
1531 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
1532 pub struct BoatEntityBundle {
1533 pub boat_entity: super::boat::BoatEntity,
1534 pub boat_damage_wobble_ticks: super::boat::DamageWobbleTicks,
1535 pub boat_damage_wobble_side: super::boat::DamageWobbleSide,
1536 pub boat_damage_wobble_strength: super::boat::DamageWobbleStrength,
1537 pub boat_boat_type: super::boat::BoatType,
1538 pub boat_left_paddle_moving: super::boat::LeftPaddleMoving,
1539 pub boat_right_paddle_moving: super::boat::RightPaddleMoving,
1540 pub boat_bubble_wobble_ticks: super::boat::BubbleWobbleTicks,
1541 pub entity: super::entity::Entity,
1542 pub entity_flags: super::entity::Flags,
1543 pub entity_air: super::entity::Air,
1544 pub entity_custom_name: super::entity::CustomName,
1545 pub entity_name_visible: super::entity::NameVisible,
1546 pub entity_silent: super::entity::Silent,
1547 pub entity_no_gravity: super::entity::NoGravity,
1548 pub entity_pose: super::entity::Pose,
1549 pub entity_frozen_ticks: super::entity::FrozenTicks,
1550 pub kind: super::EntityKind,
1551 pub id: super::EntityId,
1552 pub uuid: super::UniqueId,
1553 pub layer: super::EntityLayerId,
1554 pub old_layer: super::OldEntityLayerId,
1555 pub position: super::Position,
1556 pub old_position: super::OldPosition,
1557 pub look: super::Look,
1558 pub head_yaw: super::HeadYaw,
1559 pub on_ground: super::OnGround,
1560 pub velocity: super::Velocity,
1561 pub statuses: super::EntityStatuses,
1562 pub animations: super::EntityAnimations,
1563 pub object_data: super::ObjectData,
1564 pub tracked_data: super::tracked_data::TrackedData,
1565 }
1566 impl Default for BoatEntityBundle {
1567 fn default() -> Self {
1568 Self {
1569 boat_entity: Default::default(),
1570 boat_damage_wobble_ticks: Default::default(),
1571 boat_damage_wobble_side: Default::default(),
1572 boat_damage_wobble_strength: Default::default(),
1573 boat_boat_type: Default::default(),
1574 boat_left_paddle_moving: Default::default(),
1575 boat_right_paddle_moving: Default::default(),
1576 boat_bubble_wobble_ticks: Default::default(),
1577 entity: Default::default(),
1578 entity_flags: Default::default(),
1579 entity_air: Default::default(),
1580 entity_custom_name: Default::default(),
1581 entity_name_visible: Default::default(),
1582 entity_silent: Default::default(),
1583 entity_no_gravity: Default::default(),
1584 entity_pose: Default::default(),
1585 entity_frozen_ticks: Default::default(),
1586 kind: super::EntityKind::BOAT,
1587 id: Default::default(),
1588 uuid: Default::default(),
1589 layer: Default::default(),
1590 old_layer: Default::default(),
1591 position: Default::default(),
1592 old_position: Default::default(),
1593 look: Default::default(),
1594 head_yaw: Default::default(),
1595 on_ground: Default::default(),
1596 velocity: Default::default(),
1597 statuses: Default::default(),
1598 animations: Default::default(),
1599 object_data: Default::default(),
1600 tracked_data: Default::default(),
1601 }
1602 }
1603 }
1604 #[derive(
1605 bevy_ecs :: component :: Component,
1606 PartialEq,
1607 Clone,
1608 Debug,
1609 :: derive_more :: Deref,
1610 :: derive_more :: DerefMut,
1611 )]
1612 pub struct DamageWobbleTicks(pub i32);
1613 #[allow(clippy::derivable_impls)]
1614 impl Default for DamageWobbleTicks {
1615 fn default() -> Self {
1616 Self(0i32)
1617 }
1618 }
1619 #[derive(
1620 bevy_ecs :: component :: Component,
1621 PartialEq,
1622 Clone,
1623 Debug,
1624 :: derive_more :: Deref,
1625 :: derive_more :: DerefMut,
1626 )]
1627 pub struct DamageWobbleSide(pub i32);
1628 #[allow(clippy::derivable_impls)]
1629 impl Default for DamageWobbleSide {
1630 fn default() -> Self {
1631 Self(1i32)
1632 }
1633 }
1634 #[derive(
1635 bevy_ecs :: component :: Component,
1636 PartialEq,
1637 Clone,
1638 Debug,
1639 :: derive_more :: Deref,
1640 :: derive_more :: DerefMut,
1641 )]
1642 pub struct DamageWobbleStrength(pub f32);
1643 #[allow(clippy::derivable_impls)]
1644 impl Default for DamageWobbleStrength {
1645 fn default() -> Self {
1646 Self(0f32)
1647 }
1648 }
1649 #[derive(
1650 bevy_ecs :: component :: Component,
1651 PartialEq,
1652 Clone,
1653 Debug,
1654 :: derive_more :: Deref,
1655 :: derive_more :: DerefMut,
1656 )]
1657 pub struct BoatType(pub i32);
1658 #[allow(clippy::derivable_impls)]
1659 impl Default for BoatType {
1660 fn default() -> Self {
1661 Self(0i32)
1662 }
1663 }
1664 #[derive(
1665 bevy_ecs :: component :: Component,
1666 PartialEq,
1667 Clone,
1668 Debug,
1669 :: derive_more :: Deref,
1670 :: derive_more :: DerefMut,
1671 )]
1672 pub struct LeftPaddleMoving(pub bool);
1673 #[allow(clippy::derivable_impls)]
1674 impl Default for LeftPaddleMoving {
1675 fn default() -> Self {
1676 Self(false)
1677 }
1678 }
1679 #[derive(
1680 bevy_ecs :: component :: Component,
1681 PartialEq,
1682 Clone,
1683 Debug,
1684 :: derive_more :: Deref,
1685 :: derive_more :: DerefMut,
1686 )]
1687 pub struct RightPaddleMoving(pub bool);
1688 #[allow(clippy::derivable_impls)]
1689 impl Default for RightPaddleMoving {
1690 fn default() -> Self {
1691 Self(false)
1692 }
1693 }
1694 #[derive(
1695 bevy_ecs :: component :: Component,
1696 PartialEq,
1697 Clone,
1698 Debug,
1699 :: derive_more :: Deref,
1700 :: derive_more :: DerefMut,
1701 )]
1702 pub struct BubbleWobbleTicks(pub i32);
1703 #[allow(clippy::derivable_impls)]
1704 impl Default for BubbleWobbleTicks {
1705 fn default() -> Self {
1706 Self(0i32)
1707 }
1708 }
1709 #[doc = "Marker component for `boat` entities."]
1710 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
1711 pub struct BoatEntity;
1712}
1713#[allow(clippy::module_inception)]
1714pub mod camel {
1715 #![doc = "Parent class: [`abstract_horse`][super::abstract_horse]."]
1716 #[doc = "The bundle of components for spawning `camel` entities."]
1717 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
1718 pub struct CamelEntityBundle {
1719 pub camel_entity: super::camel::CamelEntity,
1720 pub camel_dashing: super::camel::Dashing,
1721 pub camel_last_pose_tick: super::camel::LastPoseTick,
1722 pub abstract_horse_entity: super::abstract_horse::AbstractHorseEntity,
1723 pub abstract_horse_horse_flags: super::abstract_horse::HorseFlags,
1724 pub animal_entity: super::animal::AnimalEntity,
1725 pub passive_entity: super::passive::PassiveEntity,
1726 pub passive_child: super::passive::Child,
1727 pub path_aware_entity: super::path_aware::PathAwareEntity,
1728 pub mob_entity: super::mob::MobEntity,
1729 pub mob_mob_flags: super::mob::MobFlags,
1730 pub living_entity: super::living::LivingEntity,
1731 pub living_absorption: super::living::Absorption,
1732 pub living_attributes: super::attributes::EntityAttributes,
1733 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
1734 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
1735 pub living_living_flags: super::living::LivingFlags,
1736 pub living_health: super::living::Health,
1737 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
1738 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
1739 pub living_stuck_arrow_count: super::living::StuckArrowCount,
1740 pub living_stinger_count: super::living::StingerCount,
1741 pub living_sleeping_position: super::living::SleepingPosition,
1742 pub entity: super::entity::Entity,
1743 pub entity_flags: super::entity::Flags,
1744 pub entity_air: super::entity::Air,
1745 pub entity_custom_name: super::entity::CustomName,
1746 pub entity_name_visible: super::entity::NameVisible,
1747 pub entity_silent: super::entity::Silent,
1748 pub entity_no_gravity: super::entity::NoGravity,
1749 pub entity_pose: super::entity::Pose,
1750 pub entity_frozen_ticks: super::entity::FrozenTicks,
1751 pub kind: super::EntityKind,
1752 pub id: super::EntityId,
1753 pub uuid: super::UniqueId,
1754 pub layer: super::EntityLayerId,
1755 pub old_layer: super::OldEntityLayerId,
1756 pub position: super::Position,
1757 pub old_position: super::OldPosition,
1758 pub look: super::Look,
1759 pub head_yaw: super::HeadYaw,
1760 pub on_ground: super::OnGround,
1761 pub velocity: super::Velocity,
1762 pub statuses: super::EntityStatuses,
1763 pub animations: super::EntityAnimations,
1764 pub object_data: super::ObjectData,
1765 pub tracked_data: super::tracked_data::TrackedData,
1766 }
1767 impl Default for CamelEntityBundle {
1768 fn default() -> Self {
1769 Self {
1770 camel_entity: Default::default(),
1771 camel_dashing: Default::default(),
1772 camel_last_pose_tick: Default::default(),
1773 abstract_horse_entity: Default::default(),
1774 abstract_horse_horse_flags: Default::default(),
1775 animal_entity: Default::default(),
1776 passive_entity: Default::default(),
1777 passive_child: Default::default(),
1778 path_aware_entity: Default::default(),
1779 mob_entity: Default::default(),
1780 mob_mob_flags: Default::default(),
1781 living_entity: Default::default(),
1782 living_absorption: Default::default(),
1783 living_attributes: super::attributes::EntityAttributes::new()
1784 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
1785 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
1786 .with_attribute_and_value(
1787 super::EntityAttribute::GenericKnockbackResistance,
1788 0f64,
1789 )
1790 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
1791 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
1792 .with_attribute_and_value(
1793 super::EntityAttribute::HorseJumpStrength,
1794 0.41999998688697815f64,
1795 )
1796 .with_attribute_and_value(
1797 super::EntityAttribute::GenericMovementSpeed,
1798 0.09000000357627869f64,
1799 )
1800 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 32f64),
1801 living_attributes_tracker: Default::default(),
1802 living_active_status_effects: Default::default(),
1803 living_living_flags: Default::default(),
1804 living_health: Default::default(),
1805 living_potion_swirls_color: Default::default(),
1806 living_potion_swirls_ambient: Default::default(),
1807 living_stuck_arrow_count: Default::default(),
1808 living_stinger_count: Default::default(),
1809 living_sleeping_position: Default::default(),
1810 entity: Default::default(),
1811 entity_flags: Default::default(),
1812 entity_air: Default::default(),
1813 entity_custom_name: Default::default(),
1814 entity_name_visible: Default::default(),
1815 entity_silent: Default::default(),
1816 entity_no_gravity: Default::default(),
1817 entity_pose: Default::default(),
1818 entity_frozen_ticks: Default::default(),
1819 kind: super::EntityKind::CAMEL,
1820 id: Default::default(),
1821 uuid: Default::default(),
1822 layer: Default::default(),
1823 old_layer: Default::default(),
1824 position: Default::default(),
1825 old_position: Default::default(),
1826 look: Default::default(),
1827 head_yaw: Default::default(),
1828 on_ground: Default::default(),
1829 velocity: Default::default(),
1830 statuses: Default::default(),
1831 animations: Default::default(),
1832 object_data: Default::default(),
1833 tracked_data: Default::default(),
1834 }
1835 }
1836 }
1837 #[derive(
1838 bevy_ecs :: component :: Component,
1839 PartialEq,
1840 Clone,
1841 Debug,
1842 :: derive_more :: Deref,
1843 :: derive_more :: DerefMut,
1844 )]
1845 pub struct Dashing(pub bool);
1846 #[allow(clippy::derivable_impls)]
1847 impl Default for Dashing {
1848 fn default() -> Self {
1849 Self(false)
1850 }
1851 }
1852 #[derive(
1853 bevy_ecs :: component :: Component,
1854 PartialEq,
1855 Clone,
1856 Debug,
1857 :: derive_more :: Deref,
1858 :: derive_more :: DerefMut,
1859 )]
1860 pub struct LastPoseTick(pub i64);
1861 #[allow(clippy::derivable_impls)]
1862 impl Default for LastPoseTick {
1863 fn default() -> Self {
1864 Self(0i64)
1865 }
1866 }
1867 #[doc = "Marker component for `camel` entities."]
1868 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
1869 pub struct CamelEntity;
1870}
1871#[allow(clippy::module_inception)]
1872pub mod cat {
1873 #![doc = "Parent class: [`tameable`][super::tameable]."]
1874 #[doc = "The bundle of components for spawning `cat` entities."]
1875 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
1876 pub struct CatEntityBundle {
1877 pub cat_entity: super::cat::CatEntity,
1878 pub cat_cat_variant: super::cat::CatVariant,
1879 pub cat_in_sleeping_pose: super::cat::InSleepingPose,
1880 pub cat_head_down: super::cat::HeadDown,
1881 pub cat_collar_color: super::cat::CollarColor,
1882 pub tameable_entity: super::tameable::TameableEntity,
1883 pub tameable_tameable_flags: super::tameable::TameableFlags,
1884 pub tameable_owner_uuid: super::tameable::OwnerUuid,
1885 pub animal_entity: super::animal::AnimalEntity,
1886 pub passive_entity: super::passive::PassiveEntity,
1887 pub passive_child: super::passive::Child,
1888 pub path_aware_entity: super::path_aware::PathAwareEntity,
1889 pub mob_entity: super::mob::MobEntity,
1890 pub mob_mob_flags: super::mob::MobFlags,
1891 pub living_entity: super::living::LivingEntity,
1892 pub living_absorption: super::living::Absorption,
1893 pub living_attributes: super::attributes::EntityAttributes,
1894 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
1895 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
1896 pub living_living_flags: super::living::LivingFlags,
1897 pub living_health: super::living::Health,
1898 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
1899 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
1900 pub living_stuck_arrow_count: super::living::StuckArrowCount,
1901 pub living_stinger_count: super::living::StingerCount,
1902 pub living_sleeping_position: super::living::SleepingPosition,
1903 pub entity: super::entity::Entity,
1904 pub entity_flags: super::entity::Flags,
1905 pub entity_air: super::entity::Air,
1906 pub entity_custom_name: super::entity::CustomName,
1907 pub entity_name_visible: super::entity::NameVisible,
1908 pub entity_silent: super::entity::Silent,
1909 pub entity_no_gravity: super::entity::NoGravity,
1910 pub entity_pose: super::entity::Pose,
1911 pub entity_frozen_ticks: super::entity::FrozenTicks,
1912 pub kind: super::EntityKind,
1913 pub id: super::EntityId,
1914 pub uuid: super::UniqueId,
1915 pub layer: super::EntityLayerId,
1916 pub old_layer: super::OldEntityLayerId,
1917 pub position: super::Position,
1918 pub old_position: super::OldPosition,
1919 pub look: super::Look,
1920 pub head_yaw: super::HeadYaw,
1921 pub on_ground: super::OnGround,
1922 pub velocity: super::Velocity,
1923 pub statuses: super::EntityStatuses,
1924 pub animations: super::EntityAnimations,
1925 pub object_data: super::ObjectData,
1926 pub tracked_data: super::tracked_data::TrackedData,
1927 }
1928 impl Default for CatEntityBundle {
1929 fn default() -> Self {
1930 Self {
1931 cat_entity: Default::default(),
1932 cat_cat_variant: Default::default(),
1933 cat_in_sleeping_pose: Default::default(),
1934 cat_head_down: Default::default(),
1935 cat_collar_color: Default::default(),
1936 tameable_entity: Default::default(),
1937 tameable_tameable_flags: Default::default(),
1938 tameable_owner_uuid: Default::default(),
1939 animal_entity: Default::default(),
1940 passive_entity: Default::default(),
1941 passive_child: Default::default(),
1942 path_aware_entity: Default::default(),
1943 mob_entity: Default::default(),
1944 mob_mob_flags: Default::default(),
1945 living_entity: Default::default(),
1946 living_absorption: Default::default(),
1947 living_attributes: super::attributes::EntityAttributes::new()
1948 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
1949 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
1950 .with_attribute_and_value(
1951 super::EntityAttribute::GenericKnockbackResistance,
1952 0f64,
1953 )
1954 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
1955 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 3f64)
1956 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
1957 .with_attribute_and_value(
1958 super::EntityAttribute::GenericMovementSpeed,
1959 0.30000001192092896f64,
1960 )
1961 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 10f64),
1962 living_attributes_tracker: Default::default(),
1963 living_active_status_effects: Default::default(),
1964 living_living_flags: Default::default(),
1965 living_health: Default::default(),
1966 living_potion_swirls_color: Default::default(),
1967 living_potion_swirls_ambient: Default::default(),
1968 living_stuck_arrow_count: Default::default(),
1969 living_stinger_count: Default::default(),
1970 living_sleeping_position: Default::default(),
1971 entity: Default::default(),
1972 entity_flags: Default::default(),
1973 entity_air: Default::default(),
1974 entity_custom_name: Default::default(),
1975 entity_name_visible: Default::default(),
1976 entity_silent: Default::default(),
1977 entity_no_gravity: Default::default(),
1978 entity_pose: Default::default(),
1979 entity_frozen_ticks: Default::default(),
1980 kind: super::EntityKind::CAT,
1981 id: Default::default(),
1982 uuid: Default::default(),
1983 layer: Default::default(),
1984 old_layer: Default::default(),
1985 position: Default::default(),
1986 old_position: Default::default(),
1987 look: Default::default(),
1988 head_yaw: Default::default(),
1989 on_ground: Default::default(),
1990 velocity: Default::default(),
1991 statuses: Default::default(),
1992 animations: Default::default(),
1993 object_data: Default::default(),
1994 tracked_data: Default::default(),
1995 }
1996 }
1997 }
1998 #[derive(
1999 bevy_ecs :: component :: Component,
2000 PartialEq,
2001 Clone,
2002 Debug,
2003 :: derive_more :: Deref,
2004 :: derive_more :: DerefMut,
2005 )]
2006 pub struct CatVariant(pub crate::CatKind);
2007 #[allow(clippy::derivable_impls)]
2008 impl Default for CatVariant {
2009 fn default() -> Self {
2010 Self(crate::CatKind::Black)
2011 }
2012 }
2013 #[derive(
2014 bevy_ecs :: component :: Component,
2015 PartialEq,
2016 Clone,
2017 Debug,
2018 :: derive_more :: Deref,
2019 :: derive_more :: DerefMut,
2020 )]
2021 pub struct InSleepingPose(pub bool);
2022 #[allow(clippy::derivable_impls)]
2023 impl Default for InSleepingPose {
2024 fn default() -> Self {
2025 Self(false)
2026 }
2027 }
2028 #[derive(
2029 bevy_ecs :: component :: Component,
2030 PartialEq,
2031 Clone,
2032 Debug,
2033 :: derive_more :: Deref,
2034 :: derive_more :: DerefMut,
2035 )]
2036 pub struct HeadDown(pub bool);
2037 #[allow(clippy::derivable_impls)]
2038 impl Default for HeadDown {
2039 fn default() -> Self {
2040 Self(false)
2041 }
2042 }
2043 #[derive(
2044 bevy_ecs :: component :: Component,
2045 PartialEq,
2046 Clone,
2047 Debug,
2048 :: derive_more :: Deref,
2049 :: derive_more :: DerefMut,
2050 )]
2051 pub struct CollarColor(pub i32);
2052 #[allow(clippy::derivable_impls)]
2053 impl Default for CollarColor {
2054 fn default() -> Self {
2055 Self(14i32)
2056 }
2057 }
2058 #[doc = "Marker component for `cat` entities."]
2059 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
2060 pub struct CatEntity;
2061}
2062#[allow(clippy::module_inception)]
2063pub mod cave_spider {
2064 #![doc = "Parent class: [`spider`][super::spider]."]
2065 #[doc = "The bundle of components for spawning `cave_spider` entities."]
2066 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
2067 pub struct CaveSpiderEntityBundle {
2068 pub cave_spider_entity: super::cave_spider::CaveSpiderEntity,
2069 pub spider_entity: super::spider::SpiderEntity,
2070 pub spider_spider_flags: super::spider::SpiderFlags,
2071 pub hostile_entity: super::hostile::HostileEntity,
2072 pub path_aware_entity: super::path_aware::PathAwareEntity,
2073 pub mob_entity: super::mob::MobEntity,
2074 pub mob_mob_flags: super::mob::MobFlags,
2075 pub living_entity: super::living::LivingEntity,
2076 pub living_absorption: super::living::Absorption,
2077 pub living_attributes: super::attributes::EntityAttributes,
2078 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
2079 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
2080 pub living_living_flags: super::living::LivingFlags,
2081 pub living_health: super::living::Health,
2082 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
2083 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
2084 pub living_stuck_arrow_count: super::living::StuckArrowCount,
2085 pub living_stinger_count: super::living::StingerCount,
2086 pub living_sleeping_position: super::living::SleepingPosition,
2087 pub entity: super::entity::Entity,
2088 pub entity_flags: super::entity::Flags,
2089 pub entity_air: super::entity::Air,
2090 pub entity_custom_name: super::entity::CustomName,
2091 pub entity_name_visible: super::entity::NameVisible,
2092 pub entity_silent: super::entity::Silent,
2093 pub entity_no_gravity: super::entity::NoGravity,
2094 pub entity_pose: super::entity::Pose,
2095 pub entity_frozen_ticks: super::entity::FrozenTicks,
2096 pub kind: super::EntityKind,
2097 pub id: super::EntityId,
2098 pub uuid: super::UniqueId,
2099 pub layer: super::EntityLayerId,
2100 pub old_layer: super::OldEntityLayerId,
2101 pub position: super::Position,
2102 pub old_position: super::OldPosition,
2103 pub look: super::Look,
2104 pub head_yaw: super::HeadYaw,
2105 pub on_ground: super::OnGround,
2106 pub velocity: super::Velocity,
2107 pub statuses: super::EntityStatuses,
2108 pub animations: super::EntityAnimations,
2109 pub object_data: super::ObjectData,
2110 pub tracked_data: super::tracked_data::TrackedData,
2111 }
2112 impl Default for CaveSpiderEntityBundle {
2113 fn default() -> Self {
2114 Self {
2115 cave_spider_entity: Default::default(),
2116 spider_entity: Default::default(),
2117 spider_spider_flags: Default::default(),
2118 hostile_entity: Default::default(),
2119 path_aware_entity: Default::default(),
2120 mob_entity: Default::default(),
2121 mob_mob_flags: Default::default(),
2122 living_entity: Default::default(),
2123 living_absorption: Default::default(),
2124 living_attributes: super::attributes::EntityAttributes::new()
2125 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
2126 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
2127 .with_attribute_and_value(
2128 super::EntityAttribute::GenericKnockbackResistance,
2129 0f64,
2130 )
2131 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
2132 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 2f64)
2133 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
2134 .with_attribute_and_value(
2135 super::EntityAttribute::GenericMovementSpeed,
2136 0.30000001192092896f64,
2137 )
2138 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 12f64),
2139 living_attributes_tracker: Default::default(),
2140 living_active_status_effects: Default::default(),
2141 living_living_flags: Default::default(),
2142 living_health: Default::default(),
2143 living_potion_swirls_color: Default::default(),
2144 living_potion_swirls_ambient: Default::default(),
2145 living_stuck_arrow_count: Default::default(),
2146 living_stinger_count: Default::default(),
2147 living_sleeping_position: Default::default(),
2148 entity: Default::default(),
2149 entity_flags: Default::default(),
2150 entity_air: Default::default(),
2151 entity_custom_name: Default::default(),
2152 entity_name_visible: Default::default(),
2153 entity_silent: Default::default(),
2154 entity_no_gravity: Default::default(),
2155 entity_pose: Default::default(),
2156 entity_frozen_ticks: Default::default(),
2157 kind: super::EntityKind::CAVE_SPIDER,
2158 id: Default::default(),
2159 uuid: Default::default(),
2160 layer: Default::default(),
2161 old_layer: Default::default(),
2162 position: Default::default(),
2163 old_position: Default::default(),
2164 look: Default::default(),
2165 head_yaw: Default::default(),
2166 on_ground: Default::default(),
2167 velocity: Default::default(),
2168 statuses: Default::default(),
2169 animations: Default::default(),
2170 object_data: Default::default(),
2171 tracked_data: Default::default(),
2172 }
2173 }
2174 }
2175 #[doc = "Marker component for `cave_spider` entities."]
2176 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
2177 pub struct CaveSpiderEntity;
2178}
2179#[allow(clippy::module_inception)]
2180pub mod chest_boat {
2181 #![doc = "Parent class: [`boat`][super::boat]."]
2182 #[doc = "The bundle of components for spawning `chest_boat` entities."]
2183 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
2184 pub struct ChestBoatEntityBundle {
2185 pub chest_boat_entity: super::chest_boat::ChestBoatEntity,
2186 pub boat_entity: super::boat::BoatEntity,
2187 pub boat_damage_wobble_ticks: super::boat::DamageWobbleTicks,
2188 pub boat_damage_wobble_side: super::boat::DamageWobbleSide,
2189 pub boat_damage_wobble_strength: super::boat::DamageWobbleStrength,
2190 pub boat_boat_type: super::boat::BoatType,
2191 pub boat_left_paddle_moving: super::boat::LeftPaddleMoving,
2192 pub boat_right_paddle_moving: super::boat::RightPaddleMoving,
2193 pub boat_bubble_wobble_ticks: super::boat::BubbleWobbleTicks,
2194 pub entity: super::entity::Entity,
2195 pub entity_flags: super::entity::Flags,
2196 pub entity_air: super::entity::Air,
2197 pub entity_custom_name: super::entity::CustomName,
2198 pub entity_name_visible: super::entity::NameVisible,
2199 pub entity_silent: super::entity::Silent,
2200 pub entity_no_gravity: super::entity::NoGravity,
2201 pub entity_pose: super::entity::Pose,
2202 pub entity_frozen_ticks: super::entity::FrozenTicks,
2203 pub kind: super::EntityKind,
2204 pub id: super::EntityId,
2205 pub uuid: super::UniqueId,
2206 pub layer: super::EntityLayerId,
2207 pub old_layer: super::OldEntityLayerId,
2208 pub position: super::Position,
2209 pub old_position: super::OldPosition,
2210 pub look: super::Look,
2211 pub head_yaw: super::HeadYaw,
2212 pub on_ground: super::OnGround,
2213 pub velocity: super::Velocity,
2214 pub statuses: super::EntityStatuses,
2215 pub animations: super::EntityAnimations,
2216 pub object_data: super::ObjectData,
2217 pub tracked_data: super::tracked_data::TrackedData,
2218 }
2219 impl Default for ChestBoatEntityBundle {
2220 fn default() -> Self {
2221 Self {
2222 chest_boat_entity: Default::default(),
2223 boat_entity: Default::default(),
2224 boat_damage_wobble_ticks: Default::default(),
2225 boat_damage_wobble_side: Default::default(),
2226 boat_damage_wobble_strength: Default::default(),
2227 boat_boat_type: Default::default(),
2228 boat_left_paddle_moving: Default::default(),
2229 boat_right_paddle_moving: Default::default(),
2230 boat_bubble_wobble_ticks: Default::default(),
2231 entity: Default::default(),
2232 entity_flags: Default::default(),
2233 entity_air: Default::default(),
2234 entity_custom_name: Default::default(),
2235 entity_name_visible: Default::default(),
2236 entity_silent: Default::default(),
2237 entity_no_gravity: Default::default(),
2238 entity_pose: Default::default(),
2239 entity_frozen_ticks: Default::default(),
2240 kind: super::EntityKind::CHEST_BOAT,
2241 id: Default::default(),
2242 uuid: Default::default(),
2243 layer: Default::default(),
2244 old_layer: Default::default(),
2245 position: Default::default(),
2246 old_position: Default::default(),
2247 look: Default::default(),
2248 head_yaw: Default::default(),
2249 on_ground: Default::default(),
2250 velocity: Default::default(),
2251 statuses: Default::default(),
2252 animations: Default::default(),
2253 object_data: Default::default(),
2254 tracked_data: Default::default(),
2255 }
2256 }
2257 }
2258 #[doc = "Marker component for `chest_boat` entities."]
2259 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
2260 pub struct ChestBoatEntity;
2261}
2262#[allow(clippy::module_inception)]
2263pub mod chest_minecart {
2264 #![doc = "Parent class: [`storage_minecart`][super::storage_minecart]."]
2265 #[doc = "The bundle of components for spawning `chest_minecart` entities."]
2266 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
2267 pub struct ChestMinecartEntityBundle {
2268 pub chest_minecart_entity: super::chest_minecart::ChestMinecartEntity,
2269 pub storage_minecart_entity: super::storage_minecart::StorageMinecartEntity,
2270 pub abstract_minecart_entity: super::abstract_minecart::AbstractMinecartEntity,
2271 pub abstract_minecart_damage_wobble_ticks: super::abstract_minecart::DamageWobbleTicks,
2272 pub abstract_minecart_damage_wobble_side: super::abstract_minecart::DamageWobbleSide,
2273 pub abstract_minecart_damage_wobble_strength:
2274 super::abstract_minecart::DamageWobbleStrength,
2275 pub abstract_minecart_custom_block_id: super::abstract_minecart::CustomBlockId,
2276 pub abstract_minecart_custom_block_offset: super::abstract_minecart::CustomBlockOffset,
2277 pub abstract_minecart_custom_block_present: super::abstract_minecart::CustomBlockPresent,
2278 pub entity: super::entity::Entity,
2279 pub entity_flags: super::entity::Flags,
2280 pub entity_air: super::entity::Air,
2281 pub entity_custom_name: super::entity::CustomName,
2282 pub entity_name_visible: super::entity::NameVisible,
2283 pub entity_silent: super::entity::Silent,
2284 pub entity_no_gravity: super::entity::NoGravity,
2285 pub entity_pose: super::entity::Pose,
2286 pub entity_frozen_ticks: super::entity::FrozenTicks,
2287 pub kind: super::EntityKind,
2288 pub id: super::EntityId,
2289 pub uuid: super::UniqueId,
2290 pub layer: super::EntityLayerId,
2291 pub old_layer: super::OldEntityLayerId,
2292 pub position: super::Position,
2293 pub old_position: super::OldPosition,
2294 pub look: super::Look,
2295 pub head_yaw: super::HeadYaw,
2296 pub on_ground: super::OnGround,
2297 pub velocity: super::Velocity,
2298 pub statuses: super::EntityStatuses,
2299 pub animations: super::EntityAnimations,
2300 pub object_data: super::ObjectData,
2301 pub tracked_data: super::tracked_data::TrackedData,
2302 }
2303 impl Default for ChestMinecartEntityBundle {
2304 fn default() -> Self {
2305 Self {
2306 chest_minecart_entity: Default::default(),
2307 storage_minecart_entity: Default::default(),
2308 abstract_minecart_entity: Default::default(),
2309 abstract_minecart_damage_wobble_ticks: Default::default(),
2310 abstract_minecart_damage_wobble_side: Default::default(),
2311 abstract_minecart_damage_wobble_strength: Default::default(),
2312 abstract_minecart_custom_block_id: Default::default(),
2313 abstract_minecart_custom_block_offset: Default::default(),
2314 abstract_minecart_custom_block_present: Default::default(),
2315 entity: Default::default(),
2316 entity_flags: Default::default(),
2317 entity_air: Default::default(),
2318 entity_custom_name: Default::default(),
2319 entity_name_visible: Default::default(),
2320 entity_silent: Default::default(),
2321 entity_no_gravity: Default::default(),
2322 entity_pose: Default::default(),
2323 entity_frozen_ticks: Default::default(),
2324 kind: super::EntityKind::CHEST_MINECART,
2325 id: Default::default(),
2326 uuid: Default::default(),
2327 layer: Default::default(),
2328 old_layer: Default::default(),
2329 position: Default::default(),
2330 old_position: Default::default(),
2331 look: Default::default(),
2332 head_yaw: Default::default(),
2333 on_ground: Default::default(),
2334 velocity: Default::default(),
2335 statuses: Default::default(),
2336 animations: Default::default(),
2337 object_data: Default::default(),
2338 tracked_data: Default::default(),
2339 }
2340 }
2341 }
2342 #[doc = "Marker component for `chest_minecart` entities."]
2343 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
2344 pub struct ChestMinecartEntity;
2345}
2346#[allow(clippy::module_inception)]
2347pub mod chicken {
2348 #![doc = "Parent class: [`animal`][super::animal]."]
2349 #[doc = "The bundle of components for spawning `chicken` entities."]
2350 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
2351 pub struct ChickenEntityBundle {
2352 pub chicken_entity: super::chicken::ChickenEntity,
2353 pub animal_entity: super::animal::AnimalEntity,
2354 pub passive_entity: super::passive::PassiveEntity,
2355 pub passive_child: super::passive::Child,
2356 pub path_aware_entity: super::path_aware::PathAwareEntity,
2357 pub mob_entity: super::mob::MobEntity,
2358 pub mob_mob_flags: super::mob::MobFlags,
2359 pub living_entity: super::living::LivingEntity,
2360 pub living_absorption: super::living::Absorption,
2361 pub living_attributes: super::attributes::EntityAttributes,
2362 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
2363 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
2364 pub living_living_flags: super::living::LivingFlags,
2365 pub living_health: super::living::Health,
2366 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
2367 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
2368 pub living_stuck_arrow_count: super::living::StuckArrowCount,
2369 pub living_stinger_count: super::living::StingerCount,
2370 pub living_sleeping_position: super::living::SleepingPosition,
2371 pub entity: super::entity::Entity,
2372 pub entity_flags: super::entity::Flags,
2373 pub entity_air: super::entity::Air,
2374 pub entity_custom_name: super::entity::CustomName,
2375 pub entity_name_visible: super::entity::NameVisible,
2376 pub entity_silent: super::entity::Silent,
2377 pub entity_no_gravity: super::entity::NoGravity,
2378 pub entity_pose: super::entity::Pose,
2379 pub entity_frozen_ticks: super::entity::FrozenTicks,
2380 pub kind: super::EntityKind,
2381 pub id: super::EntityId,
2382 pub uuid: super::UniqueId,
2383 pub layer: super::EntityLayerId,
2384 pub old_layer: super::OldEntityLayerId,
2385 pub position: super::Position,
2386 pub old_position: super::OldPosition,
2387 pub look: super::Look,
2388 pub head_yaw: super::HeadYaw,
2389 pub on_ground: super::OnGround,
2390 pub velocity: super::Velocity,
2391 pub statuses: super::EntityStatuses,
2392 pub animations: super::EntityAnimations,
2393 pub object_data: super::ObjectData,
2394 pub tracked_data: super::tracked_data::TrackedData,
2395 }
2396 impl Default for ChickenEntityBundle {
2397 fn default() -> Self {
2398 Self {
2399 chicken_entity: Default::default(),
2400 animal_entity: Default::default(),
2401 passive_entity: Default::default(),
2402 passive_child: Default::default(),
2403 path_aware_entity: Default::default(),
2404 mob_entity: Default::default(),
2405 mob_mob_flags: Default::default(),
2406 living_entity: Default::default(),
2407 living_absorption: Default::default(),
2408 living_attributes: super::attributes::EntityAttributes::new()
2409 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
2410 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
2411 .with_attribute_and_value(
2412 super::EntityAttribute::GenericKnockbackResistance,
2413 0f64,
2414 )
2415 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
2416 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
2417 .with_attribute_and_value(super::EntityAttribute::GenericMovementSpeed, 0.25f64)
2418 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 4f64),
2419 living_attributes_tracker: Default::default(),
2420 living_active_status_effects: Default::default(),
2421 living_living_flags: Default::default(),
2422 living_health: Default::default(),
2423 living_potion_swirls_color: Default::default(),
2424 living_potion_swirls_ambient: Default::default(),
2425 living_stuck_arrow_count: Default::default(),
2426 living_stinger_count: Default::default(),
2427 living_sleeping_position: Default::default(),
2428 entity: Default::default(),
2429 entity_flags: Default::default(),
2430 entity_air: Default::default(),
2431 entity_custom_name: Default::default(),
2432 entity_name_visible: Default::default(),
2433 entity_silent: Default::default(),
2434 entity_no_gravity: Default::default(),
2435 entity_pose: Default::default(),
2436 entity_frozen_ticks: Default::default(),
2437 kind: super::EntityKind::CHICKEN,
2438 id: Default::default(),
2439 uuid: Default::default(),
2440 layer: Default::default(),
2441 old_layer: Default::default(),
2442 position: Default::default(),
2443 old_position: Default::default(),
2444 look: Default::default(),
2445 head_yaw: Default::default(),
2446 on_ground: Default::default(),
2447 velocity: Default::default(),
2448 statuses: Default::default(),
2449 animations: Default::default(),
2450 object_data: Default::default(),
2451 tracked_data: Default::default(),
2452 }
2453 }
2454 }
2455 #[doc = "Marker component for `chicken` entities."]
2456 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
2457 pub struct ChickenEntity;
2458}
2459#[allow(clippy::module_inception)]
2460pub mod cod {
2461 #![doc = "Parent class: [`schooling_fish`][super::schooling_fish]."]
2462 #[doc = "The bundle of components for spawning `cod` entities."]
2463 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
2464 pub struct CodEntityBundle {
2465 pub cod_entity: super::cod::CodEntity,
2466 pub schooling_fish_entity: super::schooling_fish::SchoolingFishEntity,
2467 pub fish_entity: super::fish::FishEntity,
2468 pub fish_from_bucket: super::fish::FromBucket,
2469 pub water_creature_entity: super::water_creature::WaterCreatureEntity,
2470 pub path_aware_entity: super::path_aware::PathAwareEntity,
2471 pub mob_entity: super::mob::MobEntity,
2472 pub mob_mob_flags: super::mob::MobFlags,
2473 pub living_entity: super::living::LivingEntity,
2474 pub living_absorption: super::living::Absorption,
2475 pub living_attributes: super::attributes::EntityAttributes,
2476 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
2477 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
2478 pub living_living_flags: super::living::LivingFlags,
2479 pub living_health: super::living::Health,
2480 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
2481 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
2482 pub living_stuck_arrow_count: super::living::StuckArrowCount,
2483 pub living_stinger_count: super::living::StingerCount,
2484 pub living_sleeping_position: super::living::SleepingPosition,
2485 pub entity: super::entity::Entity,
2486 pub entity_flags: super::entity::Flags,
2487 pub entity_air: super::entity::Air,
2488 pub entity_custom_name: super::entity::CustomName,
2489 pub entity_name_visible: super::entity::NameVisible,
2490 pub entity_silent: super::entity::Silent,
2491 pub entity_no_gravity: super::entity::NoGravity,
2492 pub entity_pose: super::entity::Pose,
2493 pub entity_frozen_ticks: super::entity::FrozenTicks,
2494 pub kind: super::EntityKind,
2495 pub id: super::EntityId,
2496 pub uuid: super::UniqueId,
2497 pub layer: super::EntityLayerId,
2498 pub old_layer: super::OldEntityLayerId,
2499 pub position: super::Position,
2500 pub old_position: super::OldPosition,
2501 pub look: super::Look,
2502 pub head_yaw: super::HeadYaw,
2503 pub on_ground: super::OnGround,
2504 pub velocity: super::Velocity,
2505 pub statuses: super::EntityStatuses,
2506 pub animations: super::EntityAnimations,
2507 pub object_data: super::ObjectData,
2508 pub tracked_data: super::tracked_data::TrackedData,
2509 }
2510 impl Default for CodEntityBundle {
2511 fn default() -> Self {
2512 Self {
2513 cod_entity: Default::default(),
2514 schooling_fish_entity: Default::default(),
2515 fish_entity: Default::default(),
2516 fish_from_bucket: Default::default(),
2517 water_creature_entity: Default::default(),
2518 path_aware_entity: Default::default(),
2519 mob_entity: Default::default(),
2520 mob_mob_flags: Default::default(),
2521 living_entity: Default::default(),
2522 living_absorption: Default::default(),
2523 living_attributes: super::attributes::EntityAttributes::new()
2524 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
2525 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
2526 .with_attribute_and_value(
2527 super::EntityAttribute::GenericKnockbackResistance,
2528 0f64,
2529 )
2530 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
2531 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
2532 .with_attribute_and_value(
2533 super::EntityAttribute::GenericMovementSpeed,
2534 0.699999988079071f64,
2535 )
2536 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 3f64),
2537 living_attributes_tracker: Default::default(),
2538 living_active_status_effects: Default::default(),
2539 living_living_flags: Default::default(),
2540 living_health: Default::default(),
2541 living_potion_swirls_color: Default::default(),
2542 living_potion_swirls_ambient: Default::default(),
2543 living_stuck_arrow_count: Default::default(),
2544 living_stinger_count: Default::default(),
2545 living_sleeping_position: Default::default(),
2546 entity: Default::default(),
2547 entity_flags: Default::default(),
2548 entity_air: Default::default(),
2549 entity_custom_name: Default::default(),
2550 entity_name_visible: Default::default(),
2551 entity_silent: Default::default(),
2552 entity_no_gravity: Default::default(),
2553 entity_pose: Default::default(),
2554 entity_frozen_ticks: Default::default(),
2555 kind: super::EntityKind::COD,
2556 id: Default::default(),
2557 uuid: Default::default(),
2558 layer: Default::default(),
2559 old_layer: Default::default(),
2560 position: Default::default(),
2561 old_position: Default::default(),
2562 look: Default::default(),
2563 head_yaw: Default::default(),
2564 on_ground: Default::default(),
2565 velocity: Default::default(),
2566 statuses: Default::default(),
2567 animations: Default::default(),
2568 object_data: Default::default(),
2569 tracked_data: Default::default(),
2570 }
2571 }
2572 }
2573 #[doc = "Marker component for `cod` entities."]
2574 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
2575 pub struct CodEntity;
2576}
2577#[allow(clippy::module_inception)]
2578pub mod command_block_minecart {
2579 #![doc = "Parent class: [`abstract_minecart`][super::abstract_minecart]."]
2580 #[doc = "The bundle of components for spawning `command_block_minecart` entities."]
2581 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
2582 pub struct CommandBlockMinecartEntityBundle {
2583 pub command_block_minecart_entity:
2584 super::command_block_minecart::CommandBlockMinecartEntity,
2585 pub command_block_minecart_command: super::command_block_minecart::Command,
2586 pub command_block_minecart_last_output: super::command_block_minecart::LastOutput,
2587 pub abstract_minecart_entity: super::abstract_minecart::AbstractMinecartEntity,
2588 pub abstract_minecart_damage_wobble_ticks: super::abstract_minecart::DamageWobbleTicks,
2589 pub abstract_minecart_damage_wobble_side: super::abstract_minecart::DamageWobbleSide,
2590 pub abstract_minecart_damage_wobble_strength:
2591 super::abstract_minecart::DamageWobbleStrength,
2592 pub abstract_minecart_custom_block_id: super::abstract_minecart::CustomBlockId,
2593 pub abstract_minecart_custom_block_offset: super::abstract_minecart::CustomBlockOffset,
2594 pub abstract_minecart_custom_block_present: super::abstract_minecart::CustomBlockPresent,
2595 pub entity: super::entity::Entity,
2596 pub entity_flags: super::entity::Flags,
2597 pub entity_air: super::entity::Air,
2598 pub entity_custom_name: super::entity::CustomName,
2599 pub entity_name_visible: super::entity::NameVisible,
2600 pub entity_silent: super::entity::Silent,
2601 pub entity_no_gravity: super::entity::NoGravity,
2602 pub entity_pose: super::entity::Pose,
2603 pub entity_frozen_ticks: super::entity::FrozenTicks,
2604 pub kind: super::EntityKind,
2605 pub id: super::EntityId,
2606 pub uuid: super::UniqueId,
2607 pub layer: super::EntityLayerId,
2608 pub old_layer: super::OldEntityLayerId,
2609 pub position: super::Position,
2610 pub old_position: super::OldPosition,
2611 pub look: super::Look,
2612 pub head_yaw: super::HeadYaw,
2613 pub on_ground: super::OnGround,
2614 pub velocity: super::Velocity,
2615 pub statuses: super::EntityStatuses,
2616 pub animations: super::EntityAnimations,
2617 pub object_data: super::ObjectData,
2618 pub tracked_data: super::tracked_data::TrackedData,
2619 }
2620 impl Default for CommandBlockMinecartEntityBundle {
2621 fn default() -> Self {
2622 Self {
2623 command_block_minecart_entity: Default::default(),
2624 command_block_minecart_command: Default::default(),
2625 command_block_minecart_last_output: Default::default(),
2626 abstract_minecart_entity: Default::default(),
2627 abstract_minecart_damage_wobble_ticks: Default::default(),
2628 abstract_minecart_damage_wobble_side: Default::default(),
2629 abstract_minecart_damage_wobble_strength: Default::default(),
2630 abstract_minecart_custom_block_id: Default::default(),
2631 abstract_minecart_custom_block_offset: Default::default(),
2632 abstract_minecart_custom_block_present: Default::default(),
2633 entity: Default::default(),
2634 entity_flags: Default::default(),
2635 entity_air: Default::default(),
2636 entity_custom_name: Default::default(),
2637 entity_name_visible: Default::default(),
2638 entity_silent: Default::default(),
2639 entity_no_gravity: Default::default(),
2640 entity_pose: Default::default(),
2641 entity_frozen_ticks: Default::default(),
2642 kind: super::EntityKind::COMMAND_BLOCK_MINECART,
2643 id: Default::default(),
2644 uuid: Default::default(),
2645 layer: Default::default(),
2646 old_layer: Default::default(),
2647 position: Default::default(),
2648 old_position: Default::default(),
2649 look: Default::default(),
2650 head_yaw: Default::default(),
2651 on_ground: Default::default(),
2652 velocity: Default::default(),
2653 statuses: Default::default(),
2654 animations: Default::default(),
2655 object_data: Default::default(),
2656 tracked_data: Default::default(),
2657 }
2658 }
2659 }
2660 #[derive(
2661 bevy_ecs :: component :: Component,
2662 PartialEq,
2663 Clone,
2664 Debug,
2665 :: derive_more :: Deref,
2666 :: derive_more :: DerefMut,
2667 )]
2668 pub struct Command(pub String);
2669 #[allow(clippy::derivable_impls)]
2670 impl Default for Command {
2671 fn default() -> Self {
2672 Self("".to_owned())
2673 }
2674 }
2675 #[derive(
2676 bevy_ecs :: component :: Component,
2677 PartialEq,
2678 Clone,
2679 Debug,
2680 :: derive_more :: Deref,
2681 :: derive_more :: DerefMut,
2682 )]
2683 pub struct LastOutput(pub valence_protocol::Text);
2684 #[allow(clippy::derivable_impls)]
2685 impl Default for LastOutput {
2686 fn default() -> Self {
2687 Self(valence_protocol::Text::default())
2688 }
2689 }
2690 #[doc = "Marker component for `command_block_minecart` entities."]
2691 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
2692 pub struct CommandBlockMinecartEntity;
2693}
2694#[allow(clippy::module_inception)]
2695pub mod cow {
2696 #![doc = "Parent class: [`animal`][super::animal]."]
2697 #[doc = "The bundle of components for spawning `cow` entities."]
2698 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
2699 pub struct CowEntityBundle {
2700 pub cow_entity: super::cow::CowEntity,
2701 pub animal_entity: super::animal::AnimalEntity,
2702 pub passive_entity: super::passive::PassiveEntity,
2703 pub passive_child: super::passive::Child,
2704 pub path_aware_entity: super::path_aware::PathAwareEntity,
2705 pub mob_entity: super::mob::MobEntity,
2706 pub mob_mob_flags: super::mob::MobFlags,
2707 pub living_entity: super::living::LivingEntity,
2708 pub living_absorption: super::living::Absorption,
2709 pub living_attributes: super::attributes::EntityAttributes,
2710 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
2711 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
2712 pub living_living_flags: super::living::LivingFlags,
2713 pub living_health: super::living::Health,
2714 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
2715 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
2716 pub living_stuck_arrow_count: super::living::StuckArrowCount,
2717 pub living_stinger_count: super::living::StingerCount,
2718 pub living_sleeping_position: super::living::SleepingPosition,
2719 pub entity: super::entity::Entity,
2720 pub entity_flags: super::entity::Flags,
2721 pub entity_air: super::entity::Air,
2722 pub entity_custom_name: super::entity::CustomName,
2723 pub entity_name_visible: super::entity::NameVisible,
2724 pub entity_silent: super::entity::Silent,
2725 pub entity_no_gravity: super::entity::NoGravity,
2726 pub entity_pose: super::entity::Pose,
2727 pub entity_frozen_ticks: super::entity::FrozenTicks,
2728 pub kind: super::EntityKind,
2729 pub id: super::EntityId,
2730 pub uuid: super::UniqueId,
2731 pub layer: super::EntityLayerId,
2732 pub old_layer: super::OldEntityLayerId,
2733 pub position: super::Position,
2734 pub old_position: super::OldPosition,
2735 pub look: super::Look,
2736 pub head_yaw: super::HeadYaw,
2737 pub on_ground: super::OnGround,
2738 pub velocity: super::Velocity,
2739 pub statuses: super::EntityStatuses,
2740 pub animations: super::EntityAnimations,
2741 pub object_data: super::ObjectData,
2742 pub tracked_data: super::tracked_data::TrackedData,
2743 }
2744 impl Default for CowEntityBundle {
2745 fn default() -> Self {
2746 Self {
2747 cow_entity: Default::default(),
2748 animal_entity: Default::default(),
2749 passive_entity: Default::default(),
2750 passive_child: Default::default(),
2751 path_aware_entity: Default::default(),
2752 mob_entity: Default::default(),
2753 mob_mob_flags: Default::default(),
2754 living_entity: Default::default(),
2755 living_absorption: Default::default(),
2756 living_attributes: super::attributes::EntityAttributes::new()
2757 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
2758 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
2759 .with_attribute_and_value(
2760 super::EntityAttribute::GenericKnockbackResistance,
2761 0f64,
2762 )
2763 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
2764 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
2765 .with_attribute_and_value(
2766 super::EntityAttribute::GenericMovementSpeed,
2767 0.20000000298023224f64,
2768 )
2769 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 10f64),
2770 living_attributes_tracker: Default::default(),
2771 living_active_status_effects: Default::default(),
2772 living_living_flags: Default::default(),
2773 living_health: Default::default(),
2774 living_potion_swirls_color: Default::default(),
2775 living_potion_swirls_ambient: Default::default(),
2776 living_stuck_arrow_count: Default::default(),
2777 living_stinger_count: Default::default(),
2778 living_sleeping_position: Default::default(),
2779 entity: Default::default(),
2780 entity_flags: Default::default(),
2781 entity_air: Default::default(),
2782 entity_custom_name: Default::default(),
2783 entity_name_visible: Default::default(),
2784 entity_silent: Default::default(),
2785 entity_no_gravity: Default::default(),
2786 entity_pose: Default::default(),
2787 entity_frozen_ticks: Default::default(),
2788 kind: super::EntityKind::COW,
2789 id: Default::default(),
2790 uuid: Default::default(),
2791 layer: Default::default(),
2792 old_layer: Default::default(),
2793 position: Default::default(),
2794 old_position: Default::default(),
2795 look: Default::default(),
2796 head_yaw: Default::default(),
2797 on_ground: Default::default(),
2798 velocity: Default::default(),
2799 statuses: Default::default(),
2800 animations: Default::default(),
2801 object_data: Default::default(),
2802 tracked_data: Default::default(),
2803 }
2804 }
2805 }
2806 #[doc = "Marker component for `cow` entities."]
2807 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
2808 pub struct CowEntity;
2809}
2810#[allow(clippy::module_inception)]
2811pub mod creeper {
2812 #![doc = "Parent class: [`hostile`][super::hostile]."]
2813 #[doc = "The bundle of components for spawning `creeper` entities."]
2814 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
2815 pub struct CreeperEntityBundle {
2816 pub creeper_entity: super::creeper::CreeperEntity,
2817 pub creeper_fuse_speed: super::creeper::FuseSpeed,
2818 pub creeper_charged: super::creeper::Charged,
2819 pub creeper_ignited: super::creeper::Ignited,
2820 pub hostile_entity: super::hostile::HostileEntity,
2821 pub path_aware_entity: super::path_aware::PathAwareEntity,
2822 pub mob_entity: super::mob::MobEntity,
2823 pub mob_mob_flags: super::mob::MobFlags,
2824 pub living_entity: super::living::LivingEntity,
2825 pub living_absorption: super::living::Absorption,
2826 pub living_attributes: super::attributes::EntityAttributes,
2827 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
2828 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
2829 pub living_living_flags: super::living::LivingFlags,
2830 pub living_health: super::living::Health,
2831 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
2832 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
2833 pub living_stuck_arrow_count: super::living::StuckArrowCount,
2834 pub living_stinger_count: super::living::StingerCount,
2835 pub living_sleeping_position: super::living::SleepingPosition,
2836 pub entity: super::entity::Entity,
2837 pub entity_flags: super::entity::Flags,
2838 pub entity_air: super::entity::Air,
2839 pub entity_custom_name: super::entity::CustomName,
2840 pub entity_name_visible: super::entity::NameVisible,
2841 pub entity_silent: super::entity::Silent,
2842 pub entity_no_gravity: super::entity::NoGravity,
2843 pub entity_pose: super::entity::Pose,
2844 pub entity_frozen_ticks: super::entity::FrozenTicks,
2845 pub kind: super::EntityKind,
2846 pub id: super::EntityId,
2847 pub uuid: super::UniqueId,
2848 pub layer: super::EntityLayerId,
2849 pub old_layer: super::OldEntityLayerId,
2850 pub position: super::Position,
2851 pub old_position: super::OldPosition,
2852 pub look: super::Look,
2853 pub head_yaw: super::HeadYaw,
2854 pub on_ground: super::OnGround,
2855 pub velocity: super::Velocity,
2856 pub statuses: super::EntityStatuses,
2857 pub animations: super::EntityAnimations,
2858 pub object_data: super::ObjectData,
2859 pub tracked_data: super::tracked_data::TrackedData,
2860 }
2861 impl Default for CreeperEntityBundle {
2862 fn default() -> Self {
2863 Self {
2864 creeper_entity: Default::default(),
2865 creeper_fuse_speed: Default::default(),
2866 creeper_charged: Default::default(),
2867 creeper_ignited: Default::default(),
2868 hostile_entity: Default::default(),
2869 path_aware_entity: Default::default(),
2870 mob_entity: Default::default(),
2871 mob_mob_flags: Default::default(),
2872 living_entity: Default::default(),
2873 living_absorption: Default::default(),
2874 living_attributes: super::attributes::EntityAttributes::new()
2875 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
2876 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
2877 .with_attribute_and_value(
2878 super::EntityAttribute::GenericKnockbackResistance,
2879 0f64,
2880 )
2881 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
2882 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 2f64)
2883 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
2884 .with_attribute_and_value(super::EntityAttribute::GenericMovementSpeed, 0.25f64)
2885 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 20f64),
2886 living_attributes_tracker: Default::default(),
2887 living_active_status_effects: Default::default(),
2888 living_living_flags: Default::default(),
2889 living_health: Default::default(),
2890 living_potion_swirls_color: Default::default(),
2891 living_potion_swirls_ambient: Default::default(),
2892 living_stuck_arrow_count: Default::default(),
2893 living_stinger_count: Default::default(),
2894 living_sleeping_position: Default::default(),
2895 entity: Default::default(),
2896 entity_flags: Default::default(),
2897 entity_air: Default::default(),
2898 entity_custom_name: Default::default(),
2899 entity_name_visible: Default::default(),
2900 entity_silent: Default::default(),
2901 entity_no_gravity: Default::default(),
2902 entity_pose: Default::default(),
2903 entity_frozen_ticks: Default::default(),
2904 kind: super::EntityKind::CREEPER,
2905 id: Default::default(),
2906 uuid: Default::default(),
2907 layer: Default::default(),
2908 old_layer: Default::default(),
2909 position: Default::default(),
2910 old_position: Default::default(),
2911 look: Default::default(),
2912 head_yaw: Default::default(),
2913 on_ground: Default::default(),
2914 velocity: Default::default(),
2915 statuses: Default::default(),
2916 animations: Default::default(),
2917 object_data: Default::default(),
2918 tracked_data: Default::default(),
2919 }
2920 }
2921 }
2922 #[derive(
2923 bevy_ecs :: component :: Component,
2924 PartialEq,
2925 Clone,
2926 Debug,
2927 :: derive_more :: Deref,
2928 :: derive_more :: DerefMut,
2929 )]
2930 pub struct FuseSpeed(pub i32);
2931 #[allow(clippy::derivable_impls)]
2932 impl Default for FuseSpeed {
2933 fn default() -> Self {
2934 Self(-1i32)
2935 }
2936 }
2937 #[derive(
2938 bevy_ecs :: component :: Component,
2939 PartialEq,
2940 Clone,
2941 Debug,
2942 :: derive_more :: Deref,
2943 :: derive_more :: DerefMut,
2944 )]
2945 pub struct Charged(pub bool);
2946 #[allow(clippy::derivable_impls)]
2947 impl Default for Charged {
2948 fn default() -> Self {
2949 Self(false)
2950 }
2951 }
2952 #[derive(
2953 bevy_ecs :: component :: Component,
2954 PartialEq,
2955 Clone,
2956 Debug,
2957 :: derive_more :: Deref,
2958 :: derive_more :: DerefMut,
2959 )]
2960 pub struct Ignited(pub bool);
2961 #[allow(clippy::derivable_impls)]
2962 impl Default for Ignited {
2963 fn default() -> Self {
2964 Self(false)
2965 }
2966 }
2967 #[doc = "Marker component for `creeper` entities."]
2968 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
2969 pub struct CreeperEntity;
2970}
2971#[allow(clippy::module_inception)]
2972pub mod display {
2973 #![doc = "Parent class: [`entity`][super::entity]."]
2974 #[derive(
2975 bevy_ecs :: component :: Component,
2976 PartialEq,
2977 Clone,
2978 Debug,
2979 :: derive_more :: Deref,
2980 :: derive_more :: DerefMut,
2981 )]
2982 pub struct StartInterpolation(pub i32);
2983 #[allow(clippy::derivable_impls)]
2984 impl Default for StartInterpolation {
2985 fn default() -> Self {
2986 Self(0i32)
2987 }
2988 }
2989 #[derive(
2990 bevy_ecs :: component :: Component,
2991 PartialEq,
2992 Clone,
2993 Debug,
2994 :: derive_more :: Deref,
2995 :: derive_more :: DerefMut,
2996 )]
2997 pub struct InterpolationDuration(pub i32);
2998 #[allow(clippy::derivable_impls)]
2999 impl Default for InterpolationDuration {
3000 fn default() -> Self {
3001 Self(0i32)
3002 }
3003 }
3004 #[derive(
3005 bevy_ecs :: component :: Component,
3006 PartialEq,
3007 Clone,
3008 Debug,
3009 :: derive_more :: Deref,
3010 :: derive_more :: DerefMut,
3011 )]
3012 pub struct Translation(pub valence_math::Vec3);
3013 #[allow(clippy::derivable_impls)]
3014 impl Default for Translation {
3015 fn default() -> Self {
3016 Self(valence_math::Vec3::new(0f32, 0f32, 0f32))
3017 }
3018 }
3019 #[derive(
3020 bevy_ecs :: component :: Component,
3021 PartialEq,
3022 Clone,
3023 Debug,
3024 :: derive_more :: Deref,
3025 :: derive_more :: DerefMut,
3026 )]
3027 pub struct Scale(pub valence_math::Vec3);
3028 #[allow(clippy::derivable_impls)]
3029 impl Default for Scale {
3030 fn default() -> Self {
3031 Self(valence_math::Vec3::new(1f32, 1f32, 1f32))
3032 }
3033 }
3034 #[derive(
3035 bevy_ecs :: component :: Component,
3036 PartialEq,
3037 Clone,
3038 Debug,
3039 :: derive_more :: Deref,
3040 :: derive_more :: DerefMut,
3041 )]
3042 pub struct LeftRotation(pub valence_math::Quat);
3043 #[allow(clippy::derivable_impls)]
3044 impl Default for LeftRotation {
3045 fn default() -> Self {
3046 Self(valence_math::Quat::from_xyzw(0f32, 0f32, 0f32, 1f32))
3047 }
3048 }
3049 #[derive(
3050 bevy_ecs :: component :: Component,
3051 PartialEq,
3052 Clone,
3053 Debug,
3054 :: derive_more :: Deref,
3055 :: derive_more :: DerefMut,
3056 )]
3057 pub struct RightRotation(pub valence_math::Quat);
3058 #[allow(clippy::derivable_impls)]
3059 impl Default for RightRotation {
3060 fn default() -> Self {
3061 Self(valence_math::Quat::from_xyzw(0f32, 0f32, 0f32, 1f32))
3062 }
3063 }
3064 #[derive(
3065 bevy_ecs :: component :: Component,
3066 PartialEq,
3067 Clone,
3068 Debug,
3069 :: derive_more :: Deref,
3070 :: derive_more :: DerefMut,
3071 )]
3072 pub struct Billboard(pub i8);
3073 #[allow(clippy::derivable_impls)]
3074 impl Default for Billboard {
3075 fn default() -> Self {
3076 Self(0i8)
3077 }
3078 }
3079 #[derive(
3080 bevy_ecs :: component :: Component,
3081 PartialEq,
3082 Clone,
3083 Debug,
3084 :: derive_more :: Deref,
3085 :: derive_more :: DerefMut,
3086 )]
3087 pub struct Brightness(pub i32);
3088 #[allow(clippy::derivable_impls)]
3089 impl Default for Brightness {
3090 fn default() -> Self {
3091 Self(-1i32)
3092 }
3093 }
3094 #[derive(
3095 bevy_ecs :: component :: Component,
3096 PartialEq,
3097 Clone,
3098 Debug,
3099 :: derive_more :: Deref,
3100 :: derive_more :: DerefMut,
3101 )]
3102 pub struct ViewRange(pub f32);
3103 #[allow(clippy::derivable_impls)]
3104 impl Default for ViewRange {
3105 fn default() -> Self {
3106 Self(1f32)
3107 }
3108 }
3109 #[derive(
3110 bevy_ecs :: component :: Component,
3111 PartialEq,
3112 Clone,
3113 Debug,
3114 :: derive_more :: Deref,
3115 :: derive_more :: DerefMut,
3116 )]
3117 pub struct ShadowRadius(pub f32);
3118 #[allow(clippy::derivable_impls)]
3119 impl Default for ShadowRadius {
3120 fn default() -> Self {
3121 Self(0f32)
3122 }
3123 }
3124 #[derive(
3125 bevy_ecs :: component :: Component,
3126 PartialEq,
3127 Clone,
3128 Debug,
3129 :: derive_more :: Deref,
3130 :: derive_more :: DerefMut,
3131 )]
3132 pub struct ShadowStrength(pub f32);
3133 #[allow(clippy::derivable_impls)]
3134 impl Default for ShadowStrength {
3135 fn default() -> Self {
3136 Self(1f32)
3137 }
3138 }
3139 #[derive(
3140 bevy_ecs :: component :: Component,
3141 PartialEq,
3142 Clone,
3143 Debug,
3144 :: derive_more :: Deref,
3145 :: derive_more :: DerefMut,
3146 )]
3147 pub struct Width(pub f32);
3148 #[allow(clippy::derivable_impls)]
3149 impl Default for Width {
3150 fn default() -> Self {
3151 Self(0f32)
3152 }
3153 }
3154 #[derive(
3155 bevy_ecs :: component :: Component,
3156 PartialEq,
3157 Clone,
3158 Debug,
3159 :: derive_more :: Deref,
3160 :: derive_more :: DerefMut,
3161 )]
3162 pub struct Height(pub f32);
3163 #[allow(clippy::derivable_impls)]
3164 impl Default for Height {
3165 fn default() -> Self {
3166 Self(0f32)
3167 }
3168 }
3169 #[derive(
3170 bevy_ecs :: component :: Component,
3171 PartialEq,
3172 Clone,
3173 Debug,
3174 :: derive_more :: Deref,
3175 :: derive_more :: DerefMut,
3176 )]
3177 pub struct GlowColorOverride(pub i32);
3178 #[allow(clippy::derivable_impls)]
3179 impl Default for GlowColorOverride {
3180 fn default() -> Self {
3181 Self(-1i32)
3182 }
3183 }
3184 #[doc = "Marker component for `display` entities."]
3185 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
3186 pub struct DisplayEntity;
3187}
3188#[allow(clippy::module_inception)]
3189pub mod dolphin {
3190 #![doc = "Parent class: [`water_creature`][super::water_creature]."]
3191 #[doc = "The bundle of components for spawning `dolphin` entities."]
3192 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
3193 pub struct DolphinEntityBundle {
3194 pub dolphin_entity: super::dolphin::DolphinEntity,
3195 pub dolphin_treasure_pos: super::dolphin::TreasurePos,
3196 pub dolphin_has_fish: super::dolphin::HasFish,
3197 pub dolphin_moistness: super::dolphin::Moistness,
3198 pub water_creature_entity: super::water_creature::WaterCreatureEntity,
3199 pub path_aware_entity: super::path_aware::PathAwareEntity,
3200 pub mob_entity: super::mob::MobEntity,
3201 pub mob_mob_flags: super::mob::MobFlags,
3202 pub living_entity: super::living::LivingEntity,
3203 pub living_absorption: super::living::Absorption,
3204 pub living_attributes: super::attributes::EntityAttributes,
3205 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
3206 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
3207 pub living_living_flags: super::living::LivingFlags,
3208 pub living_health: super::living::Health,
3209 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
3210 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
3211 pub living_stuck_arrow_count: super::living::StuckArrowCount,
3212 pub living_stinger_count: super::living::StingerCount,
3213 pub living_sleeping_position: super::living::SleepingPosition,
3214 pub entity: super::entity::Entity,
3215 pub entity_flags: super::entity::Flags,
3216 pub entity_air: super::entity::Air,
3217 pub entity_custom_name: super::entity::CustomName,
3218 pub entity_name_visible: super::entity::NameVisible,
3219 pub entity_silent: super::entity::Silent,
3220 pub entity_no_gravity: super::entity::NoGravity,
3221 pub entity_pose: super::entity::Pose,
3222 pub entity_frozen_ticks: super::entity::FrozenTicks,
3223 pub kind: super::EntityKind,
3224 pub id: super::EntityId,
3225 pub uuid: super::UniqueId,
3226 pub layer: super::EntityLayerId,
3227 pub old_layer: super::OldEntityLayerId,
3228 pub position: super::Position,
3229 pub old_position: super::OldPosition,
3230 pub look: super::Look,
3231 pub head_yaw: super::HeadYaw,
3232 pub on_ground: super::OnGround,
3233 pub velocity: super::Velocity,
3234 pub statuses: super::EntityStatuses,
3235 pub animations: super::EntityAnimations,
3236 pub object_data: super::ObjectData,
3237 pub tracked_data: super::tracked_data::TrackedData,
3238 }
3239 impl Default for DolphinEntityBundle {
3240 fn default() -> Self {
3241 Self {
3242 dolphin_entity: Default::default(),
3243 dolphin_treasure_pos: Default::default(),
3244 dolphin_has_fish: Default::default(),
3245 dolphin_moistness: Default::default(),
3246 water_creature_entity: Default::default(),
3247 path_aware_entity: Default::default(),
3248 mob_entity: Default::default(),
3249 mob_mob_flags: Default::default(),
3250 living_entity: Default::default(),
3251 living_absorption: Default::default(),
3252 living_attributes: super::attributes::EntityAttributes::new()
3253 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
3254 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
3255 .with_attribute_and_value(
3256 super::EntityAttribute::GenericKnockbackResistance,
3257 0f64,
3258 )
3259 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
3260 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 3f64)
3261 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
3262 .with_attribute_and_value(
3263 super::EntityAttribute::GenericMovementSpeed,
3264 1.2000000476837158f64,
3265 )
3266 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 10f64),
3267 living_attributes_tracker: Default::default(),
3268 living_active_status_effects: Default::default(),
3269 living_living_flags: Default::default(),
3270 living_health: Default::default(),
3271 living_potion_swirls_color: Default::default(),
3272 living_potion_swirls_ambient: Default::default(),
3273 living_stuck_arrow_count: Default::default(),
3274 living_stinger_count: Default::default(),
3275 living_sleeping_position: Default::default(),
3276 entity: Default::default(),
3277 entity_flags: Default::default(),
3278 entity_air: Default::default(),
3279 entity_custom_name: Default::default(),
3280 entity_name_visible: Default::default(),
3281 entity_silent: Default::default(),
3282 entity_no_gravity: Default::default(),
3283 entity_pose: Default::default(),
3284 entity_frozen_ticks: Default::default(),
3285 kind: super::EntityKind::DOLPHIN,
3286 id: Default::default(),
3287 uuid: Default::default(),
3288 layer: Default::default(),
3289 old_layer: Default::default(),
3290 position: Default::default(),
3291 old_position: Default::default(),
3292 look: Default::default(),
3293 head_yaw: Default::default(),
3294 on_ground: Default::default(),
3295 velocity: Default::default(),
3296 statuses: Default::default(),
3297 animations: Default::default(),
3298 object_data: Default::default(),
3299 tracked_data: Default::default(),
3300 }
3301 }
3302 }
3303 #[derive(
3304 bevy_ecs :: component :: Component,
3305 PartialEq,
3306 Clone,
3307 Debug,
3308 :: derive_more :: Deref,
3309 :: derive_more :: DerefMut,
3310 )]
3311 pub struct TreasurePos(pub valence_protocol::BlockPos);
3312 #[allow(clippy::derivable_impls)]
3313 impl Default for TreasurePos {
3314 fn default() -> Self {
3315 Self(valence_protocol::BlockPos {
3316 x: 0i32,
3317 y: 0i32,
3318 z: 0i32,
3319 })
3320 }
3321 }
3322 #[derive(
3323 bevy_ecs :: component :: Component,
3324 PartialEq,
3325 Clone,
3326 Debug,
3327 :: derive_more :: Deref,
3328 :: derive_more :: DerefMut,
3329 )]
3330 pub struct HasFish(pub bool);
3331 #[allow(clippy::derivable_impls)]
3332 impl Default for HasFish {
3333 fn default() -> Self {
3334 Self(false)
3335 }
3336 }
3337 #[derive(
3338 bevy_ecs :: component :: Component,
3339 PartialEq,
3340 Clone,
3341 Debug,
3342 :: derive_more :: Deref,
3343 :: derive_more :: DerefMut,
3344 )]
3345 pub struct Moistness(pub i32);
3346 #[allow(clippy::derivable_impls)]
3347 impl Default for Moistness {
3348 fn default() -> Self {
3349 Self(2400i32)
3350 }
3351 }
3352 #[doc = "Marker component for `dolphin` entities."]
3353 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
3354 pub struct DolphinEntity;
3355}
3356#[allow(clippy::module_inception)]
3357pub mod donkey {
3358 #![doc = "Parent class: [`abstract_donkey`][super::abstract_donkey]."]
3359 #[doc = "The bundle of components for spawning `donkey` entities."]
3360 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
3361 pub struct DonkeyEntityBundle {
3362 pub donkey_entity: super::donkey::DonkeyEntity,
3363 pub abstract_donkey_entity: super::abstract_donkey::AbstractDonkeyEntity,
3364 pub abstract_donkey_chest: super::abstract_donkey::Chest,
3365 pub abstract_horse_entity: super::abstract_horse::AbstractHorseEntity,
3366 pub abstract_horse_horse_flags: super::abstract_horse::HorseFlags,
3367 pub animal_entity: super::animal::AnimalEntity,
3368 pub passive_entity: super::passive::PassiveEntity,
3369 pub passive_child: super::passive::Child,
3370 pub path_aware_entity: super::path_aware::PathAwareEntity,
3371 pub mob_entity: super::mob::MobEntity,
3372 pub mob_mob_flags: super::mob::MobFlags,
3373 pub living_entity: super::living::LivingEntity,
3374 pub living_absorption: super::living::Absorption,
3375 pub living_attributes: super::attributes::EntityAttributes,
3376 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
3377 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
3378 pub living_living_flags: super::living::LivingFlags,
3379 pub living_health: super::living::Health,
3380 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
3381 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
3382 pub living_stuck_arrow_count: super::living::StuckArrowCount,
3383 pub living_stinger_count: super::living::StingerCount,
3384 pub living_sleeping_position: super::living::SleepingPosition,
3385 pub entity: super::entity::Entity,
3386 pub entity_flags: super::entity::Flags,
3387 pub entity_air: super::entity::Air,
3388 pub entity_custom_name: super::entity::CustomName,
3389 pub entity_name_visible: super::entity::NameVisible,
3390 pub entity_silent: super::entity::Silent,
3391 pub entity_no_gravity: super::entity::NoGravity,
3392 pub entity_pose: super::entity::Pose,
3393 pub entity_frozen_ticks: super::entity::FrozenTicks,
3394 pub kind: super::EntityKind,
3395 pub id: super::EntityId,
3396 pub uuid: super::UniqueId,
3397 pub layer: super::EntityLayerId,
3398 pub old_layer: super::OldEntityLayerId,
3399 pub position: super::Position,
3400 pub old_position: super::OldPosition,
3401 pub look: super::Look,
3402 pub head_yaw: super::HeadYaw,
3403 pub on_ground: super::OnGround,
3404 pub velocity: super::Velocity,
3405 pub statuses: super::EntityStatuses,
3406 pub animations: super::EntityAnimations,
3407 pub object_data: super::ObjectData,
3408 pub tracked_data: super::tracked_data::TrackedData,
3409 }
3410 impl Default for DonkeyEntityBundle {
3411 fn default() -> Self {
3412 Self {
3413 donkey_entity: Default::default(),
3414 abstract_donkey_entity: Default::default(),
3415 abstract_donkey_chest: Default::default(),
3416 abstract_horse_entity: Default::default(),
3417 abstract_horse_horse_flags: Default::default(),
3418 animal_entity: Default::default(),
3419 passive_entity: Default::default(),
3420 passive_child: Default::default(),
3421 path_aware_entity: Default::default(),
3422 mob_entity: Default::default(),
3423 mob_mob_flags: Default::default(),
3424 living_entity: Default::default(),
3425 living_absorption: Default::default(),
3426 living_attributes: super::attributes::EntityAttributes::new()
3427 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
3428 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
3429 .with_attribute_and_value(
3430 super::EntityAttribute::GenericKnockbackResistance,
3431 0f64,
3432 )
3433 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
3434 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
3435 .with_attribute_and_value(super::EntityAttribute::HorseJumpStrength, 0.5f64)
3436 .with_attribute_and_value(
3437 super::EntityAttribute::GenericMovementSpeed,
3438 0.17499999701976776f64,
3439 )
3440 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 53f64),
3441 living_attributes_tracker: Default::default(),
3442 living_active_status_effects: Default::default(),
3443 living_living_flags: Default::default(),
3444 living_health: Default::default(),
3445 living_potion_swirls_color: Default::default(),
3446 living_potion_swirls_ambient: Default::default(),
3447 living_stuck_arrow_count: Default::default(),
3448 living_stinger_count: Default::default(),
3449 living_sleeping_position: Default::default(),
3450 entity: Default::default(),
3451 entity_flags: Default::default(),
3452 entity_air: Default::default(),
3453 entity_custom_name: Default::default(),
3454 entity_name_visible: Default::default(),
3455 entity_silent: Default::default(),
3456 entity_no_gravity: Default::default(),
3457 entity_pose: Default::default(),
3458 entity_frozen_ticks: Default::default(),
3459 kind: super::EntityKind::DONKEY,
3460 id: Default::default(),
3461 uuid: Default::default(),
3462 layer: Default::default(),
3463 old_layer: Default::default(),
3464 position: Default::default(),
3465 old_position: Default::default(),
3466 look: Default::default(),
3467 head_yaw: Default::default(),
3468 on_ground: Default::default(),
3469 velocity: Default::default(),
3470 statuses: Default::default(),
3471 animations: Default::default(),
3472 object_data: Default::default(),
3473 tracked_data: Default::default(),
3474 }
3475 }
3476 }
3477 #[doc = "Marker component for `donkey` entities."]
3478 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
3479 pub struct DonkeyEntity;
3480}
3481#[allow(clippy::module_inception)]
3482pub mod dragon_fireball {
3483 #![doc = "Parent class: [`explosive_projectile`][super::explosive_projectile]."]
3484 #[doc = "The bundle of components for spawning `dragon_fireball` entities."]
3485 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
3486 pub struct DragonFireballEntityBundle {
3487 pub dragon_fireball_entity: super::dragon_fireball::DragonFireballEntity,
3488 pub explosive_projectile_entity: super::explosive_projectile::ExplosiveProjectileEntity,
3489 pub projectile_entity: super::projectile::ProjectileEntity,
3490 pub entity: super::entity::Entity,
3491 pub entity_flags: super::entity::Flags,
3492 pub entity_air: super::entity::Air,
3493 pub entity_custom_name: super::entity::CustomName,
3494 pub entity_name_visible: super::entity::NameVisible,
3495 pub entity_silent: super::entity::Silent,
3496 pub entity_no_gravity: super::entity::NoGravity,
3497 pub entity_pose: super::entity::Pose,
3498 pub entity_frozen_ticks: super::entity::FrozenTicks,
3499 pub kind: super::EntityKind,
3500 pub id: super::EntityId,
3501 pub uuid: super::UniqueId,
3502 pub layer: super::EntityLayerId,
3503 pub old_layer: super::OldEntityLayerId,
3504 pub position: super::Position,
3505 pub old_position: super::OldPosition,
3506 pub look: super::Look,
3507 pub head_yaw: super::HeadYaw,
3508 pub on_ground: super::OnGround,
3509 pub velocity: super::Velocity,
3510 pub statuses: super::EntityStatuses,
3511 pub animations: super::EntityAnimations,
3512 pub object_data: super::ObjectData,
3513 pub tracked_data: super::tracked_data::TrackedData,
3514 }
3515 impl Default for DragonFireballEntityBundle {
3516 fn default() -> Self {
3517 Self {
3518 dragon_fireball_entity: Default::default(),
3519 explosive_projectile_entity: Default::default(),
3520 projectile_entity: Default::default(),
3521 entity: Default::default(),
3522 entity_flags: Default::default(),
3523 entity_air: Default::default(),
3524 entity_custom_name: Default::default(),
3525 entity_name_visible: Default::default(),
3526 entity_silent: Default::default(),
3527 entity_no_gravity: Default::default(),
3528 entity_pose: Default::default(),
3529 entity_frozen_ticks: Default::default(),
3530 kind: super::EntityKind::DRAGON_FIREBALL,
3531 id: Default::default(),
3532 uuid: Default::default(),
3533 layer: Default::default(),
3534 old_layer: Default::default(),
3535 position: Default::default(),
3536 old_position: Default::default(),
3537 look: Default::default(),
3538 head_yaw: Default::default(),
3539 on_ground: Default::default(),
3540 velocity: Default::default(),
3541 statuses: Default::default(),
3542 animations: Default::default(),
3543 object_data: Default::default(),
3544 tracked_data: Default::default(),
3545 }
3546 }
3547 }
3548 #[doc = "Marker component for `dragon_fireball` entities."]
3549 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
3550 pub struct DragonFireballEntity;
3551}
3552#[allow(clippy::module_inception)]
3553pub mod drowned {
3554 #![doc = "Parent class: [`zombie`][super::zombie]."]
3555 #[doc = "The bundle of components for spawning `drowned` entities."]
3556 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
3557 pub struct DrownedEntityBundle {
3558 pub drowned_entity: super::drowned::DrownedEntity,
3559 pub zombie_entity: super::zombie::ZombieEntity,
3560 pub zombie_baby: super::zombie::Baby,
3561 pub zombie_zombie_type: super::zombie::ZombieType,
3562 pub zombie_converting_in_water: super::zombie::ConvertingInWater,
3563 pub hostile_entity: super::hostile::HostileEntity,
3564 pub path_aware_entity: super::path_aware::PathAwareEntity,
3565 pub mob_entity: super::mob::MobEntity,
3566 pub mob_mob_flags: super::mob::MobFlags,
3567 pub living_entity: super::living::LivingEntity,
3568 pub living_absorption: super::living::Absorption,
3569 pub living_attributes: super::attributes::EntityAttributes,
3570 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
3571 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
3572 pub living_living_flags: super::living::LivingFlags,
3573 pub living_health: super::living::Health,
3574 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
3575 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
3576 pub living_stuck_arrow_count: super::living::StuckArrowCount,
3577 pub living_stinger_count: super::living::StingerCount,
3578 pub living_sleeping_position: super::living::SleepingPosition,
3579 pub entity: super::entity::Entity,
3580 pub entity_flags: super::entity::Flags,
3581 pub entity_air: super::entity::Air,
3582 pub entity_custom_name: super::entity::CustomName,
3583 pub entity_name_visible: super::entity::NameVisible,
3584 pub entity_silent: super::entity::Silent,
3585 pub entity_no_gravity: super::entity::NoGravity,
3586 pub entity_pose: super::entity::Pose,
3587 pub entity_frozen_ticks: super::entity::FrozenTicks,
3588 pub kind: super::EntityKind,
3589 pub id: super::EntityId,
3590 pub uuid: super::UniqueId,
3591 pub layer: super::EntityLayerId,
3592 pub old_layer: super::OldEntityLayerId,
3593 pub position: super::Position,
3594 pub old_position: super::OldPosition,
3595 pub look: super::Look,
3596 pub head_yaw: super::HeadYaw,
3597 pub on_ground: super::OnGround,
3598 pub velocity: super::Velocity,
3599 pub statuses: super::EntityStatuses,
3600 pub animations: super::EntityAnimations,
3601 pub object_data: super::ObjectData,
3602 pub tracked_data: super::tracked_data::TrackedData,
3603 }
3604 impl Default for DrownedEntityBundle {
3605 fn default() -> Self {
3606 Self {
3607 drowned_entity: Default::default(),
3608 zombie_entity: Default::default(),
3609 zombie_baby: Default::default(),
3610 zombie_zombie_type: Default::default(),
3611 zombie_converting_in_water: Default::default(),
3612 hostile_entity: Default::default(),
3613 path_aware_entity: Default::default(),
3614 mob_entity: Default::default(),
3615 mob_mob_flags: Default::default(),
3616 living_entity: Default::default(),
3617 living_absorption: Default::default(),
3618 living_attributes: super::attributes::EntityAttributes::new()
3619 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
3620 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
3621 .with_attribute_and_value(
3622 super::EntityAttribute::GenericKnockbackResistance,
3623 0f64,
3624 )
3625 .with_attribute_and_value(
3626 super::EntityAttribute::ZombieSpawnReinforcements,
3627 0f64,
3628 )
3629 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 2f64)
3630 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 3f64)
3631 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 35f64)
3632 .with_attribute_and_value(
3633 super::EntityAttribute::GenericMovementSpeed,
3634 0.2300000041723251f64,
3635 )
3636 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 20f64),
3637 living_attributes_tracker: Default::default(),
3638 living_active_status_effects: Default::default(),
3639 living_living_flags: Default::default(),
3640 living_health: Default::default(),
3641 living_potion_swirls_color: Default::default(),
3642 living_potion_swirls_ambient: Default::default(),
3643 living_stuck_arrow_count: Default::default(),
3644 living_stinger_count: Default::default(),
3645 living_sleeping_position: Default::default(),
3646 entity: Default::default(),
3647 entity_flags: Default::default(),
3648 entity_air: Default::default(),
3649 entity_custom_name: Default::default(),
3650 entity_name_visible: Default::default(),
3651 entity_silent: Default::default(),
3652 entity_no_gravity: Default::default(),
3653 entity_pose: Default::default(),
3654 entity_frozen_ticks: Default::default(),
3655 kind: super::EntityKind::DROWNED,
3656 id: Default::default(),
3657 uuid: Default::default(),
3658 layer: Default::default(),
3659 old_layer: Default::default(),
3660 position: Default::default(),
3661 old_position: Default::default(),
3662 look: Default::default(),
3663 head_yaw: Default::default(),
3664 on_ground: Default::default(),
3665 velocity: Default::default(),
3666 statuses: Default::default(),
3667 animations: Default::default(),
3668 object_data: Default::default(),
3669 tracked_data: Default::default(),
3670 }
3671 }
3672 }
3673 #[doc = "Marker component for `drowned` entities."]
3674 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
3675 pub struct DrownedEntity;
3676}
3677#[allow(clippy::module_inception)]
3678pub mod egg {
3679 #![doc = "Parent class: [`thrown_item`][super::thrown_item]."]
3680 #[doc = "The bundle of components for spawning `egg` entities."]
3681 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
3682 pub struct EggEntityBundle {
3683 pub egg_entity: super::egg::EggEntity,
3684 pub thrown_item_entity: super::thrown_item::ThrownItemEntity,
3685 pub thrown_item_item: super::thrown_item::Item,
3686 pub thrown_entity: super::thrown::ThrownEntity,
3687 pub projectile_entity: super::projectile::ProjectileEntity,
3688 pub entity: super::entity::Entity,
3689 pub entity_flags: super::entity::Flags,
3690 pub entity_air: super::entity::Air,
3691 pub entity_custom_name: super::entity::CustomName,
3692 pub entity_name_visible: super::entity::NameVisible,
3693 pub entity_silent: super::entity::Silent,
3694 pub entity_no_gravity: super::entity::NoGravity,
3695 pub entity_pose: super::entity::Pose,
3696 pub entity_frozen_ticks: super::entity::FrozenTicks,
3697 pub kind: super::EntityKind,
3698 pub id: super::EntityId,
3699 pub uuid: super::UniqueId,
3700 pub layer: super::EntityLayerId,
3701 pub old_layer: super::OldEntityLayerId,
3702 pub position: super::Position,
3703 pub old_position: super::OldPosition,
3704 pub look: super::Look,
3705 pub head_yaw: super::HeadYaw,
3706 pub on_ground: super::OnGround,
3707 pub velocity: super::Velocity,
3708 pub statuses: super::EntityStatuses,
3709 pub animations: super::EntityAnimations,
3710 pub object_data: super::ObjectData,
3711 pub tracked_data: super::tracked_data::TrackedData,
3712 }
3713 impl Default for EggEntityBundle {
3714 fn default() -> Self {
3715 Self {
3716 egg_entity: Default::default(),
3717 thrown_item_entity: Default::default(),
3718 thrown_item_item: Default::default(),
3719 thrown_entity: Default::default(),
3720 projectile_entity: Default::default(),
3721 entity: Default::default(),
3722 entity_flags: Default::default(),
3723 entity_air: Default::default(),
3724 entity_custom_name: Default::default(),
3725 entity_name_visible: Default::default(),
3726 entity_silent: Default::default(),
3727 entity_no_gravity: Default::default(),
3728 entity_pose: Default::default(),
3729 entity_frozen_ticks: Default::default(),
3730 kind: super::EntityKind::EGG,
3731 id: Default::default(),
3732 uuid: Default::default(),
3733 layer: Default::default(),
3734 old_layer: Default::default(),
3735 position: Default::default(),
3736 old_position: Default::default(),
3737 look: Default::default(),
3738 head_yaw: Default::default(),
3739 on_ground: Default::default(),
3740 velocity: Default::default(),
3741 statuses: Default::default(),
3742 animations: Default::default(),
3743 object_data: Default::default(),
3744 tracked_data: Default::default(),
3745 }
3746 }
3747 }
3748 #[doc = "Marker component for `egg` entities."]
3749 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
3750 pub struct EggEntity;
3751}
3752#[allow(clippy::module_inception)]
3753pub mod elder_guardian {
3754 #![doc = "Parent class: [`guardian`][super::guardian]."]
3755 #[doc = "The bundle of components for spawning `elder_guardian` entities."]
3756 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
3757 pub struct ElderGuardianEntityBundle {
3758 pub elder_guardian_entity: super::elder_guardian::ElderGuardianEntity,
3759 pub guardian_entity: super::guardian::GuardianEntity,
3760 pub guardian_spikes_retracted: super::guardian::SpikesRetracted,
3761 pub guardian_beam_target_id: super::guardian::BeamTargetId,
3762 pub hostile_entity: super::hostile::HostileEntity,
3763 pub path_aware_entity: super::path_aware::PathAwareEntity,
3764 pub mob_entity: super::mob::MobEntity,
3765 pub mob_mob_flags: super::mob::MobFlags,
3766 pub living_entity: super::living::LivingEntity,
3767 pub living_absorption: super::living::Absorption,
3768 pub living_attributes: super::attributes::EntityAttributes,
3769 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
3770 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
3771 pub living_living_flags: super::living::LivingFlags,
3772 pub living_health: super::living::Health,
3773 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
3774 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
3775 pub living_stuck_arrow_count: super::living::StuckArrowCount,
3776 pub living_stinger_count: super::living::StingerCount,
3777 pub living_sleeping_position: super::living::SleepingPosition,
3778 pub entity: super::entity::Entity,
3779 pub entity_flags: super::entity::Flags,
3780 pub entity_air: super::entity::Air,
3781 pub entity_custom_name: super::entity::CustomName,
3782 pub entity_name_visible: super::entity::NameVisible,
3783 pub entity_silent: super::entity::Silent,
3784 pub entity_no_gravity: super::entity::NoGravity,
3785 pub entity_pose: super::entity::Pose,
3786 pub entity_frozen_ticks: super::entity::FrozenTicks,
3787 pub kind: super::EntityKind,
3788 pub id: super::EntityId,
3789 pub uuid: super::UniqueId,
3790 pub layer: super::EntityLayerId,
3791 pub old_layer: super::OldEntityLayerId,
3792 pub position: super::Position,
3793 pub old_position: super::OldPosition,
3794 pub look: super::Look,
3795 pub head_yaw: super::HeadYaw,
3796 pub on_ground: super::OnGround,
3797 pub velocity: super::Velocity,
3798 pub statuses: super::EntityStatuses,
3799 pub animations: super::EntityAnimations,
3800 pub object_data: super::ObjectData,
3801 pub tracked_data: super::tracked_data::TrackedData,
3802 }
3803 impl Default for ElderGuardianEntityBundle {
3804 fn default() -> Self {
3805 Self {
3806 elder_guardian_entity: Default::default(),
3807 guardian_entity: Default::default(),
3808 guardian_spikes_retracted: Default::default(),
3809 guardian_beam_target_id: Default::default(),
3810 hostile_entity: Default::default(),
3811 path_aware_entity: Default::default(),
3812 mob_entity: Default::default(),
3813 mob_mob_flags: Default::default(),
3814 living_entity: Default::default(),
3815 living_absorption: Default::default(),
3816 living_attributes: super::attributes::EntityAttributes::new()
3817 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
3818 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
3819 .with_attribute_and_value(
3820 super::EntityAttribute::GenericKnockbackResistance,
3821 0f64,
3822 )
3823 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
3824 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 8f64)
3825 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
3826 .with_attribute_and_value(
3827 super::EntityAttribute::GenericMovementSpeed,
3828 0.30000001192092896f64,
3829 )
3830 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 80f64),
3831 living_attributes_tracker: Default::default(),
3832 living_active_status_effects: Default::default(),
3833 living_living_flags: Default::default(),
3834 living_health: Default::default(),
3835 living_potion_swirls_color: Default::default(),
3836 living_potion_swirls_ambient: Default::default(),
3837 living_stuck_arrow_count: Default::default(),
3838 living_stinger_count: Default::default(),
3839 living_sleeping_position: Default::default(),
3840 entity: Default::default(),
3841 entity_flags: Default::default(),
3842 entity_air: Default::default(),
3843 entity_custom_name: Default::default(),
3844 entity_name_visible: Default::default(),
3845 entity_silent: Default::default(),
3846 entity_no_gravity: Default::default(),
3847 entity_pose: Default::default(),
3848 entity_frozen_ticks: Default::default(),
3849 kind: super::EntityKind::ELDER_GUARDIAN,
3850 id: Default::default(),
3851 uuid: Default::default(),
3852 layer: Default::default(),
3853 old_layer: Default::default(),
3854 position: Default::default(),
3855 old_position: Default::default(),
3856 look: Default::default(),
3857 head_yaw: Default::default(),
3858 on_ground: Default::default(),
3859 velocity: Default::default(),
3860 statuses: Default::default(),
3861 animations: Default::default(),
3862 object_data: Default::default(),
3863 tracked_data: Default::default(),
3864 }
3865 }
3866 }
3867 #[doc = "Marker component for `elder_guardian` entities."]
3868 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
3869 pub struct ElderGuardianEntity;
3870}
3871#[allow(clippy::module_inception)]
3872pub mod end_crystal {
3873 #![doc = "Parent class: [`entity`][super::entity]."]
3874 #[doc = "The bundle of components for spawning `end_crystal` entities."]
3875 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
3876 pub struct EndCrystalEntityBundle {
3877 pub end_crystal_entity: super::end_crystal::EndCrystalEntity,
3878 pub end_crystal_beam_target: super::end_crystal::BeamTarget,
3879 pub end_crystal_show_bottom: super::end_crystal::ShowBottom,
3880 pub entity: super::entity::Entity,
3881 pub entity_flags: super::entity::Flags,
3882 pub entity_air: super::entity::Air,
3883 pub entity_custom_name: super::entity::CustomName,
3884 pub entity_name_visible: super::entity::NameVisible,
3885 pub entity_silent: super::entity::Silent,
3886 pub entity_no_gravity: super::entity::NoGravity,
3887 pub entity_pose: super::entity::Pose,
3888 pub entity_frozen_ticks: super::entity::FrozenTicks,
3889 pub kind: super::EntityKind,
3890 pub id: super::EntityId,
3891 pub uuid: super::UniqueId,
3892 pub layer: super::EntityLayerId,
3893 pub old_layer: super::OldEntityLayerId,
3894 pub position: super::Position,
3895 pub old_position: super::OldPosition,
3896 pub look: super::Look,
3897 pub head_yaw: super::HeadYaw,
3898 pub on_ground: super::OnGround,
3899 pub velocity: super::Velocity,
3900 pub statuses: super::EntityStatuses,
3901 pub animations: super::EntityAnimations,
3902 pub object_data: super::ObjectData,
3903 pub tracked_data: super::tracked_data::TrackedData,
3904 }
3905 impl Default for EndCrystalEntityBundle {
3906 fn default() -> Self {
3907 Self {
3908 end_crystal_entity: Default::default(),
3909 end_crystal_beam_target: Default::default(),
3910 end_crystal_show_bottom: Default::default(),
3911 entity: Default::default(),
3912 entity_flags: Default::default(),
3913 entity_air: Default::default(),
3914 entity_custom_name: Default::default(),
3915 entity_name_visible: Default::default(),
3916 entity_silent: Default::default(),
3917 entity_no_gravity: Default::default(),
3918 entity_pose: Default::default(),
3919 entity_frozen_ticks: Default::default(),
3920 kind: super::EntityKind::END_CRYSTAL,
3921 id: Default::default(),
3922 uuid: Default::default(),
3923 layer: Default::default(),
3924 old_layer: Default::default(),
3925 position: Default::default(),
3926 old_position: Default::default(),
3927 look: Default::default(),
3928 head_yaw: Default::default(),
3929 on_ground: Default::default(),
3930 velocity: Default::default(),
3931 statuses: Default::default(),
3932 animations: Default::default(),
3933 object_data: Default::default(),
3934 tracked_data: Default::default(),
3935 }
3936 }
3937 }
3938 #[derive(
3939 bevy_ecs :: component :: Component,
3940 PartialEq,
3941 Clone,
3942 Debug,
3943 :: derive_more :: Deref,
3944 :: derive_more :: DerefMut,
3945 )]
3946 pub struct BeamTarget(pub Option<valence_protocol::BlockPos>);
3947 #[allow(clippy::derivable_impls)]
3948 impl Default for BeamTarget {
3949 fn default() -> Self {
3950 Self(None)
3951 }
3952 }
3953 #[derive(
3954 bevy_ecs :: component :: Component,
3955 PartialEq,
3956 Clone,
3957 Debug,
3958 :: derive_more :: Deref,
3959 :: derive_more :: DerefMut,
3960 )]
3961 pub struct ShowBottom(pub bool);
3962 #[allow(clippy::derivable_impls)]
3963 impl Default for ShowBottom {
3964 fn default() -> Self {
3965 Self(true)
3966 }
3967 }
3968 #[doc = "Marker component for `end_crystal` entities."]
3969 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
3970 pub struct EndCrystalEntity;
3971}
3972#[allow(clippy::module_inception)]
3973pub mod ender_dragon {
3974 #![doc = "Parent class: [`mob`][super::mob]."]
3975 #[doc = "The bundle of components for spawning `ender_dragon` entities."]
3976 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
3977 pub struct EnderDragonEntityBundle {
3978 pub ender_dragon_entity: super::ender_dragon::EnderDragonEntity,
3979 pub ender_dragon_phase_type: super::ender_dragon::PhaseType,
3980 pub mob_entity: super::mob::MobEntity,
3981 pub mob_mob_flags: super::mob::MobFlags,
3982 pub living_entity: super::living::LivingEntity,
3983 pub living_absorption: super::living::Absorption,
3984 pub living_attributes: super::attributes::EntityAttributes,
3985 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
3986 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
3987 pub living_living_flags: super::living::LivingFlags,
3988 pub living_health: super::living::Health,
3989 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
3990 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
3991 pub living_stuck_arrow_count: super::living::StuckArrowCount,
3992 pub living_stinger_count: super::living::StingerCount,
3993 pub living_sleeping_position: super::living::SleepingPosition,
3994 pub entity: super::entity::Entity,
3995 pub entity_flags: super::entity::Flags,
3996 pub entity_air: super::entity::Air,
3997 pub entity_custom_name: super::entity::CustomName,
3998 pub entity_name_visible: super::entity::NameVisible,
3999 pub entity_silent: super::entity::Silent,
4000 pub entity_no_gravity: super::entity::NoGravity,
4001 pub entity_pose: super::entity::Pose,
4002 pub entity_frozen_ticks: super::entity::FrozenTicks,
4003 pub kind: super::EntityKind,
4004 pub id: super::EntityId,
4005 pub uuid: super::UniqueId,
4006 pub layer: super::EntityLayerId,
4007 pub old_layer: super::OldEntityLayerId,
4008 pub position: super::Position,
4009 pub old_position: super::OldPosition,
4010 pub look: super::Look,
4011 pub head_yaw: super::HeadYaw,
4012 pub on_ground: super::OnGround,
4013 pub velocity: super::Velocity,
4014 pub statuses: super::EntityStatuses,
4015 pub animations: super::EntityAnimations,
4016 pub object_data: super::ObjectData,
4017 pub tracked_data: super::tracked_data::TrackedData,
4018 }
4019 impl Default for EnderDragonEntityBundle {
4020 fn default() -> Self {
4021 Self {
4022 ender_dragon_entity: Default::default(),
4023 ender_dragon_phase_type: Default::default(),
4024 mob_entity: Default::default(),
4025 mob_mob_flags: Default::default(),
4026 living_entity: Default::default(),
4027 living_absorption: Default::default(),
4028 living_attributes: super::attributes::EntityAttributes::new()
4029 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
4030 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
4031 .with_attribute_and_value(
4032 super::EntityAttribute::GenericKnockbackResistance,
4033 0f64,
4034 )
4035 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
4036 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
4037 .with_attribute_and_value(
4038 super::EntityAttribute::GenericMovementSpeed,
4039 0.699999988079071f64,
4040 )
4041 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 200f64),
4042 living_attributes_tracker: Default::default(),
4043 living_active_status_effects: Default::default(),
4044 living_living_flags: Default::default(),
4045 living_health: Default::default(),
4046 living_potion_swirls_color: Default::default(),
4047 living_potion_swirls_ambient: Default::default(),
4048 living_stuck_arrow_count: Default::default(),
4049 living_stinger_count: Default::default(),
4050 living_sleeping_position: Default::default(),
4051 entity: Default::default(),
4052 entity_flags: Default::default(),
4053 entity_air: Default::default(),
4054 entity_custom_name: Default::default(),
4055 entity_name_visible: Default::default(),
4056 entity_silent: Default::default(),
4057 entity_no_gravity: Default::default(),
4058 entity_pose: Default::default(),
4059 entity_frozen_ticks: Default::default(),
4060 kind: super::EntityKind::ENDER_DRAGON,
4061 id: Default::default(),
4062 uuid: Default::default(),
4063 layer: Default::default(),
4064 old_layer: Default::default(),
4065 position: Default::default(),
4066 old_position: Default::default(),
4067 look: Default::default(),
4068 head_yaw: Default::default(),
4069 on_ground: Default::default(),
4070 velocity: Default::default(),
4071 statuses: Default::default(),
4072 animations: Default::default(),
4073 object_data: Default::default(),
4074 tracked_data: Default::default(),
4075 }
4076 }
4077 }
4078 #[derive(
4079 bevy_ecs :: component :: Component,
4080 PartialEq,
4081 Clone,
4082 Debug,
4083 :: derive_more :: Deref,
4084 :: derive_more :: DerefMut,
4085 )]
4086 pub struct PhaseType(pub i32);
4087 #[allow(clippy::derivable_impls)]
4088 impl Default for PhaseType {
4089 fn default() -> Self {
4090 Self(10i32)
4091 }
4092 }
4093 #[doc = "Marker component for `ender_dragon` entities."]
4094 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
4095 pub struct EnderDragonEntity;
4096}
4097#[allow(clippy::module_inception)]
4098pub mod ender_pearl {
4099 #![doc = "Parent class: [`thrown_item`][super::thrown_item]."]
4100 #[doc = "The bundle of components for spawning `ender_pearl` entities."]
4101 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
4102 pub struct EnderPearlEntityBundle {
4103 pub ender_pearl_entity: super::ender_pearl::EnderPearlEntity,
4104 pub thrown_item_entity: super::thrown_item::ThrownItemEntity,
4105 pub thrown_item_item: super::thrown_item::Item,
4106 pub thrown_entity: super::thrown::ThrownEntity,
4107 pub projectile_entity: super::projectile::ProjectileEntity,
4108 pub entity: super::entity::Entity,
4109 pub entity_flags: super::entity::Flags,
4110 pub entity_air: super::entity::Air,
4111 pub entity_custom_name: super::entity::CustomName,
4112 pub entity_name_visible: super::entity::NameVisible,
4113 pub entity_silent: super::entity::Silent,
4114 pub entity_no_gravity: super::entity::NoGravity,
4115 pub entity_pose: super::entity::Pose,
4116 pub entity_frozen_ticks: super::entity::FrozenTicks,
4117 pub kind: super::EntityKind,
4118 pub id: super::EntityId,
4119 pub uuid: super::UniqueId,
4120 pub layer: super::EntityLayerId,
4121 pub old_layer: super::OldEntityLayerId,
4122 pub position: super::Position,
4123 pub old_position: super::OldPosition,
4124 pub look: super::Look,
4125 pub head_yaw: super::HeadYaw,
4126 pub on_ground: super::OnGround,
4127 pub velocity: super::Velocity,
4128 pub statuses: super::EntityStatuses,
4129 pub animations: super::EntityAnimations,
4130 pub object_data: super::ObjectData,
4131 pub tracked_data: super::tracked_data::TrackedData,
4132 }
4133 impl Default for EnderPearlEntityBundle {
4134 fn default() -> Self {
4135 Self {
4136 ender_pearl_entity: Default::default(),
4137 thrown_item_entity: Default::default(),
4138 thrown_item_item: Default::default(),
4139 thrown_entity: Default::default(),
4140 projectile_entity: Default::default(),
4141 entity: Default::default(),
4142 entity_flags: Default::default(),
4143 entity_air: Default::default(),
4144 entity_custom_name: Default::default(),
4145 entity_name_visible: Default::default(),
4146 entity_silent: Default::default(),
4147 entity_no_gravity: Default::default(),
4148 entity_pose: Default::default(),
4149 entity_frozen_ticks: Default::default(),
4150 kind: super::EntityKind::ENDER_PEARL,
4151 id: Default::default(),
4152 uuid: Default::default(),
4153 layer: Default::default(),
4154 old_layer: Default::default(),
4155 position: Default::default(),
4156 old_position: Default::default(),
4157 look: Default::default(),
4158 head_yaw: Default::default(),
4159 on_ground: Default::default(),
4160 velocity: Default::default(),
4161 statuses: Default::default(),
4162 animations: Default::default(),
4163 object_data: Default::default(),
4164 tracked_data: Default::default(),
4165 }
4166 }
4167 }
4168 #[doc = "Marker component for `ender_pearl` entities."]
4169 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
4170 pub struct EnderPearlEntity;
4171}
4172#[allow(clippy::module_inception)]
4173pub mod enderman {
4174 #![doc = "Parent class: [`hostile`][super::hostile]."]
4175 #[doc = "The bundle of components for spawning `enderman` entities."]
4176 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
4177 pub struct EndermanEntityBundle {
4178 pub enderman_entity: super::enderman::EndermanEntity,
4179 pub enderman_carried_block: super::enderman::CarriedBlock,
4180 pub enderman_angry: super::enderman::Angry,
4181 pub enderman_provoked: super::enderman::Provoked,
4182 pub hostile_entity: super::hostile::HostileEntity,
4183 pub path_aware_entity: super::path_aware::PathAwareEntity,
4184 pub mob_entity: super::mob::MobEntity,
4185 pub mob_mob_flags: super::mob::MobFlags,
4186 pub living_entity: super::living::LivingEntity,
4187 pub living_absorption: super::living::Absorption,
4188 pub living_attributes: super::attributes::EntityAttributes,
4189 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
4190 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
4191 pub living_living_flags: super::living::LivingFlags,
4192 pub living_health: super::living::Health,
4193 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
4194 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
4195 pub living_stuck_arrow_count: super::living::StuckArrowCount,
4196 pub living_stinger_count: super::living::StingerCount,
4197 pub living_sleeping_position: super::living::SleepingPosition,
4198 pub entity: super::entity::Entity,
4199 pub entity_flags: super::entity::Flags,
4200 pub entity_air: super::entity::Air,
4201 pub entity_custom_name: super::entity::CustomName,
4202 pub entity_name_visible: super::entity::NameVisible,
4203 pub entity_silent: super::entity::Silent,
4204 pub entity_no_gravity: super::entity::NoGravity,
4205 pub entity_pose: super::entity::Pose,
4206 pub entity_frozen_ticks: super::entity::FrozenTicks,
4207 pub kind: super::EntityKind,
4208 pub id: super::EntityId,
4209 pub uuid: super::UniqueId,
4210 pub layer: super::EntityLayerId,
4211 pub old_layer: super::OldEntityLayerId,
4212 pub position: super::Position,
4213 pub old_position: super::OldPosition,
4214 pub look: super::Look,
4215 pub head_yaw: super::HeadYaw,
4216 pub on_ground: super::OnGround,
4217 pub velocity: super::Velocity,
4218 pub statuses: super::EntityStatuses,
4219 pub animations: super::EntityAnimations,
4220 pub object_data: super::ObjectData,
4221 pub tracked_data: super::tracked_data::TrackedData,
4222 }
4223 impl Default for EndermanEntityBundle {
4224 fn default() -> Self {
4225 Self {
4226 enderman_entity: Default::default(),
4227 enderman_carried_block: Default::default(),
4228 enderman_angry: Default::default(),
4229 enderman_provoked: Default::default(),
4230 hostile_entity: Default::default(),
4231 path_aware_entity: Default::default(),
4232 mob_entity: Default::default(),
4233 mob_mob_flags: Default::default(),
4234 living_entity: Default::default(),
4235 living_absorption: Default::default(),
4236 living_attributes: super::attributes::EntityAttributes::new()
4237 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
4238 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
4239 .with_attribute_and_value(
4240 super::EntityAttribute::GenericKnockbackResistance,
4241 0f64,
4242 )
4243 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
4244 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 7f64)
4245 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 64f64)
4246 .with_attribute_and_value(
4247 super::EntityAttribute::GenericMovementSpeed,
4248 0.30000001192092896f64,
4249 )
4250 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 40f64),
4251 living_attributes_tracker: Default::default(),
4252 living_active_status_effects: Default::default(),
4253 living_living_flags: Default::default(),
4254 living_health: Default::default(),
4255 living_potion_swirls_color: Default::default(),
4256 living_potion_swirls_ambient: Default::default(),
4257 living_stuck_arrow_count: Default::default(),
4258 living_stinger_count: Default::default(),
4259 living_sleeping_position: Default::default(),
4260 entity: Default::default(),
4261 entity_flags: Default::default(),
4262 entity_air: Default::default(),
4263 entity_custom_name: Default::default(),
4264 entity_name_visible: Default::default(),
4265 entity_silent: Default::default(),
4266 entity_no_gravity: Default::default(),
4267 entity_pose: Default::default(),
4268 entity_frozen_ticks: Default::default(),
4269 kind: super::EntityKind::ENDERMAN,
4270 id: Default::default(),
4271 uuid: Default::default(),
4272 layer: Default::default(),
4273 old_layer: Default::default(),
4274 position: Default::default(),
4275 old_position: Default::default(),
4276 look: Default::default(),
4277 head_yaw: Default::default(),
4278 on_ground: Default::default(),
4279 velocity: Default::default(),
4280 statuses: Default::default(),
4281 animations: Default::default(),
4282 object_data: Default::default(),
4283 tracked_data: Default::default(),
4284 }
4285 }
4286 }
4287 #[derive(
4288 bevy_ecs :: component :: Component,
4289 PartialEq,
4290 Clone,
4291 Debug,
4292 :: derive_more :: Deref,
4293 :: derive_more :: DerefMut,
4294 )]
4295 pub struct CarriedBlock(pub valence_protocol::BlockState);
4296 #[allow(clippy::derivable_impls)]
4297 impl Default for CarriedBlock {
4298 fn default() -> Self {
4299 Self(valence_protocol::BlockState::default())
4300 }
4301 }
4302 #[derive(
4303 bevy_ecs :: component :: Component,
4304 PartialEq,
4305 Clone,
4306 Debug,
4307 :: derive_more :: Deref,
4308 :: derive_more :: DerefMut,
4309 )]
4310 pub struct Angry(pub bool);
4311 #[allow(clippy::derivable_impls)]
4312 impl Default for Angry {
4313 fn default() -> Self {
4314 Self(false)
4315 }
4316 }
4317 #[derive(
4318 bevy_ecs :: component :: Component,
4319 PartialEq,
4320 Clone,
4321 Debug,
4322 :: derive_more :: Deref,
4323 :: derive_more :: DerefMut,
4324 )]
4325 pub struct Provoked(pub bool);
4326 #[allow(clippy::derivable_impls)]
4327 impl Default for Provoked {
4328 fn default() -> Self {
4329 Self(false)
4330 }
4331 }
4332 #[doc = "Marker component for `enderman` entities."]
4333 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
4334 pub struct EndermanEntity;
4335}
4336#[allow(clippy::module_inception)]
4337pub mod endermite {
4338 #![doc = "Parent class: [`hostile`][super::hostile]."]
4339 #[doc = "The bundle of components for spawning `endermite` entities."]
4340 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
4341 pub struct EndermiteEntityBundle {
4342 pub endermite_entity: super::endermite::EndermiteEntity,
4343 pub hostile_entity: super::hostile::HostileEntity,
4344 pub path_aware_entity: super::path_aware::PathAwareEntity,
4345 pub mob_entity: super::mob::MobEntity,
4346 pub mob_mob_flags: super::mob::MobFlags,
4347 pub living_entity: super::living::LivingEntity,
4348 pub living_absorption: super::living::Absorption,
4349 pub living_attributes: super::attributes::EntityAttributes,
4350 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
4351 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
4352 pub living_living_flags: super::living::LivingFlags,
4353 pub living_health: super::living::Health,
4354 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
4355 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
4356 pub living_stuck_arrow_count: super::living::StuckArrowCount,
4357 pub living_stinger_count: super::living::StingerCount,
4358 pub living_sleeping_position: super::living::SleepingPosition,
4359 pub entity: super::entity::Entity,
4360 pub entity_flags: super::entity::Flags,
4361 pub entity_air: super::entity::Air,
4362 pub entity_custom_name: super::entity::CustomName,
4363 pub entity_name_visible: super::entity::NameVisible,
4364 pub entity_silent: super::entity::Silent,
4365 pub entity_no_gravity: super::entity::NoGravity,
4366 pub entity_pose: super::entity::Pose,
4367 pub entity_frozen_ticks: super::entity::FrozenTicks,
4368 pub kind: super::EntityKind,
4369 pub id: super::EntityId,
4370 pub uuid: super::UniqueId,
4371 pub layer: super::EntityLayerId,
4372 pub old_layer: super::OldEntityLayerId,
4373 pub position: super::Position,
4374 pub old_position: super::OldPosition,
4375 pub look: super::Look,
4376 pub head_yaw: super::HeadYaw,
4377 pub on_ground: super::OnGround,
4378 pub velocity: super::Velocity,
4379 pub statuses: super::EntityStatuses,
4380 pub animations: super::EntityAnimations,
4381 pub object_data: super::ObjectData,
4382 pub tracked_data: super::tracked_data::TrackedData,
4383 }
4384 impl Default for EndermiteEntityBundle {
4385 fn default() -> Self {
4386 Self {
4387 endermite_entity: Default::default(),
4388 hostile_entity: Default::default(),
4389 path_aware_entity: Default::default(),
4390 mob_entity: Default::default(),
4391 mob_mob_flags: Default::default(),
4392 living_entity: Default::default(),
4393 living_absorption: Default::default(),
4394 living_attributes: super::attributes::EntityAttributes::new()
4395 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
4396 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
4397 .with_attribute_and_value(
4398 super::EntityAttribute::GenericKnockbackResistance,
4399 0f64,
4400 )
4401 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
4402 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 2f64)
4403 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
4404 .with_attribute_and_value(super::EntityAttribute::GenericMovementSpeed, 0.25f64)
4405 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 8f64),
4406 living_attributes_tracker: Default::default(),
4407 living_active_status_effects: Default::default(),
4408 living_living_flags: Default::default(),
4409 living_health: Default::default(),
4410 living_potion_swirls_color: Default::default(),
4411 living_potion_swirls_ambient: Default::default(),
4412 living_stuck_arrow_count: Default::default(),
4413 living_stinger_count: Default::default(),
4414 living_sleeping_position: Default::default(),
4415 entity: Default::default(),
4416 entity_flags: Default::default(),
4417 entity_air: Default::default(),
4418 entity_custom_name: Default::default(),
4419 entity_name_visible: Default::default(),
4420 entity_silent: Default::default(),
4421 entity_no_gravity: Default::default(),
4422 entity_pose: Default::default(),
4423 entity_frozen_ticks: Default::default(),
4424 kind: super::EntityKind::ENDERMITE,
4425 id: Default::default(),
4426 uuid: Default::default(),
4427 layer: Default::default(),
4428 old_layer: Default::default(),
4429 position: Default::default(),
4430 old_position: Default::default(),
4431 look: Default::default(),
4432 head_yaw: Default::default(),
4433 on_ground: Default::default(),
4434 velocity: Default::default(),
4435 statuses: Default::default(),
4436 animations: Default::default(),
4437 object_data: Default::default(),
4438 tracked_data: Default::default(),
4439 }
4440 }
4441 }
4442 #[doc = "Marker component for `endermite` entities."]
4443 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
4444 pub struct EndermiteEntity;
4445}
4446#[allow(clippy::module_inception)]
4447pub mod entity {
4448 #[derive(
4449 bevy_ecs :: component :: Component,
4450 PartialEq,
4451 Clone,
4452 Debug,
4453 :: derive_more :: Deref,
4454 :: derive_more :: DerefMut,
4455 )]
4456 pub struct Flags(pub i8);
4457 #[allow(clippy::derivable_impls)]
4458 impl Default for Flags {
4459 fn default() -> Self {
4460 Self(0i8)
4461 }
4462 }
4463 #[derive(
4464 bevy_ecs :: component :: Component,
4465 PartialEq,
4466 Clone,
4467 Debug,
4468 :: derive_more :: Deref,
4469 :: derive_more :: DerefMut,
4470 )]
4471 pub struct Air(pub i32);
4472 #[allow(clippy::derivable_impls)]
4473 impl Default for Air {
4474 fn default() -> Self {
4475 Self(300i32)
4476 }
4477 }
4478 #[derive(
4479 bevy_ecs :: component :: Component,
4480 PartialEq,
4481 Clone,
4482 Debug,
4483 :: derive_more :: Deref,
4484 :: derive_more :: DerefMut,
4485 )]
4486 pub struct CustomName(pub Option<valence_protocol::Text>);
4487 #[allow(clippy::derivable_impls)]
4488 impl Default for CustomName {
4489 fn default() -> Self {
4490 Self(None)
4491 }
4492 }
4493 #[derive(
4494 bevy_ecs :: component :: Component,
4495 PartialEq,
4496 Clone,
4497 Debug,
4498 :: derive_more :: Deref,
4499 :: derive_more :: DerefMut,
4500 )]
4501 pub struct NameVisible(pub bool);
4502 #[allow(clippy::derivable_impls)]
4503 impl Default for NameVisible {
4504 fn default() -> Self {
4505 Self(false)
4506 }
4507 }
4508 #[derive(
4509 bevy_ecs :: component :: Component,
4510 PartialEq,
4511 Clone,
4512 Debug,
4513 :: derive_more :: Deref,
4514 :: derive_more :: DerefMut,
4515 )]
4516 pub struct Silent(pub bool);
4517 #[allow(clippy::derivable_impls)]
4518 impl Default for Silent {
4519 fn default() -> Self {
4520 Self(false)
4521 }
4522 }
4523 #[derive(
4524 bevy_ecs :: component :: Component,
4525 PartialEq,
4526 Clone,
4527 Debug,
4528 :: derive_more :: Deref,
4529 :: derive_more :: DerefMut,
4530 )]
4531 pub struct NoGravity(pub bool);
4532 #[allow(clippy::derivable_impls)]
4533 impl Default for NoGravity {
4534 fn default() -> Self {
4535 Self(false)
4536 }
4537 }
4538 #[derive(
4539 bevy_ecs :: component :: Component,
4540 PartialEq,
4541 Clone,
4542 Debug,
4543 :: derive_more :: Deref,
4544 :: derive_more :: DerefMut,
4545 )]
4546 pub struct Pose(pub crate::Pose);
4547 #[allow(clippy::derivable_impls)]
4548 impl Default for Pose {
4549 fn default() -> Self {
4550 Self(crate::Pose::Standing)
4551 }
4552 }
4553 #[derive(
4554 bevy_ecs :: component :: Component,
4555 PartialEq,
4556 Clone,
4557 Debug,
4558 :: derive_more :: Deref,
4559 :: derive_more :: DerefMut,
4560 )]
4561 pub struct FrozenTicks(pub i32);
4562 #[allow(clippy::derivable_impls)]
4563 impl Default for FrozenTicks {
4564 fn default() -> Self {
4565 Self(0i32)
4566 }
4567 }
4568 #[doc = "Marker component for `entity` entities."]
4569 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
4570 pub struct Entity;
4571}
4572#[allow(clippy::module_inception)]
4573pub mod evoker {
4574 #![doc = "Parent class: [`spellcasting_illager`][super::spellcasting_illager]."]
4575 #[doc = "The bundle of components for spawning `evoker` entities."]
4576 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
4577 pub struct EvokerEntityBundle {
4578 pub evoker_entity: super::evoker::EvokerEntity,
4579 pub spellcasting_illager_entity: super::spellcasting_illager::SpellcastingIllagerEntity,
4580 pub spellcasting_illager_spell: super::spellcasting_illager::Spell,
4581 pub illager_entity: super::illager::IllagerEntity,
4582 pub raider_entity: super::raider::RaiderEntity,
4583 pub raider_celebrating: super::raider::Celebrating,
4584 pub patrol_entity: super::patrol::PatrolEntity,
4585 pub hostile_entity: super::hostile::HostileEntity,
4586 pub path_aware_entity: super::path_aware::PathAwareEntity,
4587 pub mob_entity: super::mob::MobEntity,
4588 pub mob_mob_flags: super::mob::MobFlags,
4589 pub living_entity: super::living::LivingEntity,
4590 pub living_absorption: super::living::Absorption,
4591 pub living_attributes: super::attributes::EntityAttributes,
4592 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
4593 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
4594 pub living_living_flags: super::living::LivingFlags,
4595 pub living_health: super::living::Health,
4596 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
4597 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
4598 pub living_stuck_arrow_count: super::living::StuckArrowCount,
4599 pub living_stinger_count: super::living::StingerCount,
4600 pub living_sleeping_position: super::living::SleepingPosition,
4601 pub entity: super::entity::Entity,
4602 pub entity_flags: super::entity::Flags,
4603 pub entity_air: super::entity::Air,
4604 pub entity_custom_name: super::entity::CustomName,
4605 pub entity_name_visible: super::entity::NameVisible,
4606 pub entity_silent: super::entity::Silent,
4607 pub entity_no_gravity: super::entity::NoGravity,
4608 pub entity_pose: super::entity::Pose,
4609 pub entity_frozen_ticks: super::entity::FrozenTicks,
4610 pub kind: super::EntityKind,
4611 pub id: super::EntityId,
4612 pub uuid: super::UniqueId,
4613 pub layer: super::EntityLayerId,
4614 pub old_layer: super::OldEntityLayerId,
4615 pub position: super::Position,
4616 pub old_position: super::OldPosition,
4617 pub look: super::Look,
4618 pub head_yaw: super::HeadYaw,
4619 pub on_ground: super::OnGround,
4620 pub velocity: super::Velocity,
4621 pub statuses: super::EntityStatuses,
4622 pub animations: super::EntityAnimations,
4623 pub object_data: super::ObjectData,
4624 pub tracked_data: super::tracked_data::TrackedData,
4625 }
4626 impl Default for EvokerEntityBundle {
4627 fn default() -> Self {
4628 Self {
4629 evoker_entity: Default::default(),
4630 spellcasting_illager_entity: Default::default(),
4631 spellcasting_illager_spell: Default::default(),
4632 illager_entity: Default::default(),
4633 raider_entity: Default::default(),
4634 raider_celebrating: Default::default(),
4635 patrol_entity: Default::default(),
4636 hostile_entity: Default::default(),
4637 path_aware_entity: Default::default(),
4638 mob_entity: Default::default(),
4639 mob_mob_flags: Default::default(),
4640 living_entity: Default::default(),
4641 living_absorption: Default::default(),
4642 living_attributes: super::attributes::EntityAttributes::new()
4643 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
4644 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
4645 .with_attribute_and_value(
4646 super::EntityAttribute::GenericKnockbackResistance,
4647 0f64,
4648 )
4649 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
4650 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 2f64)
4651 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 12f64)
4652 .with_attribute_and_value(super::EntityAttribute::GenericMovementSpeed, 0.5f64)
4653 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 24f64),
4654 living_attributes_tracker: Default::default(),
4655 living_active_status_effects: Default::default(),
4656 living_living_flags: Default::default(),
4657 living_health: Default::default(),
4658 living_potion_swirls_color: Default::default(),
4659 living_potion_swirls_ambient: Default::default(),
4660 living_stuck_arrow_count: Default::default(),
4661 living_stinger_count: Default::default(),
4662 living_sleeping_position: Default::default(),
4663 entity: Default::default(),
4664 entity_flags: Default::default(),
4665 entity_air: Default::default(),
4666 entity_custom_name: Default::default(),
4667 entity_name_visible: Default::default(),
4668 entity_silent: Default::default(),
4669 entity_no_gravity: Default::default(),
4670 entity_pose: Default::default(),
4671 entity_frozen_ticks: Default::default(),
4672 kind: super::EntityKind::EVOKER,
4673 id: Default::default(),
4674 uuid: Default::default(),
4675 layer: Default::default(),
4676 old_layer: Default::default(),
4677 position: Default::default(),
4678 old_position: Default::default(),
4679 look: Default::default(),
4680 head_yaw: Default::default(),
4681 on_ground: Default::default(),
4682 velocity: Default::default(),
4683 statuses: Default::default(),
4684 animations: Default::default(),
4685 object_data: Default::default(),
4686 tracked_data: Default::default(),
4687 }
4688 }
4689 }
4690 #[doc = "Marker component for `evoker` entities."]
4691 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
4692 pub struct EvokerEntity;
4693}
4694#[allow(clippy::module_inception)]
4695pub mod evoker_fangs {
4696 #![doc = "Parent class: [`entity`][super::entity]."]
4697 #[doc = "The bundle of components for spawning `evoker_fangs` entities."]
4698 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
4699 pub struct EvokerFangsEntityBundle {
4700 pub evoker_fangs_entity: super::evoker_fangs::EvokerFangsEntity,
4701 pub entity: super::entity::Entity,
4702 pub entity_flags: super::entity::Flags,
4703 pub entity_air: super::entity::Air,
4704 pub entity_custom_name: super::entity::CustomName,
4705 pub entity_name_visible: super::entity::NameVisible,
4706 pub entity_silent: super::entity::Silent,
4707 pub entity_no_gravity: super::entity::NoGravity,
4708 pub entity_pose: super::entity::Pose,
4709 pub entity_frozen_ticks: super::entity::FrozenTicks,
4710 pub kind: super::EntityKind,
4711 pub id: super::EntityId,
4712 pub uuid: super::UniqueId,
4713 pub layer: super::EntityLayerId,
4714 pub old_layer: super::OldEntityLayerId,
4715 pub position: super::Position,
4716 pub old_position: super::OldPosition,
4717 pub look: super::Look,
4718 pub head_yaw: super::HeadYaw,
4719 pub on_ground: super::OnGround,
4720 pub velocity: super::Velocity,
4721 pub statuses: super::EntityStatuses,
4722 pub animations: super::EntityAnimations,
4723 pub object_data: super::ObjectData,
4724 pub tracked_data: super::tracked_data::TrackedData,
4725 }
4726 impl Default for EvokerFangsEntityBundle {
4727 fn default() -> Self {
4728 Self {
4729 evoker_fangs_entity: Default::default(),
4730 entity: Default::default(),
4731 entity_flags: Default::default(),
4732 entity_air: Default::default(),
4733 entity_custom_name: Default::default(),
4734 entity_name_visible: Default::default(),
4735 entity_silent: Default::default(),
4736 entity_no_gravity: Default::default(),
4737 entity_pose: Default::default(),
4738 entity_frozen_ticks: Default::default(),
4739 kind: super::EntityKind::EVOKER_FANGS,
4740 id: Default::default(),
4741 uuid: Default::default(),
4742 layer: Default::default(),
4743 old_layer: Default::default(),
4744 position: Default::default(),
4745 old_position: Default::default(),
4746 look: Default::default(),
4747 head_yaw: Default::default(),
4748 on_ground: Default::default(),
4749 velocity: Default::default(),
4750 statuses: Default::default(),
4751 animations: Default::default(),
4752 object_data: Default::default(),
4753 tracked_data: Default::default(),
4754 }
4755 }
4756 }
4757 #[doc = "Marker component for `evoker_fangs` entities."]
4758 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
4759 pub struct EvokerFangsEntity;
4760}
4761#[allow(clippy::module_inception)]
4762pub mod experience_bottle {
4763 #![doc = "Parent class: [`thrown_item`][super::thrown_item]."]
4764 #[doc = "The bundle of components for spawning `experience_bottle` entities."]
4765 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
4766 pub struct ExperienceBottleEntityBundle {
4767 pub experience_bottle_entity: super::experience_bottle::ExperienceBottleEntity,
4768 pub thrown_item_entity: super::thrown_item::ThrownItemEntity,
4769 pub thrown_item_item: super::thrown_item::Item,
4770 pub thrown_entity: super::thrown::ThrownEntity,
4771 pub projectile_entity: super::projectile::ProjectileEntity,
4772 pub entity: super::entity::Entity,
4773 pub entity_flags: super::entity::Flags,
4774 pub entity_air: super::entity::Air,
4775 pub entity_custom_name: super::entity::CustomName,
4776 pub entity_name_visible: super::entity::NameVisible,
4777 pub entity_silent: super::entity::Silent,
4778 pub entity_no_gravity: super::entity::NoGravity,
4779 pub entity_pose: super::entity::Pose,
4780 pub entity_frozen_ticks: super::entity::FrozenTicks,
4781 pub kind: super::EntityKind,
4782 pub id: super::EntityId,
4783 pub uuid: super::UniqueId,
4784 pub layer: super::EntityLayerId,
4785 pub old_layer: super::OldEntityLayerId,
4786 pub position: super::Position,
4787 pub old_position: super::OldPosition,
4788 pub look: super::Look,
4789 pub head_yaw: super::HeadYaw,
4790 pub on_ground: super::OnGround,
4791 pub velocity: super::Velocity,
4792 pub statuses: super::EntityStatuses,
4793 pub animations: super::EntityAnimations,
4794 pub object_data: super::ObjectData,
4795 pub tracked_data: super::tracked_data::TrackedData,
4796 }
4797 impl Default for ExperienceBottleEntityBundle {
4798 fn default() -> Self {
4799 Self {
4800 experience_bottle_entity: Default::default(),
4801 thrown_item_entity: Default::default(),
4802 thrown_item_item: Default::default(),
4803 thrown_entity: Default::default(),
4804 projectile_entity: Default::default(),
4805 entity: Default::default(),
4806 entity_flags: Default::default(),
4807 entity_air: Default::default(),
4808 entity_custom_name: Default::default(),
4809 entity_name_visible: Default::default(),
4810 entity_silent: Default::default(),
4811 entity_no_gravity: Default::default(),
4812 entity_pose: Default::default(),
4813 entity_frozen_ticks: Default::default(),
4814 kind: super::EntityKind::EXPERIENCE_BOTTLE,
4815 id: Default::default(),
4816 uuid: Default::default(),
4817 layer: Default::default(),
4818 old_layer: Default::default(),
4819 position: Default::default(),
4820 old_position: Default::default(),
4821 look: Default::default(),
4822 head_yaw: Default::default(),
4823 on_ground: Default::default(),
4824 velocity: Default::default(),
4825 statuses: Default::default(),
4826 animations: Default::default(),
4827 object_data: Default::default(),
4828 tracked_data: Default::default(),
4829 }
4830 }
4831 }
4832 #[doc = "Marker component for `experience_bottle` entities."]
4833 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
4834 pub struct ExperienceBottleEntity;
4835}
4836#[allow(clippy::module_inception)]
4837pub mod experience_orb {
4838 #![doc = "Parent class: [`entity`][super::entity]."]
4839 #[doc = "The bundle of components for spawning `experience_orb` entities."]
4840 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
4841 pub struct ExperienceOrbEntityBundle {
4842 pub experience_orb_entity: super::experience_orb::ExperienceOrbEntity,
4843 pub entity: super::entity::Entity,
4844 pub entity_flags: super::entity::Flags,
4845 pub entity_air: super::entity::Air,
4846 pub entity_custom_name: super::entity::CustomName,
4847 pub entity_name_visible: super::entity::NameVisible,
4848 pub entity_silent: super::entity::Silent,
4849 pub entity_no_gravity: super::entity::NoGravity,
4850 pub entity_pose: super::entity::Pose,
4851 pub entity_frozen_ticks: super::entity::FrozenTicks,
4852 pub kind: super::EntityKind,
4853 pub id: super::EntityId,
4854 pub uuid: super::UniqueId,
4855 pub layer: super::EntityLayerId,
4856 pub old_layer: super::OldEntityLayerId,
4857 pub position: super::Position,
4858 pub old_position: super::OldPosition,
4859 pub look: super::Look,
4860 pub head_yaw: super::HeadYaw,
4861 pub on_ground: super::OnGround,
4862 pub velocity: super::Velocity,
4863 pub statuses: super::EntityStatuses,
4864 pub animations: super::EntityAnimations,
4865 pub object_data: super::ObjectData,
4866 pub tracked_data: super::tracked_data::TrackedData,
4867 }
4868 impl Default for ExperienceOrbEntityBundle {
4869 fn default() -> Self {
4870 Self {
4871 experience_orb_entity: Default::default(),
4872 entity: Default::default(),
4873 entity_flags: Default::default(),
4874 entity_air: Default::default(),
4875 entity_custom_name: Default::default(),
4876 entity_name_visible: Default::default(),
4877 entity_silent: Default::default(),
4878 entity_no_gravity: Default::default(),
4879 entity_pose: Default::default(),
4880 entity_frozen_ticks: Default::default(),
4881 kind: super::EntityKind::EXPERIENCE_ORB,
4882 id: Default::default(),
4883 uuid: Default::default(),
4884 layer: Default::default(),
4885 old_layer: Default::default(),
4886 position: Default::default(),
4887 old_position: Default::default(),
4888 look: Default::default(),
4889 head_yaw: Default::default(),
4890 on_ground: Default::default(),
4891 velocity: Default::default(),
4892 statuses: Default::default(),
4893 animations: Default::default(),
4894 object_data: Default::default(),
4895 tracked_data: Default::default(),
4896 }
4897 }
4898 }
4899 #[doc = "Marker component for `experience_orb` entities."]
4900 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
4901 pub struct ExperienceOrbEntity;
4902}
4903#[allow(clippy::module_inception)]
4904pub mod explosive_projectile {
4905 #![doc = "Parent class: [`projectile`][super::projectile]."]
4906 #[doc = "Marker component for `explosive_projectile` entities."]
4907 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
4908 pub struct ExplosiveProjectileEntity;
4909}
4910#[allow(clippy::module_inception)]
4911pub mod eye_of_ender {
4912 #![doc = "Parent class: [`entity`][super::entity]."]
4913 #[doc = "The bundle of components for spawning `eye_of_ender` entities."]
4914 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
4915 pub struct EyeOfEnderEntityBundle {
4916 pub eye_of_ender_entity: super::eye_of_ender::EyeOfEnderEntity,
4917 pub eye_of_ender_item: super::eye_of_ender::Item,
4918 pub entity: super::entity::Entity,
4919 pub entity_flags: super::entity::Flags,
4920 pub entity_air: super::entity::Air,
4921 pub entity_custom_name: super::entity::CustomName,
4922 pub entity_name_visible: super::entity::NameVisible,
4923 pub entity_silent: super::entity::Silent,
4924 pub entity_no_gravity: super::entity::NoGravity,
4925 pub entity_pose: super::entity::Pose,
4926 pub entity_frozen_ticks: super::entity::FrozenTicks,
4927 pub kind: super::EntityKind,
4928 pub id: super::EntityId,
4929 pub uuid: super::UniqueId,
4930 pub layer: super::EntityLayerId,
4931 pub old_layer: super::OldEntityLayerId,
4932 pub position: super::Position,
4933 pub old_position: super::OldPosition,
4934 pub look: super::Look,
4935 pub head_yaw: super::HeadYaw,
4936 pub on_ground: super::OnGround,
4937 pub velocity: super::Velocity,
4938 pub statuses: super::EntityStatuses,
4939 pub animations: super::EntityAnimations,
4940 pub object_data: super::ObjectData,
4941 pub tracked_data: super::tracked_data::TrackedData,
4942 }
4943 impl Default for EyeOfEnderEntityBundle {
4944 fn default() -> Self {
4945 Self {
4946 eye_of_ender_entity: Default::default(),
4947 eye_of_ender_item: Default::default(),
4948 entity: Default::default(),
4949 entity_flags: Default::default(),
4950 entity_air: Default::default(),
4951 entity_custom_name: Default::default(),
4952 entity_name_visible: Default::default(),
4953 entity_silent: Default::default(),
4954 entity_no_gravity: Default::default(),
4955 entity_pose: Default::default(),
4956 entity_frozen_ticks: Default::default(),
4957 kind: super::EntityKind::EYE_OF_ENDER,
4958 id: Default::default(),
4959 uuid: Default::default(),
4960 layer: Default::default(),
4961 old_layer: Default::default(),
4962 position: Default::default(),
4963 old_position: Default::default(),
4964 look: Default::default(),
4965 head_yaw: Default::default(),
4966 on_ground: Default::default(),
4967 velocity: Default::default(),
4968 statuses: Default::default(),
4969 animations: Default::default(),
4970 object_data: Default::default(),
4971 tracked_data: Default::default(),
4972 }
4973 }
4974 }
4975 #[derive(
4976 bevy_ecs :: component :: Component,
4977 PartialEq,
4978 Clone,
4979 Debug,
4980 :: derive_more :: Deref,
4981 :: derive_more :: DerefMut,
4982 )]
4983 pub struct Item(pub valence_protocol::ItemStack);
4984 #[allow(clippy::derivable_impls)]
4985 impl Default for Item {
4986 fn default() -> Self {
4987 Self(valence_protocol::ItemStack::default())
4988 }
4989 }
4990 #[doc = "Marker component for `eye_of_ender` entities."]
4991 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
4992 pub struct EyeOfEnderEntity;
4993}
4994#[allow(clippy::module_inception)]
4995pub mod falling_block {
4996 #![doc = "Parent class: [`entity`][super::entity]."]
4997 #[doc = "The bundle of components for spawning `falling_block` entities."]
4998 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
4999 pub struct FallingBlockEntityBundle {
5000 pub falling_block_entity: super::falling_block::FallingBlockEntity,
5001 pub falling_block_block_pos: super::falling_block::BlockPos,
5002 pub entity: super::entity::Entity,
5003 pub entity_flags: super::entity::Flags,
5004 pub entity_air: super::entity::Air,
5005 pub entity_custom_name: super::entity::CustomName,
5006 pub entity_name_visible: super::entity::NameVisible,
5007 pub entity_silent: super::entity::Silent,
5008 pub entity_no_gravity: super::entity::NoGravity,
5009 pub entity_pose: super::entity::Pose,
5010 pub entity_frozen_ticks: super::entity::FrozenTicks,
5011 pub kind: super::EntityKind,
5012 pub id: super::EntityId,
5013 pub uuid: super::UniqueId,
5014 pub layer: super::EntityLayerId,
5015 pub old_layer: super::OldEntityLayerId,
5016 pub position: super::Position,
5017 pub old_position: super::OldPosition,
5018 pub look: super::Look,
5019 pub head_yaw: super::HeadYaw,
5020 pub on_ground: super::OnGround,
5021 pub velocity: super::Velocity,
5022 pub statuses: super::EntityStatuses,
5023 pub animations: super::EntityAnimations,
5024 pub object_data: super::ObjectData,
5025 pub tracked_data: super::tracked_data::TrackedData,
5026 }
5027 impl Default for FallingBlockEntityBundle {
5028 fn default() -> Self {
5029 Self {
5030 falling_block_entity: Default::default(),
5031 falling_block_block_pos: Default::default(),
5032 entity: Default::default(),
5033 entity_flags: Default::default(),
5034 entity_air: Default::default(),
5035 entity_custom_name: Default::default(),
5036 entity_name_visible: Default::default(),
5037 entity_silent: Default::default(),
5038 entity_no_gravity: Default::default(),
5039 entity_pose: Default::default(),
5040 entity_frozen_ticks: Default::default(),
5041 kind: super::EntityKind::FALLING_BLOCK,
5042 id: Default::default(),
5043 uuid: Default::default(),
5044 layer: Default::default(),
5045 old_layer: Default::default(),
5046 position: Default::default(),
5047 old_position: Default::default(),
5048 look: Default::default(),
5049 head_yaw: Default::default(),
5050 on_ground: Default::default(),
5051 velocity: Default::default(),
5052 statuses: Default::default(),
5053 animations: Default::default(),
5054 object_data: Default::default(),
5055 tracked_data: Default::default(),
5056 }
5057 }
5058 }
5059 #[derive(
5060 bevy_ecs :: component :: Component,
5061 PartialEq,
5062 Clone,
5063 Debug,
5064 :: derive_more :: Deref,
5065 :: derive_more :: DerefMut,
5066 )]
5067 pub struct BlockPos(pub valence_protocol::BlockPos);
5068 #[allow(clippy::derivable_impls)]
5069 impl Default for BlockPos {
5070 fn default() -> Self {
5071 Self(valence_protocol::BlockPos {
5072 x: 0i32,
5073 y: 0i32,
5074 z: 0i32,
5075 })
5076 }
5077 }
5078 #[doc = "Marker component for `falling_block` entities."]
5079 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
5080 pub struct FallingBlockEntity;
5081}
5082#[allow(clippy::module_inception)]
5083pub mod fireball {
5084 #![doc = "Parent class: [`abstract_fireball`][super::abstract_fireball]."]
5085 #[doc = "The bundle of components for spawning `fireball` entities."]
5086 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
5087 pub struct FireballEntityBundle {
5088 pub fireball_entity: super::fireball::FireballEntity,
5089 pub abstract_fireball_entity: super::abstract_fireball::AbstractFireballEntity,
5090 pub abstract_fireball_item: super::abstract_fireball::Item,
5091 pub explosive_projectile_entity: super::explosive_projectile::ExplosiveProjectileEntity,
5092 pub projectile_entity: super::projectile::ProjectileEntity,
5093 pub entity: super::entity::Entity,
5094 pub entity_flags: super::entity::Flags,
5095 pub entity_air: super::entity::Air,
5096 pub entity_custom_name: super::entity::CustomName,
5097 pub entity_name_visible: super::entity::NameVisible,
5098 pub entity_silent: super::entity::Silent,
5099 pub entity_no_gravity: super::entity::NoGravity,
5100 pub entity_pose: super::entity::Pose,
5101 pub entity_frozen_ticks: super::entity::FrozenTicks,
5102 pub kind: super::EntityKind,
5103 pub id: super::EntityId,
5104 pub uuid: super::UniqueId,
5105 pub layer: super::EntityLayerId,
5106 pub old_layer: super::OldEntityLayerId,
5107 pub position: super::Position,
5108 pub old_position: super::OldPosition,
5109 pub look: super::Look,
5110 pub head_yaw: super::HeadYaw,
5111 pub on_ground: super::OnGround,
5112 pub velocity: super::Velocity,
5113 pub statuses: super::EntityStatuses,
5114 pub animations: super::EntityAnimations,
5115 pub object_data: super::ObjectData,
5116 pub tracked_data: super::tracked_data::TrackedData,
5117 }
5118 impl Default for FireballEntityBundle {
5119 fn default() -> Self {
5120 Self {
5121 fireball_entity: Default::default(),
5122 abstract_fireball_entity: Default::default(),
5123 abstract_fireball_item: Default::default(),
5124 explosive_projectile_entity: Default::default(),
5125 projectile_entity: Default::default(),
5126 entity: Default::default(),
5127 entity_flags: Default::default(),
5128 entity_air: Default::default(),
5129 entity_custom_name: Default::default(),
5130 entity_name_visible: Default::default(),
5131 entity_silent: Default::default(),
5132 entity_no_gravity: Default::default(),
5133 entity_pose: Default::default(),
5134 entity_frozen_ticks: Default::default(),
5135 kind: super::EntityKind::FIREBALL,
5136 id: Default::default(),
5137 uuid: Default::default(),
5138 layer: Default::default(),
5139 old_layer: Default::default(),
5140 position: Default::default(),
5141 old_position: Default::default(),
5142 look: Default::default(),
5143 head_yaw: Default::default(),
5144 on_ground: Default::default(),
5145 velocity: Default::default(),
5146 statuses: Default::default(),
5147 animations: Default::default(),
5148 object_data: Default::default(),
5149 tracked_data: Default::default(),
5150 }
5151 }
5152 }
5153 #[doc = "Marker component for `fireball` entities."]
5154 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
5155 pub struct FireballEntity;
5156}
5157#[allow(clippy::module_inception)]
5158pub mod firework_rocket {
5159 #![doc = "Parent class: [`projectile`][super::projectile]."]
5160 #[doc = "The bundle of components for spawning `firework_rocket` entities."]
5161 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
5162 pub struct FireworkRocketEntityBundle {
5163 pub firework_rocket_entity: super::firework_rocket::FireworkRocketEntity,
5164 pub firework_rocket_item: super::firework_rocket::Item,
5165 pub firework_rocket_shooter_entity_id: super::firework_rocket::ShooterEntityId,
5166 pub firework_rocket_shot_at_angle: super::firework_rocket::ShotAtAngle,
5167 pub projectile_entity: super::projectile::ProjectileEntity,
5168 pub entity: super::entity::Entity,
5169 pub entity_flags: super::entity::Flags,
5170 pub entity_air: super::entity::Air,
5171 pub entity_custom_name: super::entity::CustomName,
5172 pub entity_name_visible: super::entity::NameVisible,
5173 pub entity_silent: super::entity::Silent,
5174 pub entity_no_gravity: super::entity::NoGravity,
5175 pub entity_pose: super::entity::Pose,
5176 pub entity_frozen_ticks: super::entity::FrozenTicks,
5177 pub kind: super::EntityKind,
5178 pub id: super::EntityId,
5179 pub uuid: super::UniqueId,
5180 pub layer: super::EntityLayerId,
5181 pub old_layer: super::OldEntityLayerId,
5182 pub position: super::Position,
5183 pub old_position: super::OldPosition,
5184 pub look: super::Look,
5185 pub head_yaw: super::HeadYaw,
5186 pub on_ground: super::OnGround,
5187 pub velocity: super::Velocity,
5188 pub statuses: super::EntityStatuses,
5189 pub animations: super::EntityAnimations,
5190 pub object_data: super::ObjectData,
5191 pub tracked_data: super::tracked_data::TrackedData,
5192 }
5193 impl Default for FireworkRocketEntityBundle {
5194 fn default() -> Self {
5195 Self {
5196 firework_rocket_entity: Default::default(),
5197 firework_rocket_item: Default::default(),
5198 firework_rocket_shooter_entity_id: Default::default(),
5199 firework_rocket_shot_at_angle: Default::default(),
5200 projectile_entity: Default::default(),
5201 entity: Default::default(),
5202 entity_flags: Default::default(),
5203 entity_air: Default::default(),
5204 entity_custom_name: Default::default(),
5205 entity_name_visible: Default::default(),
5206 entity_silent: Default::default(),
5207 entity_no_gravity: Default::default(),
5208 entity_pose: Default::default(),
5209 entity_frozen_ticks: Default::default(),
5210 kind: super::EntityKind::FIREWORK_ROCKET,
5211 id: Default::default(),
5212 uuid: Default::default(),
5213 layer: Default::default(),
5214 old_layer: Default::default(),
5215 position: Default::default(),
5216 old_position: Default::default(),
5217 look: Default::default(),
5218 head_yaw: Default::default(),
5219 on_ground: Default::default(),
5220 velocity: Default::default(),
5221 statuses: Default::default(),
5222 animations: Default::default(),
5223 object_data: Default::default(),
5224 tracked_data: Default::default(),
5225 }
5226 }
5227 }
5228 #[derive(
5229 bevy_ecs :: component :: Component,
5230 PartialEq,
5231 Clone,
5232 Debug,
5233 :: derive_more :: Deref,
5234 :: derive_more :: DerefMut,
5235 )]
5236 pub struct Item(pub valence_protocol::ItemStack);
5237 #[allow(clippy::derivable_impls)]
5238 impl Default for Item {
5239 fn default() -> Self {
5240 Self(valence_protocol::ItemStack::default())
5241 }
5242 }
5243 #[derive(
5244 bevy_ecs :: component :: Component,
5245 PartialEq,
5246 Clone,
5247 Debug,
5248 :: derive_more :: Deref,
5249 :: derive_more :: DerefMut,
5250 )]
5251 pub struct ShooterEntityId(pub Option<i32>);
5252 #[allow(clippy::derivable_impls)]
5253 impl Default for ShooterEntityId {
5254 fn default() -> Self {
5255 Self(None)
5256 }
5257 }
5258 #[derive(
5259 bevy_ecs :: component :: Component,
5260 PartialEq,
5261 Clone,
5262 Debug,
5263 :: derive_more :: Deref,
5264 :: derive_more :: DerefMut,
5265 )]
5266 pub struct ShotAtAngle(pub bool);
5267 #[allow(clippy::derivable_impls)]
5268 impl Default for ShotAtAngle {
5269 fn default() -> Self {
5270 Self(false)
5271 }
5272 }
5273 #[doc = "Marker component for `firework_rocket` entities."]
5274 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
5275 pub struct FireworkRocketEntity;
5276}
5277#[allow(clippy::module_inception)]
5278pub mod fish {
5279 #![doc = "Parent class: [`water_creature`][super::water_creature]."]
5280 #[derive(
5281 bevy_ecs :: component :: Component,
5282 PartialEq,
5283 Clone,
5284 Debug,
5285 :: derive_more :: Deref,
5286 :: derive_more :: DerefMut,
5287 )]
5288 pub struct FromBucket(pub bool);
5289 #[allow(clippy::derivable_impls)]
5290 impl Default for FromBucket {
5291 fn default() -> Self {
5292 Self(false)
5293 }
5294 }
5295 #[doc = "Marker component for `fish` entities."]
5296 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
5297 pub struct FishEntity;
5298}
5299#[allow(clippy::module_inception)]
5300pub mod fishing_bobber {
5301 #![doc = "Parent class: [`projectile`][super::projectile]."]
5302 #[doc = "The bundle of components for spawning `fishing_bobber` entities."]
5303 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
5304 pub struct FishingBobberEntityBundle {
5305 pub fishing_bobber_entity: super::fishing_bobber::FishingBobberEntity,
5306 pub fishing_bobber_hook_entity_id: super::fishing_bobber::HookEntityId,
5307 pub fishing_bobber_caught_fish: super::fishing_bobber::CaughtFish,
5308 pub projectile_entity: super::projectile::ProjectileEntity,
5309 pub entity: super::entity::Entity,
5310 pub entity_flags: super::entity::Flags,
5311 pub entity_air: super::entity::Air,
5312 pub entity_custom_name: super::entity::CustomName,
5313 pub entity_name_visible: super::entity::NameVisible,
5314 pub entity_silent: super::entity::Silent,
5315 pub entity_no_gravity: super::entity::NoGravity,
5316 pub entity_pose: super::entity::Pose,
5317 pub entity_frozen_ticks: super::entity::FrozenTicks,
5318 pub kind: super::EntityKind,
5319 pub id: super::EntityId,
5320 pub uuid: super::UniqueId,
5321 pub layer: super::EntityLayerId,
5322 pub old_layer: super::OldEntityLayerId,
5323 pub position: super::Position,
5324 pub old_position: super::OldPosition,
5325 pub look: super::Look,
5326 pub head_yaw: super::HeadYaw,
5327 pub on_ground: super::OnGround,
5328 pub velocity: super::Velocity,
5329 pub statuses: super::EntityStatuses,
5330 pub animations: super::EntityAnimations,
5331 pub object_data: super::ObjectData,
5332 pub tracked_data: super::tracked_data::TrackedData,
5333 }
5334 impl Default for FishingBobberEntityBundle {
5335 fn default() -> Self {
5336 Self {
5337 fishing_bobber_entity: Default::default(),
5338 fishing_bobber_hook_entity_id: Default::default(),
5339 fishing_bobber_caught_fish: Default::default(),
5340 projectile_entity: Default::default(),
5341 entity: Default::default(),
5342 entity_flags: Default::default(),
5343 entity_air: Default::default(),
5344 entity_custom_name: Default::default(),
5345 entity_name_visible: Default::default(),
5346 entity_silent: Default::default(),
5347 entity_no_gravity: Default::default(),
5348 entity_pose: Default::default(),
5349 entity_frozen_ticks: Default::default(),
5350 kind: super::EntityKind::FISHING_BOBBER,
5351 id: Default::default(),
5352 uuid: Default::default(),
5353 layer: Default::default(),
5354 old_layer: Default::default(),
5355 position: Default::default(),
5356 old_position: Default::default(),
5357 look: Default::default(),
5358 head_yaw: Default::default(),
5359 on_ground: Default::default(),
5360 velocity: Default::default(),
5361 statuses: Default::default(),
5362 animations: Default::default(),
5363 object_data: Default::default(),
5364 tracked_data: Default::default(),
5365 }
5366 }
5367 }
5368 #[derive(
5369 bevy_ecs :: component :: Component,
5370 PartialEq,
5371 Clone,
5372 Debug,
5373 :: derive_more :: Deref,
5374 :: derive_more :: DerefMut,
5375 )]
5376 pub struct HookEntityId(pub i32);
5377 #[allow(clippy::derivable_impls)]
5378 impl Default for HookEntityId {
5379 fn default() -> Self {
5380 Self(0i32)
5381 }
5382 }
5383 #[derive(
5384 bevy_ecs :: component :: Component,
5385 PartialEq,
5386 Clone,
5387 Debug,
5388 :: derive_more :: Deref,
5389 :: derive_more :: DerefMut,
5390 )]
5391 pub struct CaughtFish(pub bool);
5392 #[allow(clippy::derivable_impls)]
5393 impl Default for CaughtFish {
5394 fn default() -> Self {
5395 Self(false)
5396 }
5397 }
5398 #[doc = "Marker component for `fishing_bobber` entities."]
5399 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
5400 pub struct FishingBobberEntity;
5401}
5402#[allow(clippy::module_inception)]
5403pub mod flying {
5404 #![doc = "Parent class: [`mob`][super::mob]."]
5405 #[doc = "Marker component for `flying` entities."]
5406 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
5407 pub struct FlyingEntity;
5408}
5409#[allow(clippy::module_inception)]
5410pub mod fox {
5411 #![doc = "Parent class: [`animal`][super::animal]."]
5412 #[doc = "The bundle of components for spawning `fox` entities."]
5413 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
5414 pub struct FoxEntityBundle {
5415 pub fox_entity: super::fox::FoxEntity,
5416 pub fox_type: super::fox::Type,
5417 pub fox_fox_flags: super::fox::FoxFlags,
5418 pub fox_owner: super::fox::Owner,
5419 pub fox_other_trusted: super::fox::OtherTrusted,
5420 pub animal_entity: super::animal::AnimalEntity,
5421 pub passive_entity: super::passive::PassiveEntity,
5422 pub passive_child: super::passive::Child,
5423 pub path_aware_entity: super::path_aware::PathAwareEntity,
5424 pub mob_entity: super::mob::MobEntity,
5425 pub mob_mob_flags: super::mob::MobFlags,
5426 pub living_entity: super::living::LivingEntity,
5427 pub living_absorption: super::living::Absorption,
5428 pub living_attributes: super::attributes::EntityAttributes,
5429 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
5430 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
5431 pub living_living_flags: super::living::LivingFlags,
5432 pub living_health: super::living::Health,
5433 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
5434 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
5435 pub living_stuck_arrow_count: super::living::StuckArrowCount,
5436 pub living_stinger_count: super::living::StingerCount,
5437 pub living_sleeping_position: super::living::SleepingPosition,
5438 pub entity: super::entity::Entity,
5439 pub entity_flags: super::entity::Flags,
5440 pub entity_air: super::entity::Air,
5441 pub entity_custom_name: super::entity::CustomName,
5442 pub entity_name_visible: super::entity::NameVisible,
5443 pub entity_silent: super::entity::Silent,
5444 pub entity_no_gravity: super::entity::NoGravity,
5445 pub entity_pose: super::entity::Pose,
5446 pub entity_frozen_ticks: super::entity::FrozenTicks,
5447 pub kind: super::EntityKind,
5448 pub id: super::EntityId,
5449 pub uuid: super::UniqueId,
5450 pub layer: super::EntityLayerId,
5451 pub old_layer: super::OldEntityLayerId,
5452 pub position: super::Position,
5453 pub old_position: super::OldPosition,
5454 pub look: super::Look,
5455 pub head_yaw: super::HeadYaw,
5456 pub on_ground: super::OnGround,
5457 pub velocity: super::Velocity,
5458 pub statuses: super::EntityStatuses,
5459 pub animations: super::EntityAnimations,
5460 pub object_data: super::ObjectData,
5461 pub tracked_data: super::tracked_data::TrackedData,
5462 }
5463 impl Default for FoxEntityBundle {
5464 fn default() -> Self {
5465 Self {
5466 fox_entity: Default::default(),
5467 fox_type: Default::default(),
5468 fox_fox_flags: Default::default(),
5469 fox_owner: Default::default(),
5470 fox_other_trusted: Default::default(),
5471 animal_entity: Default::default(),
5472 passive_entity: Default::default(),
5473 passive_child: Default::default(),
5474 path_aware_entity: Default::default(),
5475 mob_entity: Default::default(),
5476 mob_mob_flags: Default::default(),
5477 living_entity: Default::default(),
5478 living_absorption: Default::default(),
5479 living_attributes: super::attributes::EntityAttributes::new()
5480 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
5481 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
5482 .with_attribute_and_value(
5483 super::EntityAttribute::GenericKnockbackResistance,
5484 0f64,
5485 )
5486 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
5487 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 2f64)
5488 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 32f64)
5489 .with_attribute_and_value(
5490 super::EntityAttribute::GenericMovementSpeed,
5491 0.30000001192092896f64,
5492 )
5493 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 10f64),
5494 living_attributes_tracker: Default::default(),
5495 living_active_status_effects: Default::default(),
5496 living_living_flags: Default::default(),
5497 living_health: Default::default(),
5498 living_potion_swirls_color: Default::default(),
5499 living_potion_swirls_ambient: Default::default(),
5500 living_stuck_arrow_count: Default::default(),
5501 living_stinger_count: Default::default(),
5502 living_sleeping_position: Default::default(),
5503 entity: Default::default(),
5504 entity_flags: Default::default(),
5505 entity_air: Default::default(),
5506 entity_custom_name: Default::default(),
5507 entity_name_visible: Default::default(),
5508 entity_silent: Default::default(),
5509 entity_no_gravity: Default::default(),
5510 entity_pose: Default::default(),
5511 entity_frozen_ticks: Default::default(),
5512 kind: super::EntityKind::FOX,
5513 id: Default::default(),
5514 uuid: Default::default(),
5515 layer: Default::default(),
5516 old_layer: Default::default(),
5517 position: Default::default(),
5518 old_position: Default::default(),
5519 look: Default::default(),
5520 head_yaw: Default::default(),
5521 on_ground: Default::default(),
5522 velocity: Default::default(),
5523 statuses: Default::default(),
5524 animations: Default::default(),
5525 object_data: Default::default(),
5526 tracked_data: Default::default(),
5527 }
5528 }
5529 }
5530 #[derive(
5531 bevy_ecs :: component :: Component,
5532 PartialEq,
5533 Clone,
5534 Debug,
5535 :: derive_more :: Deref,
5536 :: derive_more :: DerefMut,
5537 )]
5538 pub struct Type(pub i32);
5539 #[allow(clippy::derivable_impls)]
5540 impl Default for Type {
5541 fn default() -> Self {
5542 Self(0i32)
5543 }
5544 }
5545 #[derive(
5546 bevy_ecs :: component :: Component,
5547 PartialEq,
5548 Clone,
5549 Debug,
5550 :: derive_more :: Deref,
5551 :: derive_more :: DerefMut,
5552 )]
5553 pub struct FoxFlags(pub i8);
5554 #[allow(clippy::derivable_impls)]
5555 impl Default for FoxFlags {
5556 fn default() -> Self {
5557 Self(0i8)
5558 }
5559 }
5560 #[derive(
5561 bevy_ecs :: component :: Component,
5562 PartialEq,
5563 Clone,
5564 Debug,
5565 :: derive_more :: Deref,
5566 :: derive_more :: DerefMut,
5567 )]
5568 pub struct Owner(pub Option<::uuid::Uuid>);
5569 #[allow(clippy::derivable_impls)]
5570 impl Default for Owner {
5571 fn default() -> Self {
5572 Self(None)
5573 }
5574 }
5575 #[derive(
5576 bevy_ecs :: component :: Component,
5577 PartialEq,
5578 Clone,
5579 Debug,
5580 :: derive_more :: Deref,
5581 :: derive_more :: DerefMut,
5582 )]
5583 pub struct OtherTrusted(pub Option<::uuid::Uuid>);
5584 #[allow(clippy::derivable_impls)]
5585 impl Default for OtherTrusted {
5586 fn default() -> Self {
5587 Self(None)
5588 }
5589 }
5590 #[doc = "Marker component for `fox` entities."]
5591 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
5592 pub struct FoxEntity;
5593}
5594#[allow(clippy::module_inception)]
5595pub mod frog {
5596 #![doc = "Parent class: [`animal`][super::animal]."]
5597 #[doc = "The bundle of components for spawning `frog` entities."]
5598 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
5599 pub struct FrogEntityBundle {
5600 pub frog_entity: super::frog::FrogEntity,
5601 pub frog_variant: super::frog::Variant,
5602 pub frog_target: super::frog::Target,
5603 pub animal_entity: super::animal::AnimalEntity,
5604 pub passive_entity: super::passive::PassiveEntity,
5605 pub passive_child: super::passive::Child,
5606 pub path_aware_entity: super::path_aware::PathAwareEntity,
5607 pub mob_entity: super::mob::MobEntity,
5608 pub mob_mob_flags: super::mob::MobFlags,
5609 pub living_entity: super::living::LivingEntity,
5610 pub living_absorption: super::living::Absorption,
5611 pub living_attributes: super::attributes::EntityAttributes,
5612 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
5613 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
5614 pub living_living_flags: super::living::LivingFlags,
5615 pub living_health: super::living::Health,
5616 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
5617 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
5618 pub living_stuck_arrow_count: super::living::StuckArrowCount,
5619 pub living_stinger_count: super::living::StingerCount,
5620 pub living_sleeping_position: super::living::SleepingPosition,
5621 pub entity: super::entity::Entity,
5622 pub entity_flags: super::entity::Flags,
5623 pub entity_air: super::entity::Air,
5624 pub entity_custom_name: super::entity::CustomName,
5625 pub entity_name_visible: super::entity::NameVisible,
5626 pub entity_silent: super::entity::Silent,
5627 pub entity_no_gravity: super::entity::NoGravity,
5628 pub entity_pose: super::entity::Pose,
5629 pub entity_frozen_ticks: super::entity::FrozenTicks,
5630 pub kind: super::EntityKind,
5631 pub id: super::EntityId,
5632 pub uuid: super::UniqueId,
5633 pub layer: super::EntityLayerId,
5634 pub old_layer: super::OldEntityLayerId,
5635 pub position: super::Position,
5636 pub old_position: super::OldPosition,
5637 pub look: super::Look,
5638 pub head_yaw: super::HeadYaw,
5639 pub on_ground: super::OnGround,
5640 pub velocity: super::Velocity,
5641 pub statuses: super::EntityStatuses,
5642 pub animations: super::EntityAnimations,
5643 pub object_data: super::ObjectData,
5644 pub tracked_data: super::tracked_data::TrackedData,
5645 }
5646 impl Default for FrogEntityBundle {
5647 fn default() -> Self {
5648 Self {
5649 frog_entity: Default::default(),
5650 frog_variant: Default::default(),
5651 frog_target: Default::default(),
5652 animal_entity: Default::default(),
5653 passive_entity: Default::default(),
5654 passive_child: Default::default(),
5655 path_aware_entity: Default::default(),
5656 mob_entity: Default::default(),
5657 mob_mob_flags: Default::default(),
5658 living_entity: Default::default(),
5659 living_absorption: Default::default(),
5660 living_attributes: super::attributes::EntityAttributes::new()
5661 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
5662 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
5663 .with_attribute_and_value(
5664 super::EntityAttribute::GenericKnockbackResistance,
5665 0f64,
5666 )
5667 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
5668 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 10f64)
5669 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
5670 .with_attribute_and_value(super::EntityAttribute::GenericMovementSpeed, 1f64)
5671 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 10f64),
5672 living_attributes_tracker: Default::default(),
5673 living_active_status_effects: Default::default(),
5674 living_living_flags: Default::default(),
5675 living_health: Default::default(),
5676 living_potion_swirls_color: Default::default(),
5677 living_potion_swirls_ambient: Default::default(),
5678 living_stuck_arrow_count: Default::default(),
5679 living_stinger_count: Default::default(),
5680 living_sleeping_position: Default::default(),
5681 entity: Default::default(),
5682 entity_flags: Default::default(),
5683 entity_air: Default::default(),
5684 entity_custom_name: Default::default(),
5685 entity_name_visible: Default::default(),
5686 entity_silent: Default::default(),
5687 entity_no_gravity: Default::default(),
5688 entity_pose: Default::default(),
5689 entity_frozen_ticks: Default::default(),
5690 kind: super::EntityKind::FROG,
5691 id: Default::default(),
5692 uuid: Default::default(),
5693 layer: Default::default(),
5694 old_layer: Default::default(),
5695 position: Default::default(),
5696 old_position: Default::default(),
5697 look: Default::default(),
5698 head_yaw: Default::default(),
5699 on_ground: Default::default(),
5700 velocity: Default::default(),
5701 statuses: Default::default(),
5702 animations: Default::default(),
5703 object_data: Default::default(),
5704 tracked_data: Default::default(),
5705 }
5706 }
5707 }
5708 #[derive(
5709 bevy_ecs :: component :: Component,
5710 PartialEq,
5711 Clone,
5712 Debug,
5713 :: derive_more :: Deref,
5714 :: derive_more :: DerefMut,
5715 )]
5716 pub struct Variant(pub crate::FrogKind);
5717 #[allow(clippy::derivable_impls)]
5718 impl Default for Variant {
5719 fn default() -> Self {
5720 Self(crate::FrogKind::Temperate)
5721 }
5722 }
5723 #[derive(
5724 bevy_ecs :: component :: Component,
5725 PartialEq,
5726 Clone,
5727 Debug,
5728 :: derive_more :: Deref,
5729 :: derive_more :: DerefMut,
5730 )]
5731 pub struct Target(pub Option<i32>);
5732 #[allow(clippy::derivable_impls)]
5733 impl Default for Target {
5734 fn default() -> Self {
5735 Self(None)
5736 }
5737 }
5738 #[doc = "Marker component for `frog` entities."]
5739 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
5740 pub struct FrogEntity;
5741}
5742#[allow(clippy::module_inception)]
5743pub mod furnace_minecart {
5744 #![doc = "Parent class: [`abstract_minecart`][super::abstract_minecart]."]
5745 #[doc = "The bundle of components for spawning `furnace_minecart` entities."]
5746 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
5747 pub struct FurnaceMinecartEntityBundle {
5748 pub furnace_minecart_entity: super::furnace_minecart::FurnaceMinecartEntity,
5749 pub furnace_minecart_lit: super::furnace_minecart::Lit,
5750 pub abstract_minecart_entity: super::abstract_minecart::AbstractMinecartEntity,
5751 pub abstract_minecart_damage_wobble_ticks: super::abstract_minecart::DamageWobbleTicks,
5752 pub abstract_minecart_damage_wobble_side: super::abstract_minecart::DamageWobbleSide,
5753 pub abstract_minecart_damage_wobble_strength:
5754 super::abstract_minecart::DamageWobbleStrength,
5755 pub abstract_minecart_custom_block_id: super::abstract_minecart::CustomBlockId,
5756 pub abstract_minecart_custom_block_offset: super::abstract_minecart::CustomBlockOffset,
5757 pub abstract_minecart_custom_block_present: super::abstract_minecart::CustomBlockPresent,
5758 pub entity: super::entity::Entity,
5759 pub entity_flags: super::entity::Flags,
5760 pub entity_air: super::entity::Air,
5761 pub entity_custom_name: super::entity::CustomName,
5762 pub entity_name_visible: super::entity::NameVisible,
5763 pub entity_silent: super::entity::Silent,
5764 pub entity_no_gravity: super::entity::NoGravity,
5765 pub entity_pose: super::entity::Pose,
5766 pub entity_frozen_ticks: super::entity::FrozenTicks,
5767 pub kind: super::EntityKind,
5768 pub id: super::EntityId,
5769 pub uuid: super::UniqueId,
5770 pub layer: super::EntityLayerId,
5771 pub old_layer: super::OldEntityLayerId,
5772 pub position: super::Position,
5773 pub old_position: super::OldPosition,
5774 pub look: super::Look,
5775 pub head_yaw: super::HeadYaw,
5776 pub on_ground: super::OnGround,
5777 pub velocity: super::Velocity,
5778 pub statuses: super::EntityStatuses,
5779 pub animations: super::EntityAnimations,
5780 pub object_data: super::ObjectData,
5781 pub tracked_data: super::tracked_data::TrackedData,
5782 }
5783 impl Default for FurnaceMinecartEntityBundle {
5784 fn default() -> Self {
5785 Self {
5786 furnace_minecart_entity: Default::default(),
5787 furnace_minecart_lit: Default::default(),
5788 abstract_minecart_entity: Default::default(),
5789 abstract_minecart_damage_wobble_ticks: Default::default(),
5790 abstract_minecart_damage_wobble_side: Default::default(),
5791 abstract_minecart_damage_wobble_strength: Default::default(),
5792 abstract_minecart_custom_block_id: Default::default(),
5793 abstract_minecart_custom_block_offset: Default::default(),
5794 abstract_minecart_custom_block_present: Default::default(),
5795 entity: Default::default(),
5796 entity_flags: Default::default(),
5797 entity_air: Default::default(),
5798 entity_custom_name: Default::default(),
5799 entity_name_visible: Default::default(),
5800 entity_silent: Default::default(),
5801 entity_no_gravity: Default::default(),
5802 entity_pose: Default::default(),
5803 entity_frozen_ticks: Default::default(),
5804 kind: super::EntityKind::FURNACE_MINECART,
5805 id: Default::default(),
5806 uuid: Default::default(),
5807 layer: Default::default(),
5808 old_layer: Default::default(),
5809 position: Default::default(),
5810 old_position: Default::default(),
5811 look: Default::default(),
5812 head_yaw: Default::default(),
5813 on_ground: Default::default(),
5814 velocity: Default::default(),
5815 statuses: Default::default(),
5816 animations: Default::default(),
5817 object_data: Default::default(),
5818 tracked_data: Default::default(),
5819 }
5820 }
5821 }
5822 #[derive(
5823 bevy_ecs :: component :: Component,
5824 PartialEq,
5825 Clone,
5826 Debug,
5827 :: derive_more :: Deref,
5828 :: derive_more :: DerefMut,
5829 )]
5830 pub struct Lit(pub bool);
5831 #[allow(clippy::derivable_impls)]
5832 impl Default for Lit {
5833 fn default() -> Self {
5834 Self(false)
5835 }
5836 }
5837 #[doc = "Marker component for `furnace_minecart` entities."]
5838 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
5839 pub struct FurnaceMinecartEntity;
5840}
5841#[allow(clippy::module_inception)]
5842pub mod ghast {
5843 #![doc = "Parent class: [`flying`][super::flying]."]
5844 #[doc = "The bundle of components for spawning `ghast` entities."]
5845 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
5846 pub struct GhastEntityBundle {
5847 pub ghast_entity: super::ghast::GhastEntity,
5848 pub ghast_shooting: super::ghast::Shooting,
5849 pub flying_entity: super::flying::FlyingEntity,
5850 pub mob_entity: super::mob::MobEntity,
5851 pub mob_mob_flags: super::mob::MobFlags,
5852 pub living_entity: super::living::LivingEntity,
5853 pub living_absorption: super::living::Absorption,
5854 pub living_attributes: super::attributes::EntityAttributes,
5855 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
5856 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
5857 pub living_living_flags: super::living::LivingFlags,
5858 pub living_health: super::living::Health,
5859 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
5860 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
5861 pub living_stuck_arrow_count: super::living::StuckArrowCount,
5862 pub living_stinger_count: super::living::StingerCount,
5863 pub living_sleeping_position: super::living::SleepingPosition,
5864 pub entity: super::entity::Entity,
5865 pub entity_flags: super::entity::Flags,
5866 pub entity_air: super::entity::Air,
5867 pub entity_custom_name: super::entity::CustomName,
5868 pub entity_name_visible: super::entity::NameVisible,
5869 pub entity_silent: super::entity::Silent,
5870 pub entity_no_gravity: super::entity::NoGravity,
5871 pub entity_pose: super::entity::Pose,
5872 pub entity_frozen_ticks: super::entity::FrozenTicks,
5873 pub kind: super::EntityKind,
5874 pub id: super::EntityId,
5875 pub uuid: super::UniqueId,
5876 pub layer: super::EntityLayerId,
5877 pub old_layer: super::OldEntityLayerId,
5878 pub position: super::Position,
5879 pub old_position: super::OldPosition,
5880 pub look: super::Look,
5881 pub head_yaw: super::HeadYaw,
5882 pub on_ground: super::OnGround,
5883 pub velocity: super::Velocity,
5884 pub statuses: super::EntityStatuses,
5885 pub animations: super::EntityAnimations,
5886 pub object_data: super::ObjectData,
5887 pub tracked_data: super::tracked_data::TrackedData,
5888 }
5889 impl Default for GhastEntityBundle {
5890 fn default() -> Self {
5891 Self {
5892 ghast_entity: Default::default(),
5893 ghast_shooting: Default::default(),
5894 flying_entity: Default::default(),
5895 mob_entity: Default::default(),
5896 mob_mob_flags: Default::default(),
5897 living_entity: Default::default(),
5898 living_absorption: Default::default(),
5899 living_attributes: super::attributes::EntityAttributes::new()
5900 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
5901 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
5902 .with_attribute_and_value(
5903 super::EntityAttribute::GenericKnockbackResistance,
5904 0f64,
5905 )
5906 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
5907 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 100f64)
5908 .with_attribute_and_value(
5909 super::EntityAttribute::GenericMovementSpeed,
5910 0.699999988079071f64,
5911 )
5912 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 10f64),
5913 living_attributes_tracker: Default::default(),
5914 living_active_status_effects: Default::default(),
5915 living_living_flags: Default::default(),
5916 living_health: Default::default(),
5917 living_potion_swirls_color: Default::default(),
5918 living_potion_swirls_ambient: Default::default(),
5919 living_stuck_arrow_count: Default::default(),
5920 living_stinger_count: Default::default(),
5921 living_sleeping_position: Default::default(),
5922 entity: Default::default(),
5923 entity_flags: Default::default(),
5924 entity_air: Default::default(),
5925 entity_custom_name: Default::default(),
5926 entity_name_visible: Default::default(),
5927 entity_silent: Default::default(),
5928 entity_no_gravity: Default::default(),
5929 entity_pose: Default::default(),
5930 entity_frozen_ticks: Default::default(),
5931 kind: super::EntityKind::GHAST,
5932 id: Default::default(),
5933 uuid: Default::default(),
5934 layer: Default::default(),
5935 old_layer: Default::default(),
5936 position: Default::default(),
5937 old_position: Default::default(),
5938 look: Default::default(),
5939 head_yaw: Default::default(),
5940 on_ground: Default::default(),
5941 velocity: Default::default(),
5942 statuses: Default::default(),
5943 animations: Default::default(),
5944 object_data: Default::default(),
5945 tracked_data: Default::default(),
5946 }
5947 }
5948 }
5949 #[derive(
5950 bevy_ecs :: component :: Component,
5951 PartialEq,
5952 Clone,
5953 Debug,
5954 :: derive_more :: Deref,
5955 :: derive_more :: DerefMut,
5956 )]
5957 pub struct Shooting(pub bool);
5958 #[allow(clippy::derivable_impls)]
5959 impl Default for Shooting {
5960 fn default() -> Self {
5961 Self(false)
5962 }
5963 }
5964 #[doc = "Marker component for `ghast` entities."]
5965 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
5966 pub struct GhastEntity;
5967}
5968#[allow(clippy::module_inception)]
5969pub mod giant {
5970 #![doc = "Parent class: [`hostile`][super::hostile]."]
5971 #[doc = "The bundle of components for spawning `giant` entities."]
5972 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
5973 pub struct GiantEntityBundle {
5974 pub giant_entity: super::giant::GiantEntity,
5975 pub hostile_entity: super::hostile::HostileEntity,
5976 pub path_aware_entity: super::path_aware::PathAwareEntity,
5977 pub mob_entity: super::mob::MobEntity,
5978 pub mob_mob_flags: super::mob::MobFlags,
5979 pub living_entity: super::living::LivingEntity,
5980 pub living_absorption: super::living::Absorption,
5981 pub living_attributes: super::attributes::EntityAttributes,
5982 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
5983 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
5984 pub living_living_flags: super::living::LivingFlags,
5985 pub living_health: super::living::Health,
5986 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
5987 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
5988 pub living_stuck_arrow_count: super::living::StuckArrowCount,
5989 pub living_stinger_count: super::living::StingerCount,
5990 pub living_sleeping_position: super::living::SleepingPosition,
5991 pub entity: super::entity::Entity,
5992 pub entity_flags: super::entity::Flags,
5993 pub entity_air: super::entity::Air,
5994 pub entity_custom_name: super::entity::CustomName,
5995 pub entity_name_visible: super::entity::NameVisible,
5996 pub entity_silent: super::entity::Silent,
5997 pub entity_no_gravity: super::entity::NoGravity,
5998 pub entity_pose: super::entity::Pose,
5999 pub entity_frozen_ticks: super::entity::FrozenTicks,
6000 pub kind: super::EntityKind,
6001 pub id: super::EntityId,
6002 pub uuid: super::UniqueId,
6003 pub layer: super::EntityLayerId,
6004 pub old_layer: super::OldEntityLayerId,
6005 pub position: super::Position,
6006 pub old_position: super::OldPosition,
6007 pub look: super::Look,
6008 pub head_yaw: super::HeadYaw,
6009 pub on_ground: super::OnGround,
6010 pub velocity: super::Velocity,
6011 pub statuses: super::EntityStatuses,
6012 pub animations: super::EntityAnimations,
6013 pub object_data: super::ObjectData,
6014 pub tracked_data: super::tracked_data::TrackedData,
6015 }
6016 impl Default for GiantEntityBundle {
6017 fn default() -> Self {
6018 Self {
6019 giant_entity: Default::default(),
6020 hostile_entity: Default::default(),
6021 path_aware_entity: Default::default(),
6022 mob_entity: Default::default(),
6023 mob_mob_flags: Default::default(),
6024 living_entity: Default::default(),
6025 living_absorption: Default::default(),
6026 living_attributes: super::attributes::EntityAttributes::new()
6027 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
6028 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
6029 .with_attribute_and_value(
6030 super::EntityAttribute::GenericKnockbackResistance,
6031 0f64,
6032 )
6033 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
6034 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 50f64)
6035 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
6036 .with_attribute_and_value(super::EntityAttribute::GenericMovementSpeed, 0.5f64)
6037 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 100f64),
6038 living_attributes_tracker: Default::default(),
6039 living_active_status_effects: Default::default(),
6040 living_living_flags: Default::default(),
6041 living_health: Default::default(),
6042 living_potion_swirls_color: Default::default(),
6043 living_potion_swirls_ambient: Default::default(),
6044 living_stuck_arrow_count: Default::default(),
6045 living_stinger_count: Default::default(),
6046 living_sleeping_position: Default::default(),
6047 entity: Default::default(),
6048 entity_flags: Default::default(),
6049 entity_air: Default::default(),
6050 entity_custom_name: Default::default(),
6051 entity_name_visible: Default::default(),
6052 entity_silent: Default::default(),
6053 entity_no_gravity: Default::default(),
6054 entity_pose: Default::default(),
6055 entity_frozen_ticks: Default::default(),
6056 kind: super::EntityKind::GIANT,
6057 id: Default::default(),
6058 uuid: Default::default(),
6059 layer: Default::default(),
6060 old_layer: Default::default(),
6061 position: Default::default(),
6062 old_position: Default::default(),
6063 look: Default::default(),
6064 head_yaw: Default::default(),
6065 on_ground: Default::default(),
6066 velocity: Default::default(),
6067 statuses: Default::default(),
6068 animations: Default::default(),
6069 object_data: Default::default(),
6070 tracked_data: Default::default(),
6071 }
6072 }
6073 }
6074 #[doc = "Marker component for `giant` entities."]
6075 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
6076 pub struct GiantEntity;
6077}
6078#[allow(clippy::module_inception)]
6079pub mod glow_item_frame {
6080 #![doc = "Parent class: [`item_frame`][super::item_frame]."]
6081 #[doc = "The bundle of components for spawning `glow_item_frame` entities."]
6082 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
6083 pub struct GlowItemFrameEntityBundle {
6084 pub glow_item_frame_entity: super::glow_item_frame::GlowItemFrameEntity,
6085 pub item_frame_entity: super::item_frame::ItemFrameEntity,
6086 pub item_frame_item_stack: super::item_frame::ItemStack,
6087 pub item_frame_rotation: super::item_frame::Rotation,
6088 pub abstract_decoration_entity: super::abstract_decoration::AbstractDecorationEntity,
6089 pub entity: super::entity::Entity,
6090 pub entity_flags: super::entity::Flags,
6091 pub entity_air: super::entity::Air,
6092 pub entity_custom_name: super::entity::CustomName,
6093 pub entity_name_visible: super::entity::NameVisible,
6094 pub entity_silent: super::entity::Silent,
6095 pub entity_no_gravity: super::entity::NoGravity,
6096 pub entity_pose: super::entity::Pose,
6097 pub entity_frozen_ticks: super::entity::FrozenTicks,
6098 pub kind: super::EntityKind,
6099 pub id: super::EntityId,
6100 pub uuid: super::UniqueId,
6101 pub layer: super::EntityLayerId,
6102 pub old_layer: super::OldEntityLayerId,
6103 pub position: super::Position,
6104 pub old_position: super::OldPosition,
6105 pub look: super::Look,
6106 pub head_yaw: super::HeadYaw,
6107 pub on_ground: super::OnGround,
6108 pub velocity: super::Velocity,
6109 pub statuses: super::EntityStatuses,
6110 pub animations: super::EntityAnimations,
6111 pub object_data: super::ObjectData,
6112 pub tracked_data: super::tracked_data::TrackedData,
6113 }
6114 impl Default for GlowItemFrameEntityBundle {
6115 fn default() -> Self {
6116 Self {
6117 glow_item_frame_entity: Default::default(),
6118 item_frame_entity: Default::default(),
6119 item_frame_item_stack: Default::default(),
6120 item_frame_rotation: Default::default(),
6121 abstract_decoration_entity: Default::default(),
6122 entity: Default::default(),
6123 entity_flags: Default::default(),
6124 entity_air: Default::default(),
6125 entity_custom_name: Default::default(),
6126 entity_name_visible: Default::default(),
6127 entity_silent: Default::default(),
6128 entity_no_gravity: Default::default(),
6129 entity_pose: Default::default(),
6130 entity_frozen_ticks: Default::default(),
6131 kind: super::EntityKind::GLOW_ITEM_FRAME,
6132 id: Default::default(),
6133 uuid: Default::default(),
6134 layer: Default::default(),
6135 old_layer: Default::default(),
6136 position: Default::default(),
6137 old_position: Default::default(),
6138 look: Default::default(),
6139 head_yaw: Default::default(),
6140 on_ground: Default::default(),
6141 velocity: Default::default(),
6142 statuses: Default::default(),
6143 animations: Default::default(),
6144 object_data: Default::default(),
6145 tracked_data: Default::default(),
6146 }
6147 }
6148 }
6149 #[doc = "Marker component for `glow_item_frame` entities."]
6150 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
6151 pub struct GlowItemFrameEntity;
6152}
6153#[allow(clippy::module_inception)]
6154pub mod glow_squid {
6155 #![doc = "Parent class: [`squid`][super::squid]."]
6156 #[doc = "The bundle of components for spawning `glow_squid` entities."]
6157 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
6158 pub struct GlowSquidEntityBundle {
6159 pub glow_squid_entity: super::glow_squid::GlowSquidEntity,
6160 pub glow_squid_dark_ticks_remaining: super::glow_squid::DarkTicksRemaining,
6161 pub squid_entity: super::squid::SquidEntity,
6162 pub water_creature_entity: super::water_creature::WaterCreatureEntity,
6163 pub path_aware_entity: super::path_aware::PathAwareEntity,
6164 pub mob_entity: super::mob::MobEntity,
6165 pub mob_mob_flags: super::mob::MobFlags,
6166 pub living_entity: super::living::LivingEntity,
6167 pub living_absorption: super::living::Absorption,
6168 pub living_attributes: super::attributes::EntityAttributes,
6169 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
6170 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
6171 pub living_living_flags: super::living::LivingFlags,
6172 pub living_health: super::living::Health,
6173 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
6174 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
6175 pub living_stuck_arrow_count: super::living::StuckArrowCount,
6176 pub living_stinger_count: super::living::StingerCount,
6177 pub living_sleeping_position: super::living::SleepingPosition,
6178 pub entity: super::entity::Entity,
6179 pub entity_flags: super::entity::Flags,
6180 pub entity_air: super::entity::Air,
6181 pub entity_custom_name: super::entity::CustomName,
6182 pub entity_name_visible: super::entity::NameVisible,
6183 pub entity_silent: super::entity::Silent,
6184 pub entity_no_gravity: super::entity::NoGravity,
6185 pub entity_pose: super::entity::Pose,
6186 pub entity_frozen_ticks: super::entity::FrozenTicks,
6187 pub kind: super::EntityKind,
6188 pub id: super::EntityId,
6189 pub uuid: super::UniqueId,
6190 pub layer: super::EntityLayerId,
6191 pub old_layer: super::OldEntityLayerId,
6192 pub position: super::Position,
6193 pub old_position: super::OldPosition,
6194 pub look: super::Look,
6195 pub head_yaw: super::HeadYaw,
6196 pub on_ground: super::OnGround,
6197 pub velocity: super::Velocity,
6198 pub statuses: super::EntityStatuses,
6199 pub animations: super::EntityAnimations,
6200 pub object_data: super::ObjectData,
6201 pub tracked_data: super::tracked_data::TrackedData,
6202 }
6203 impl Default for GlowSquidEntityBundle {
6204 fn default() -> Self {
6205 Self {
6206 glow_squid_entity: Default::default(),
6207 glow_squid_dark_ticks_remaining: Default::default(),
6208 squid_entity: Default::default(),
6209 water_creature_entity: Default::default(),
6210 path_aware_entity: Default::default(),
6211 mob_entity: Default::default(),
6212 mob_mob_flags: Default::default(),
6213 living_entity: Default::default(),
6214 living_absorption: Default::default(),
6215 living_attributes: super::attributes::EntityAttributes::new()
6216 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
6217 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
6218 .with_attribute_and_value(
6219 super::EntityAttribute::GenericKnockbackResistance,
6220 0f64,
6221 )
6222 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
6223 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
6224 .with_attribute_and_value(
6225 super::EntityAttribute::GenericMovementSpeed,
6226 0.699999988079071f64,
6227 )
6228 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 10f64),
6229 living_attributes_tracker: Default::default(),
6230 living_active_status_effects: Default::default(),
6231 living_living_flags: Default::default(),
6232 living_health: Default::default(),
6233 living_potion_swirls_color: Default::default(),
6234 living_potion_swirls_ambient: Default::default(),
6235 living_stuck_arrow_count: Default::default(),
6236 living_stinger_count: Default::default(),
6237 living_sleeping_position: Default::default(),
6238 entity: Default::default(),
6239 entity_flags: Default::default(),
6240 entity_air: Default::default(),
6241 entity_custom_name: Default::default(),
6242 entity_name_visible: Default::default(),
6243 entity_silent: Default::default(),
6244 entity_no_gravity: Default::default(),
6245 entity_pose: Default::default(),
6246 entity_frozen_ticks: Default::default(),
6247 kind: super::EntityKind::GLOW_SQUID,
6248 id: Default::default(),
6249 uuid: Default::default(),
6250 layer: Default::default(),
6251 old_layer: Default::default(),
6252 position: Default::default(),
6253 old_position: Default::default(),
6254 look: Default::default(),
6255 head_yaw: Default::default(),
6256 on_ground: Default::default(),
6257 velocity: Default::default(),
6258 statuses: Default::default(),
6259 animations: Default::default(),
6260 object_data: Default::default(),
6261 tracked_data: Default::default(),
6262 }
6263 }
6264 }
6265 #[derive(
6266 bevy_ecs :: component :: Component,
6267 PartialEq,
6268 Clone,
6269 Debug,
6270 :: derive_more :: Deref,
6271 :: derive_more :: DerefMut,
6272 )]
6273 pub struct DarkTicksRemaining(pub i32);
6274 #[allow(clippy::derivable_impls)]
6275 impl Default for DarkTicksRemaining {
6276 fn default() -> Self {
6277 Self(0i32)
6278 }
6279 }
6280 #[doc = "Marker component for `glow_squid` entities."]
6281 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
6282 pub struct GlowSquidEntity;
6283}
6284#[allow(clippy::module_inception)]
6285pub mod goat {
6286 #![doc = "Parent class: [`animal`][super::animal]."]
6287 #[doc = "The bundle of components for spawning `goat` entities."]
6288 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
6289 pub struct GoatEntityBundle {
6290 pub goat_entity: super::goat::GoatEntity,
6291 pub goat_screaming: super::goat::Screaming,
6292 pub goat_left_horn: super::goat::LeftHorn,
6293 pub goat_right_horn: super::goat::RightHorn,
6294 pub animal_entity: super::animal::AnimalEntity,
6295 pub passive_entity: super::passive::PassiveEntity,
6296 pub passive_child: super::passive::Child,
6297 pub path_aware_entity: super::path_aware::PathAwareEntity,
6298 pub mob_entity: super::mob::MobEntity,
6299 pub mob_mob_flags: super::mob::MobFlags,
6300 pub living_entity: super::living::LivingEntity,
6301 pub living_absorption: super::living::Absorption,
6302 pub living_attributes: super::attributes::EntityAttributes,
6303 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
6304 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
6305 pub living_living_flags: super::living::LivingFlags,
6306 pub living_health: super::living::Health,
6307 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
6308 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
6309 pub living_stuck_arrow_count: super::living::StuckArrowCount,
6310 pub living_stinger_count: super::living::StingerCount,
6311 pub living_sleeping_position: super::living::SleepingPosition,
6312 pub entity: super::entity::Entity,
6313 pub entity_flags: super::entity::Flags,
6314 pub entity_air: super::entity::Air,
6315 pub entity_custom_name: super::entity::CustomName,
6316 pub entity_name_visible: super::entity::NameVisible,
6317 pub entity_silent: super::entity::Silent,
6318 pub entity_no_gravity: super::entity::NoGravity,
6319 pub entity_pose: super::entity::Pose,
6320 pub entity_frozen_ticks: super::entity::FrozenTicks,
6321 pub kind: super::EntityKind,
6322 pub id: super::EntityId,
6323 pub uuid: super::UniqueId,
6324 pub layer: super::EntityLayerId,
6325 pub old_layer: super::OldEntityLayerId,
6326 pub position: super::Position,
6327 pub old_position: super::OldPosition,
6328 pub look: super::Look,
6329 pub head_yaw: super::HeadYaw,
6330 pub on_ground: super::OnGround,
6331 pub velocity: super::Velocity,
6332 pub statuses: super::EntityStatuses,
6333 pub animations: super::EntityAnimations,
6334 pub object_data: super::ObjectData,
6335 pub tracked_data: super::tracked_data::TrackedData,
6336 }
6337 impl Default for GoatEntityBundle {
6338 fn default() -> Self {
6339 Self {
6340 goat_entity: Default::default(),
6341 goat_screaming: Default::default(),
6342 goat_left_horn: Default::default(),
6343 goat_right_horn: Default::default(),
6344 animal_entity: Default::default(),
6345 passive_entity: Default::default(),
6346 passive_child: Default::default(),
6347 path_aware_entity: Default::default(),
6348 mob_entity: Default::default(),
6349 mob_mob_flags: Default::default(),
6350 living_entity: Default::default(),
6351 living_absorption: Default::default(),
6352 living_attributes: super::attributes::EntityAttributes::new()
6353 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
6354 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
6355 .with_attribute_and_value(
6356 super::EntityAttribute::GenericKnockbackResistance,
6357 0f64,
6358 )
6359 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
6360 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 2f64)
6361 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
6362 .with_attribute_and_value(
6363 super::EntityAttribute::GenericMovementSpeed,
6364 0.20000000298023224f64,
6365 )
6366 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 10f64),
6367 living_attributes_tracker: Default::default(),
6368 living_active_status_effects: Default::default(),
6369 living_living_flags: Default::default(),
6370 living_health: Default::default(),
6371 living_potion_swirls_color: Default::default(),
6372 living_potion_swirls_ambient: Default::default(),
6373 living_stuck_arrow_count: Default::default(),
6374 living_stinger_count: Default::default(),
6375 living_sleeping_position: Default::default(),
6376 entity: Default::default(),
6377 entity_flags: Default::default(),
6378 entity_air: Default::default(),
6379 entity_custom_name: Default::default(),
6380 entity_name_visible: Default::default(),
6381 entity_silent: Default::default(),
6382 entity_no_gravity: Default::default(),
6383 entity_pose: Default::default(),
6384 entity_frozen_ticks: Default::default(),
6385 kind: super::EntityKind::GOAT,
6386 id: Default::default(),
6387 uuid: Default::default(),
6388 layer: Default::default(),
6389 old_layer: Default::default(),
6390 position: Default::default(),
6391 old_position: Default::default(),
6392 look: Default::default(),
6393 head_yaw: Default::default(),
6394 on_ground: Default::default(),
6395 velocity: Default::default(),
6396 statuses: Default::default(),
6397 animations: Default::default(),
6398 object_data: Default::default(),
6399 tracked_data: Default::default(),
6400 }
6401 }
6402 }
6403 #[derive(
6404 bevy_ecs :: component :: Component,
6405 PartialEq,
6406 Clone,
6407 Debug,
6408 :: derive_more :: Deref,
6409 :: derive_more :: DerefMut,
6410 )]
6411 pub struct Screaming(pub bool);
6412 #[allow(clippy::derivable_impls)]
6413 impl Default for Screaming {
6414 fn default() -> Self {
6415 Self(false)
6416 }
6417 }
6418 #[derive(
6419 bevy_ecs :: component :: Component,
6420 PartialEq,
6421 Clone,
6422 Debug,
6423 :: derive_more :: Deref,
6424 :: derive_more :: DerefMut,
6425 )]
6426 pub struct LeftHorn(pub bool);
6427 #[allow(clippy::derivable_impls)]
6428 impl Default for LeftHorn {
6429 fn default() -> Self {
6430 Self(true)
6431 }
6432 }
6433 #[derive(
6434 bevy_ecs :: component :: Component,
6435 PartialEq,
6436 Clone,
6437 Debug,
6438 :: derive_more :: Deref,
6439 :: derive_more :: DerefMut,
6440 )]
6441 pub struct RightHorn(pub bool);
6442 #[allow(clippy::derivable_impls)]
6443 impl Default for RightHorn {
6444 fn default() -> Self {
6445 Self(true)
6446 }
6447 }
6448 #[doc = "Marker component for `goat` entities."]
6449 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
6450 pub struct GoatEntity;
6451}
6452#[allow(clippy::module_inception)]
6453pub mod golem {
6454 #![doc = "Parent class: [`path_aware`][super::path_aware]."]
6455 #[doc = "Marker component for `golem` entities."]
6456 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
6457 pub struct GolemEntity;
6458}
6459#[allow(clippy::module_inception)]
6460pub mod guardian {
6461 #![doc = "Parent class: [`hostile`][super::hostile]."]
6462 #[doc = "The bundle of components for spawning `guardian` entities."]
6463 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
6464 pub struct GuardianEntityBundle {
6465 pub guardian_entity: super::guardian::GuardianEntity,
6466 pub guardian_spikes_retracted: super::guardian::SpikesRetracted,
6467 pub guardian_beam_target_id: super::guardian::BeamTargetId,
6468 pub hostile_entity: super::hostile::HostileEntity,
6469 pub path_aware_entity: super::path_aware::PathAwareEntity,
6470 pub mob_entity: super::mob::MobEntity,
6471 pub mob_mob_flags: super::mob::MobFlags,
6472 pub living_entity: super::living::LivingEntity,
6473 pub living_absorption: super::living::Absorption,
6474 pub living_attributes: super::attributes::EntityAttributes,
6475 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
6476 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
6477 pub living_living_flags: super::living::LivingFlags,
6478 pub living_health: super::living::Health,
6479 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
6480 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
6481 pub living_stuck_arrow_count: super::living::StuckArrowCount,
6482 pub living_stinger_count: super::living::StingerCount,
6483 pub living_sleeping_position: super::living::SleepingPosition,
6484 pub entity: super::entity::Entity,
6485 pub entity_flags: super::entity::Flags,
6486 pub entity_air: super::entity::Air,
6487 pub entity_custom_name: super::entity::CustomName,
6488 pub entity_name_visible: super::entity::NameVisible,
6489 pub entity_silent: super::entity::Silent,
6490 pub entity_no_gravity: super::entity::NoGravity,
6491 pub entity_pose: super::entity::Pose,
6492 pub entity_frozen_ticks: super::entity::FrozenTicks,
6493 pub kind: super::EntityKind,
6494 pub id: super::EntityId,
6495 pub uuid: super::UniqueId,
6496 pub layer: super::EntityLayerId,
6497 pub old_layer: super::OldEntityLayerId,
6498 pub position: super::Position,
6499 pub old_position: super::OldPosition,
6500 pub look: super::Look,
6501 pub head_yaw: super::HeadYaw,
6502 pub on_ground: super::OnGround,
6503 pub velocity: super::Velocity,
6504 pub statuses: super::EntityStatuses,
6505 pub animations: super::EntityAnimations,
6506 pub object_data: super::ObjectData,
6507 pub tracked_data: super::tracked_data::TrackedData,
6508 }
6509 impl Default for GuardianEntityBundle {
6510 fn default() -> Self {
6511 Self {
6512 guardian_entity: Default::default(),
6513 guardian_spikes_retracted: Default::default(),
6514 guardian_beam_target_id: Default::default(),
6515 hostile_entity: Default::default(),
6516 path_aware_entity: Default::default(),
6517 mob_entity: Default::default(),
6518 mob_mob_flags: Default::default(),
6519 living_entity: Default::default(),
6520 living_absorption: Default::default(),
6521 living_attributes: super::attributes::EntityAttributes::new()
6522 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
6523 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
6524 .with_attribute_and_value(
6525 super::EntityAttribute::GenericKnockbackResistance,
6526 0f64,
6527 )
6528 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
6529 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 6f64)
6530 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
6531 .with_attribute_and_value(super::EntityAttribute::GenericMovementSpeed, 0.5f64)
6532 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 30f64),
6533 living_attributes_tracker: Default::default(),
6534 living_active_status_effects: Default::default(),
6535 living_living_flags: Default::default(),
6536 living_health: Default::default(),
6537 living_potion_swirls_color: Default::default(),
6538 living_potion_swirls_ambient: Default::default(),
6539 living_stuck_arrow_count: Default::default(),
6540 living_stinger_count: Default::default(),
6541 living_sleeping_position: Default::default(),
6542 entity: Default::default(),
6543 entity_flags: Default::default(),
6544 entity_air: Default::default(),
6545 entity_custom_name: Default::default(),
6546 entity_name_visible: Default::default(),
6547 entity_silent: Default::default(),
6548 entity_no_gravity: Default::default(),
6549 entity_pose: Default::default(),
6550 entity_frozen_ticks: Default::default(),
6551 kind: super::EntityKind::GUARDIAN,
6552 id: Default::default(),
6553 uuid: Default::default(),
6554 layer: Default::default(),
6555 old_layer: Default::default(),
6556 position: Default::default(),
6557 old_position: Default::default(),
6558 look: Default::default(),
6559 head_yaw: Default::default(),
6560 on_ground: Default::default(),
6561 velocity: Default::default(),
6562 statuses: Default::default(),
6563 animations: Default::default(),
6564 object_data: Default::default(),
6565 tracked_data: Default::default(),
6566 }
6567 }
6568 }
6569 #[derive(
6570 bevy_ecs :: component :: Component,
6571 PartialEq,
6572 Clone,
6573 Debug,
6574 :: derive_more :: Deref,
6575 :: derive_more :: DerefMut,
6576 )]
6577 pub struct SpikesRetracted(pub bool);
6578 #[allow(clippy::derivable_impls)]
6579 impl Default for SpikesRetracted {
6580 fn default() -> Self {
6581 Self(false)
6582 }
6583 }
6584 #[derive(
6585 bevy_ecs :: component :: Component,
6586 PartialEq,
6587 Clone,
6588 Debug,
6589 :: derive_more :: Deref,
6590 :: derive_more :: DerefMut,
6591 )]
6592 pub struct BeamTargetId(pub i32);
6593 #[allow(clippy::derivable_impls)]
6594 impl Default for BeamTargetId {
6595 fn default() -> Self {
6596 Self(0i32)
6597 }
6598 }
6599 #[doc = "Marker component for `guardian` entities."]
6600 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
6601 pub struct GuardianEntity;
6602}
6603#[allow(clippy::module_inception)]
6604pub mod hoglin {
6605 #![doc = "Parent class: [`animal`][super::animal]."]
6606 #[doc = "The bundle of components for spawning `hoglin` entities."]
6607 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
6608 pub struct HoglinEntityBundle {
6609 pub hoglin_entity: super::hoglin::HoglinEntity,
6610 pub hoglin_baby: super::hoglin::Baby,
6611 pub animal_entity: super::animal::AnimalEntity,
6612 pub passive_entity: super::passive::PassiveEntity,
6613 pub passive_child: super::passive::Child,
6614 pub path_aware_entity: super::path_aware::PathAwareEntity,
6615 pub mob_entity: super::mob::MobEntity,
6616 pub mob_mob_flags: super::mob::MobFlags,
6617 pub living_entity: super::living::LivingEntity,
6618 pub living_absorption: super::living::Absorption,
6619 pub living_attributes: super::attributes::EntityAttributes,
6620 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
6621 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
6622 pub living_living_flags: super::living::LivingFlags,
6623 pub living_health: super::living::Health,
6624 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
6625 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
6626 pub living_stuck_arrow_count: super::living::StuckArrowCount,
6627 pub living_stinger_count: super::living::StingerCount,
6628 pub living_sleeping_position: super::living::SleepingPosition,
6629 pub entity: super::entity::Entity,
6630 pub entity_flags: super::entity::Flags,
6631 pub entity_air: super::entity::Air,
6632 pub entity_custom_name: super::entity::CustomName,
6633 pub entity_name_visible: super::entity::NameVisible,
6634 pub entity_silent: super::entity::Silent,
6635 pub entity_no_gravity: super::entity::NoGravity,
6636 pub entity_pose: super::entity::Pose,
6637 pub entity_frozen_ticks: super::entity::FrozenTicks,
6638 pub kind: super::EntityKind,
6639 pub id: super::EntityId,
6640 pub uuid: super::UniqueId,
6641 pub layer: super::EntityLayerId,
6642 pub old_layer: super::OldEntityLayerId,
6643 pub position: super::Position,
6644 pub old_position: super::OldPosition,
6645 pub look: super::Look,
6646 pub head_yaw: super::HeadYaw,
6647 pub on_ground: super::OnGround,
6648 pub velocity: super::Velocity,
6649 pub statuses: super::EntityStatuses,
6650 pub animations: super::EntityAnimations,
6651 pub object_data: super::ObjectData,
6652 pub tracked_data: super::tracked_data::TrackedData,
6653 }
6654 impl Default for HoglinEntityBundle {
6655 fn default() -> Self {
6656 Self {
6657 hoglin_entity: Default::default(),
6658 hoglin_baby: Default::default(),
6659 animal_entity: Default::default(),
6660 passive_entity: Default::default(),
6661 passive_child: Default::default(),
6662 path_aware_entity: Default::default(),
6663 mob_entity: Default::default(),
6664 mob_mob_flags: Default::default(),
6665 living_entity: Default::default(),
6666 living_absorption: Default::default(),
6667 living_attributes: super::attributes::EntityAttributes::new()
6668 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
6669 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 1f64)
6670 .with_attribute_and_value(
6671 super::EntityAttribute::GenericKnockbackResistance,
6672 0.6000000238418579f64,
6673 )
6674 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
6675 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 6f64)
6676 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
6677 .with_attribute_and_value(
6678 super::EntityAttribute::GenericMovementSpeed,
6679 0.30000001192092896f64,
6680 )
6681 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 40f64),
6682 living_attributes_tracker: Default::default(),
6683 living_active_status_effects: Default::default(),
6684 living_living_flags: Default::default(),
6685 living_health: Default::default(),
6686 living_potion_swirls_color: Default::default(),
6687 living_potion_swirls_ambient: Default::default(),
6688 living_stuck_arrow_count: Default::default(),
6689 living_stinger_count: Default::default(),
6690 living_sleeping_position: Default::default(),
6691 entity: Default::default(),
6692 entity_flags: Default::default(),
6693 entity_air: Default::default(),
6694 entity_custom_name: Default::default(),
6695 entity_name_visible: Default::default(),
6696 entity_silent: Default::default(),
6697 entity_no_gravity: Default::default(),
6698 entity_pose: Default::default(),
6699 entity_frozen_ticks: Default::default(),
6700 kind: super::EntityKind::HOGLIN,
6701 id: Default::default(),
6702 uuid: Default::default(),
6703 layer: Default::default(),
6704 old_layer: Default::default(),
6705 position: Default::default(),
6706 old_position: Default::default(),
6707 look: Default::default(),
6708 head_yaw: Default::default(),
6709 on_ground: Default::default(),
6710 velocity: Default::default(),
6711 statuses: Default::default(),
6712 animations: Default::default(),
6713 object_data: Default::default(),
6714 tracked_data: Default::default(),
6715 }
6716 }
6717 }
6718 #[derive(
6719 bevy_ecs :: component :: Component,
6720 PartialEq,
6721 Clone,
6722 Debug,
6723 :: derive_more :: Deref,
6724 :: derive_more :: DerefMut,
6725 )]
6726 pub struct Baby(pub bool);
6727 #[allow(clippy::derivable_impls)]
6728 impl Default for Baby {
6729 fn default() -> Self {
6730 Self(false)
6731 }
6732 }
6733 #[doc = "Marker component for `hoglin` entities."]
6734 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
6735 pub struct HoglinEntity;
6736}
6737#[allow(clippy::module_inception)]
6738pub mod hopper_minecart {
6739 #![doc = "Parent class: [`storage_minecart`][super::storage_minecart]."]
6740 #[doc = "The bundle of components for spawning `hopper_minecart` entities."]
6741 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
6742 pub struct HopperMinecartEntityBundle {
6743 pub hopper_minecart_entity: super::hopper_minecart::HopperMinecartEntity,
6744 pub storage_minecart_entity: super::storage_minecart::StorageMinecartEntity,
6745 pub abstract_minecart_entity: super::abstract_minecart::AbstractMinecartEntity,
6746 pub abstract_minecart_damage_wobble_ticks: super::abstract_minecart::DamageWobbleTicks,
6747 pub abstract_minecart_damage_wobble_side: super::abstract_minecart::DamageWobbleSide,
6748 pub abstract_minecart_damage_wobble_strength:
6749 super::abstract_minecart::DamageWobbleStrength,
6750 pub abstract_minecart_custom_block_id: super::abstract_minecart::CustomBlockId,
6751 pub abstract_minecart_custom_block_offset: super::abstract_minecart::CustomBlockOffset,
6752 pub abstract_minecart_custom_block_present: super::abstract_minecart::CustomBlockPresent,
6753 pub entity: super::entity::Entity,
6754 pub entity_flags: super::entity::Flags,
6755 pub entity_air: super::entity::Air,
6756 pub entity_custom_name: super::entity::CustomName,
6757 pub entity_name_visible: super::entity::NameVisible,
6758 pub entity_silent: super::entity::Silent,
6759 pub entity_no_gravity: super::entity::NoGravity,
6760 pub entity_pose: super::entity::Pose,
6761 pub entity_frozen_ticks: super::entity::FrozenTicks,
6762 pub kind: super::EntityKind,
6763 pub id: super::EntityId,
6764 pub uuid: super::UniqueId,
6765 pub layer: super::EntityLayerId,
6766 pub old_layer: super::OldEntityLayerId,
6767 pub position: super::Position,
6768 pub old_position: super::OldPosition,
6769 pub look: super::Look,
6770 pub head_yaw: super::HeadYaw,
6771 pub on_ground: super::OnGround,
6772 pub velocity: super::Velocity,
6773 pub statuses: super::EntityStatuses,
6774 pub animations: super::EntityAnimations,
6775 pub object_data: super::ObjectData,
6776 pub tracked_data: super::tracked_data::TrackedData,
6777 }
6778 impl Default for HopperMinecartEntityBundle {
6779 fn default() -> Self {
6780 Self {
6781 hopper_minecart_entity: Default::default(),
6782 storage_minecart_entity: Default::default(),
6783 abstract_minecart_entity: Default::default(),
6784 abstract_minecart_damage_wobble_ticks: Default::default(),
6785 abstract_minecart_damage_wobble_side: Default::default(),
6786 abstract_minecart_damage_wobble_strength: Default::default(),
6787 abstract_minecart_custom_block_id: Default::default(),
6788 abstract_minecart_custom_block_offset: Default::default(),
6789 abstract_minecart_custom_block_present: Default::default(),
6790 entity: Default::default(),
6791 entity_flags: Default::default(),
6792 entity_air: Default::default(),
6793 entity_custom_name: Default::default(),
6794 entity_name_visible: Default::default(),
6795 entity_silent: Default::default(),
6796 entity_no_gravity: Default::default(),
6797 entity_pose: Default::default(),
6798 entity_frozen_ticks: Default::default(),
6799 kind: super::EntityKind::HOPPER_MINECART,
6800 id: Default::default(),
6801 uuid: Default::default(),
6802 layer: Default::default(),
6803 old_layer: Default::default(),
6804 position: Default::default(),
6805 old_position: Default::default(),
6806 look: Default::default(),
6807 head_yaw: Default::default(),
6808 on_ground: Default::default(),
6809 velocity: Default::default(),
6810 statuses: Default::default(),
6811 animations: Default::default(),
6812 object_data: Default::default(),
6813 tracked_data: Default::default(),
6814 }
6815 }
6816 }
6817 #[doc = "Marker component for `hopper_minecart` entities."]
6818 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
6819 pub struct HopperMinecartEntity;
6820}
6821#[allow(clippy::module_inception)]
6822pub mod horse {
6823 #![doc = "Parent class: [`abstract_horse`][super::abstract_horse]."]
6824 #[doc = "The bundle of components for spawning `horse` entities."]
6825 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
6826 pub struct HorseEntityBundle {
6827 pub horse_entity: super::horse::HorseEntity,
6828 pub horse_variant: super::horse::Variant,
6829 pub abstract_horse_entity: super::abstract_horse::AbstractHorseEntity,
6830 pub abstract_horse_horse_flags: super::abstract_horse::HorseFlags,
6831 pub animal_entity: super::animal::AnimalEntity,
6832 pub passive_entity: super::passive::PassiveEntity,
6833 pub passive_child: super::passive::Child,
6834 pub path_aware_entity: super::path_aware::PathAwareEntity,
6835 pub mob_entity: super::mob::MobEntity,
6836 pub mob_mob_flags: super::mob::MobFlags,
6837 pub living_entity: super::living::LivingEntity,
6838 pub living_absorption: super::living::Absorption,
6839 pub living_attributes: super::attributes::EntityAttributes,
6840 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
6841 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
6842 pub living_living_flags: super::living::LivingFlags,
6843 pub living_health: super::living::Health,
6844 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
6845 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
6846 pub living_stuck_arrow_count: super::living::StuckArrowCount,
6847 pub living_stinger_count: super::living::StingerCount,
6848 pub living_sleeping_position: super::living::SleepingPosition,
6849 pub entity: super::entity::Entity,
6850 pub entity_flags: super::entity::Flags,
6851 pub entity_air: super::entity::Air,
6852 pub entity_custom_name: super::entity::CustomName,
6853 pub entity_name_visible: super::entity::NameVisible,
6854 pub entity_silent: super::entity::Silent,
6855 pub entity_no_gravity: super::entity::NoGravity,
6856 pub entity_pose: super::entity::Pose,
6857 pub entity_frozen_ticks: super::entity::FrozenTicks,
6858 pub kind: super::EntityKind,
6859 pub id: super::EntityId,
6860 pub uuid: super::UniqueId,
6861 pub layer: super::EntityLayerId,
6862 pub old_layer: super::OldEntityLayerId,
6863 pub position: super::Position,
6864 pub old_position: super::OldPosition,
6865 pub look: super::Look,
6866 pub head_yaw: super::HeadYaw,
6867 pub on_ground: super::OnGround,
6868 pub velocity: super::Velocity,
6869 pub statuses: super::EntityStatuses,
6870 pub animations: super::EntityAnimations,
6871 pub object_data: super::ObjectData,
6872 pub tracked_data: super::tracked_data::TrackedData,
6873 }
6874 impl Default for HorseEntityBundle {
6875 fn default() -> Self {
6876 Self {
6877 horse_entity: Default::default(),
6878 horse_variant: Default::default(),
6879 abstract_horse_entity: Default::default(),
6880 abstract_horse_horse_flags: Default::default(),
6881 animal_entity: Default::default(),
6882 passive_entity: Default::default(),
6883 passive_child: Default::default(),
6884 path_aware_entity: Default::default(),
6885 mob_entity: Default::default(),
6886 mob_mob_flags: Default::default(),
6887 living_entity: Default::default(),
6888 living_absorption: Default::default(),
6889 living_attributes: super::attributes::EntityAttributes::new()
6890 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
6891 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
6892 .with_attribute_and_value(
6893 super::EntityAttribute::GenericKnockbackResistance,
6894 0f64,
6895 )
6896 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
6897 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
6898 .with_attribute_and_value(super::EntityAttribute::HorseJumpStrength, 0.7f64)
6899 .with_attribute_and_value(
6900 super::EntityAttribute::GenericMovementSpeed,
6901 0.22499999403953552f64,
6902 )
6903 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 53f64),
6904 living_attributes_tracker: Default::default(),
6905 living_active_status_effects: Default::default(),
6906 living_living_flags: Default::default(),
6907 living_health: Default::default(),
6908 living_potion_swirls_color: Default::default(),
6909 living_potion_swirls_ambient: Default::default(),
6910 living_stuck_arrow_count: Default::default(),
6911 living_stinger_count: Default::default(),
6912 living_sleeping_position: Default::default(),
6913 entity: Default::default(),
6914 entity_flags: Default::default(),
6915 entity_air: Default::default(),
6916 entity_custom_name: Default::default(),
6917 entity_name_visible: Default::default(),
6918 entity_silent: Default::default(),
6919 entity_no_gravity: Default::default(),
6920 entity_pose: Default::default(),
6921 entity_frozen_ticks: Default::default(),
6922 kind: super::EntityKind::HORSE,
6923 id: Default::default(),
6924 uuid: Default::default(),
6925 layer: Default::default(),
6926 old_layer: Default::default(),
6927 position: Default::default(),
6928 old_position: Default::default(),
6929 look: Default::default(),
6930 head_yaw: Default::default(),
6931 on_ground: Default::default(),
6932 velocity: Default::default(),
6933 statuses: Default::default(),
6934 animations: Default::default(),
6935 object_data: Default::default(),
6936 tracked_data: Default::default(),
6937 }
6938 }
6939 }
6940 #[derive(
6941 bevy_ecs :: component :: Component,
6942 PartialEq,
6943 Clone,
6944 Debug,
6945 :: derive_more :: Deref,
6946 :: derive_more :: DerefMut,
6947 )]
6948 pub struct Variant(pub i32);
6949 #[allow(clippy::derivable_impls)]
6950 impl Default for Variant {
6951 fn default() -> Self {
6952 Self(0i32)
6953 }
6954 }
6955 #[doc = "Marker component for `horse` entities."]
6956 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
6957 pub struct HorseEntity;
6958}
6959#[allow(clippy::module_inception)]
6960pub mod hostile {
6961 #![doc = "Parent class: [`path_aware`][super::path_aware]."]
6962 #[doc = "Marker component for `hostile` entities."]
6963 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
6964 pub struct HostileEntity;
6965}
6966#[allow(clippy::module_inception)]
6967pub mod husk {
6968 #![doc = "Parent class: [`zombie`][super::zombie]."]
6969 #[doc = "The bundle of components for spawning `husk` entities."]
6970 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
6971 pub struct HuskEntityBundle {
6972 pub husk_entity: super::husk::HuskEntity,
6973 pub zombie_entity: super::zombie::ZombieEntity,
6974 pub zombie_baby: super::zombie::Baby,
6975 pub zombie_zombie_type: super::zombie::ZombieType,
6976 pub zombie_converting_in_water: super::zombie::ConvertingInWater,
6977 pub hostile_entity: super::hostile::HostileEntity,
6978 pub path_aware_entity: super::path_aware::PathAwareEntity,
6979 pub mob_entity: super::mob::MobEntity,
6980 pub mob_mob_flags: super::mob::MobFlags,
6981 pub living_entity: super::living::LivingEntity,
6982 pub living_absorption: super::living::Absorption,
6983 pub living_attributes: super::attributes::EntityAttributes,
6984 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
6985 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
6986 pub living_living_flags: super::living::LivingFlags,
6987 pub living_health: super::living::Health,
6988 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
6989 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
6990 pub living_stuck_arrow_count: super::living::StuckArrowCount,
6991 pub living_stinger_count: super::living::StingerCount,
6992 pub living_sleeping_position: super::living::SleepingPosition,
6993 pub entity: super::entity::Entity,
6994 pub entity_flags: super::entity::Flags,
6995 pub entity_air: super::entity::Air,
6996 pub entity_custom_name: super::entity::CustomName,
6997 pub entity_name_visible: super::entity::NameVisible,
6998 pub entity_silent: super::entity::Silent,
6999 pub entity_no_gravity: super::entity::NoGravity,
7000 pub entity_pose: super::entity::Pose,
7001 pub entity_frozen_ticks: super::entity::FrozenTicks,
7002 pub kind: super::EntityKind,
7003 pub id: super::EntityId,
7004 pub uuid: super::UniqueId,
7005 pub layer: super::EntityLayerId,
7006 pub old_layer: super::OldEntityLayerId,
7007 pub position: super::Position,
7008 pub old_position: super::OldPosition,
7009 pub look: super::Look,
7010 pub head_yaw: super::HeadYaw,
7011 pub on_ground: super::OnGround,
7012 pub velocity: super::Velocity,
7013 pub statuses: super::EntityStatuses,
7014 pub animations: super::EntityAnimations,
7015 pub object_data: super::ObjectData,
7016 pub tracked_data: super::tracked_data::TrackedData,
7017 }
7018 impl Default for HuskEntityBundle {
7019 fn default() -> Self {
7020 Self {
7021 husk_entity: Default::default(),
7022 zombie_entity: Default::default(),
7023 zombie_baby: Default::default(),
7024 zombie_zombie_type: Default::default(),
7025 zombie_converting_in_water: Default::default(),
7026 hostile_entity: Default::default(),
7027 path_aware_entity: Default::default(),
7028 mob_entity: Default::default(),
7029 mob_mob_flags: Default::default(),
7030 living_entity: Default::default(),
7031 living_absorption: Default::default(),
7032 living_attributes: super::attributes::EntityAttributes::new()
7033 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
7034 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
7035 .with_attribute_and_value(
7036 super::EntityAttribute::GenericKnockbackResistance,
7037 0f64,
7038 )
7039 .with_attribute_and_value(
7040 super::EntityAttribute::ZombieSpawnReinforcements,
7041 0f64,
7042 )
7043 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 2f64)
7044 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 3f64)
7045 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 35f64)
7046 .with_attribute_and_value(
7047 super::EntityAttribute::GenericMovementSpeed,
7048 0.2300000041723251f64,
7049 )
7050 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 20f64),
7051 living_attributes_tracker: Default::default(),
7052 living_active_status_effects: Default::default(),
7053 living_living_flags: Default::default(),
7054 living_health: Default::default(),
7055 living_potion_swirls_color: Default::default(),
7056 living_potion_swirls_ambient: Default::default(),
7057 living_stuck_arrow_count: Default::default(),
7058 living_stinger_count: Default::default(),
7059 living_sleeping_position: Default::default(),
7060 entity: Default::default(),
7061 entity_flags: Default::default(),
7062 entity_air: Default::default(),
7063 entity_custom_name: Default::default(),
7064 entity_name_visible: Default::default(),
7065 entity_silent: Default::default(),
7066 entity_no_gravity: Default::default(),
7067 entity_pose: Default::default(),
7068 entity_frozen_ticks: Default::default(),
7069 kind: super::EntityKind::HUSK,
7070 id: Default::default(),
7071 uuid: Default::default(),
7072 layer: Default::default(),
7073 old_layer: Default::default(),
7074 position: Default::default(),
7075 old_position: Default::default(),
7076 look: Default::default(),
7077 head_yaw: Default::default(),
7078 on_ground: Default::default(),
7079 velocity: Default::default(),
7080 statuses: Default::default(),
7081 animations: Default::default(),
7082 object_data: Default::default(),
7083 tracked_data: Default::default(),
7084 }
7085 }
7086 }
7087 #[doc = "Marker component for `husk` entities."]
7088 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
7089 pub struct HuskEntity;
7090}
7091#[allow(clippy::module_inception)]
7092pub mod illager {
7093 #![doc = "Parent class: [`raider`][super::raider]."]
7094 #[doc = "Marker component for `illager` entities."]
7095 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
7096 pub struct IllagerEntity;
7097}
7098#[allow(clippy::module_inception)]
7099pub mod illusioner {
7100 #![doc = "Parent class: [`spellcasting_illager`][super::spellcasting_illager]."]
7101 #[doc = "The bundle of components for spawning `illusioner` entities."]
7102 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
7103 pub struct IllusionerEntityBundle {
7104 pub illusioner_entity: super::illusioner::IllusionerEntity,
7105 pub spellcasting_illager_entity: super::spellcasting_illager::SpellcastingIllagerEntity,
7106 pub spellcasting_illager_spell: super::spellcasting_illager::Spell,
7107 pub illager_entity: super::illager::IllagerEntity,
7108 pub raider_entity: super::raider::RaiderEntity,
7109 pub raider_celebrating: super::raider::Celebrating,
7110 pub patrol_entity: super::patrol::PatrolEntity,
7111 pub hostile_entity: super::hostile::HostileEntity,
7112 pub path_aware_entity: super::path_aware::PathAwareEntity,
7113 pub mob_entity: super::mob::MobEntity,
7114 pub mob_mob_flags: super::mob::MobFlags,
7115 pub living_entity: super::living::LivingEntity,
7116 pub living_absorption: super::living::Absorption,
7117 pub living_attributes: super::attributes::EntityAttributes,
7118 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
7119 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
7120 pub living_living_flags: super::living::LivingFlags,
7121 pub living_health: super::living::Health,
7122 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
7123 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
7124 pub living_stuck_arrow_count: super::living::StuckArrowCount,
7125 pub living_stinger_count: super::living::StingerCount,
7126 pub living_sleeping_position: super::living::SleepingPosition,
7127 pub entity: super::entity::Entity,
7128 pub entity_flags: super::entity::Flags,
7129 pub entity_air: super::entity::Air,
7130 pub entity_custom_name: super::entity::CustomName,
7131 pub entity_name_visible: super::entity::NameVisible,
7132 pub entity_silent: super::entity::Silent,
7133 pub entity_no_gravity: super::entity::NoGravity,
7134 pub entity_pose: super::entity::Pose,
7135 pub entity_frozen_ticks: super::entity::FrozenTicks,
7136 pub kind: super::EntityKind,
7137 pub id: super::EntityId,
7138 pub uuid: super::UniqueId,
7139 pub layer: super::EntityLayerId,
7140 pub old_layer: super::OldEntityLayerId,
7141 pub position: super::Position,
7142 pub old_position: super::OldPosition,
7143 pub look: super::Look,
7144 pub head_yaw: super::HeadYaw,
7145 pub on_ground: super::OnGround,
7146 pub velocity: super::Velocity,
7147 pub statuses: super::EntityStatuses,
7148 pub animations: super::EntityAnimations,
7149 pub object_data: super::ObjectData,
7150 pub tracked_data: super::tracked_data::TrackedData,
7151 }
7152 impl Default for IllusionerEntityBundle {
7153 fn default() -> Self {
7154 Self {
7155 illusioner_entity: Default::default(),
7156 spellcasting_illager_entity: Default::default(),
7157 spellcasting_illager_spell: Default::default(),
7158 illager_entity: Default::default(),
7159 raider_entity: Default::default(),
7160 raider_celebrating: Default::default(),
7161 patrol_entity: Default::default(),
7162 hostile_entity: Default::default(),
7163 path_aware_entity: Default::default(),
7164 mob_entity: Default::default(),
7165 mob_mob_flags: Default::default(),
7166 living_entity: Default::default(),
7167 living_absorption: Default::default(),
7168 living_attributes: super::attributes::EntityAttributes::new()
7169 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
7170 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
7171 .with_attribute_and_value(
7172 super::EntityAttribute::GenericKnockbackResistance,
7173 0f64,
7174 )
7175 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
7176 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 2f64)
7177 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 18f64)
7178 .with_attribute_and_value(super::EntityAttribute::GenericMovementSpeed, 0.5f64)
7179 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 32f64),
7180 living_attributes_tracker: Default::default(),
7181 living_active_status_effects: Default::default(),
7182 living_living_flags: Default::default(),
7183 living_health: Default::default(),
7184 living_potion_swirls_color: Default::default(),
7185 living_potion_swirls_ambient: Default::default(),
7186 living_stuck_arrow_count: Default::default(),
7187 living_stinger_count: Default::default(),
7188 living_sleeping_position: Default::default(),
7189 entity: Default::default(),
7190 entity_flags: Default::default(),
7191 entity_air: Default::default(),
7192 entity_custom_name: Default::default(),
7193 entity_name_visible: Default::default(),
7194 entity_silent: Default::default(),
7195 entity_no_gravity: Default::default(),
7196 entity_pose: Default::default(),
7197 entity_frozen_ticks: Default::default(),
7198 kind: super::EntityKind::ILLUSIONER,
7199 id: Default::default(),
7200 uuid: Default::default(),
7201 layer: Default::default(),
7202 old_layer: Default::default(),
7203 position: Default::default(),
7204 old_position: Default::default(),
7205 look: Default::default(),
7206 head_yaw: Default::default(),
7207 on_ground: Default::default(),
7208 velocity: Default::default(),
7209 statuses: Default::default(),
7210 animations: Default::default(),
7211 object_data: Default::default(),
7212 tracked_data: Default::default(),
7213 }
7214 }
7215 }
7216 #[doc = "Marker component for `illusioner` entities."]
7217 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
7218 pub struct IllusionerEntity;
7219}
7220#[allow(clippy::module_inception)]
7221pub mod interaction {
7222 #![doc = "Parent class: [`entity`][super::entity]."]
7223 #[doc = "The bundle of components for spawning `interaction` entities."]
7224 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
7225 pub struct InteractionEntityBundle {
7226 pub interaction_entity: super::interaction::InteractionEntity,
7227 pub interaction_width: super::interaction::Width,
7228 pub interaction_height: super::interaction::Height,
7229 pub interaction_response: super::interaction::Response,
7230 pub entity: super::entity::Entity,
7231 pub entity_flags: super::entity::Flags,
7232 pub entity_air: super::entity::Air,
7233 pub entity_custom_name: super::entity::CustomName,
7234 pub entity_name_visible: super::entity::NameVisible,
7235 pub entity_silent: super::entity::Silent,
7236 pub entity_no_gravity: super::entity::NoGravity,
7237 pub entity_pose: super::entity::Pose,
7238 pub entity_frozen_ticks: super::entity::FrozenTicks,
7239 pub kind: super::EntityKind,
7240 pub id: super::EntityId,
7241 pub uuid: super::UniqueId,
7242 pub layer: super::EntityLayerId,
7243 pub old_layer: super::OldEntityLayerId,
7244 pub position: super::Position,
7245 pub old_position: super::OldPosition,
7246 pub look: super::Look,
7247 pub head_yaw: super::HeadYaw,
7248 pub on_ground: super::OnGround,
7249 pub velocity: super::Velocity,
7250 pub statuses: super::EntityStatuses,
7251 pub animations: super::EntityAnimations,
7252 pub object_data: super::ObjectData,
7253 pub tracked_data: super::tracked_data::TrackedData,
7254 }
7255 impl Default for InteractionEntityBundle {
7256 fn default() -> Self {
7257 Self {
7258 interaction_entity: Default::default(),
7259 interaction_width: Default::default(),
7260 interaction_height: Default::default(),
7261 interaction_response: Default::default(),
7262 entity: Default::default(),
7263 entity_flags: Default::default(),
7264 entity_air: Default::default(),
7265 entity_custom_name: Default::default(),
7266 entity_name_visible: Default::default(),
7267 entity_silent: Default::default(),
7268 entity_no_gravity: Default::default(),
7269 entity_pose: Default::default(),
7270 entity_frozen_ticks: Default::default(),
7271 kind: super::EntityKind::INTERACTION,
7272 id: Default::default(),
7273 uuid: Default::default(),
7274 layer: Default::default(),
7275 old_layer: Default::default(),
7276 position: Default::default(),
7277 old_position: Default::default(),
7278 look: Default::default(),
7279 head_yaw: Default::default(),
7280 on_ground: Default::default(),
7281 velocity: Default::default(),
7282 statuses: Default::default(),
7283 animations: Default::default(),
7284 object_data: Default::default(),
7285 tracked_data: Default::default(),
7286 }
7287 }
7288 }
7289 #[derive(
7290 bevy_ecs :: component :: Component,
7291 PartialEq,
7292 Clone,
7293 Debug,
7294 :: derive_more :: Deref,
7295 :: derive_more :: DerefMut,
7296 )]
7297 pub struct Width(pub f32);
7298 #[allow(clippy::derivable_impls)]
7299 impl Default for Width {
7300 fn default() -> Self {
7301 Self(1f32)
7302 }
7303 }
7304 #[derive(
7305 bevy_ecs :: component :: Component,
7306 PartialEq,
7307 Clone,
7308 Debug,
7309 :: derive_more :: Deref,
7310 :: derive_more :: DerefMut,
7311 )]
7312 pub struct Height(pub f32);
7313 #[allow(clippy::derivable_impls)]
7314 impl Default for Height {
7315 fn default() -> Self {
7316 Self(1f32)
7317 }
7318 }
7319 #[derive(
7320 bevy_ecs :: component :: Component,
7321 PartialEq,
7322 Clone,
7323 Debug,
7324 :: derive_more :: Deref,
7325 :: derive_more :: DerefMut,
7326 )]
7327 pub struct Response(pub bool);
7328 #[allow(clippy::derivable_impls)]
7329 impl Default for Response {
7330 fn default() -> Self {
7331 Self(false)
7332 }
7333 }
7334 #[doc = "Marker component for `interaction` entities."]
7335 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
7336 pub struct InteractionEntity;
7337}
7338#[allow(clippy::module_inception)]
7339pub mod iron_golem {
7340 #![doc = "Parent class: [`golem`][super::golem]."]
7341 #[doc = "The bundle of components for spawning `iron_golem` entities."]
7342 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
7343 pub struct IronGolemEntityBundle {
7344 pub iron_golem_entity: super::iron_golem::IronGolemEntity,
7345 pub iron_golem_iron_golem_flags: super::iron_golem::IronGolemFlags,
7346 pub golem_entity: super::golem::GolemEntity,
7347 pub path_aware_entity: super::path_aware::PathAwareEntity,
7348 pub mob_entity: super::mob::MobEntity,
7349 pub mob_mob_flags: super::mob::MobFlags,
7350 pub living_entity: super::living::LivingEntity,
7351 pub living_absorption: super::living::Absorption,
7352 pub living_attributes: super::attributes::EntityAttributes,
7353 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
7354 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
7355 pub living_living_flags: super::living::LivingFlags,
7356 pub living_health: super::living::Health,
7357 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
7358 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
7359 pub living_stuck_arrow_count: super::living::StuckArrowCount,
7360 pub living_stinger_count: super::living::StingerCount,
7361 pub living_sleeping_position: super::living::SleepingPosition,
7362 pub entity: super::entity::Entity,
7363 pub entity_flags: super::entity::Flags,
7364 pub entity_air: super::entity::Air,
7365 pub entity_custom_name: super::entity::CustomName,
7366 pub entity_name_visible: super::entity::NameVisible,
7367 pub entity_silent: super::entity::Silent,
7368 pub entity_no_gravity: super::entity::NoGravity,
7369 pub entity_pose: super::entity::Pose,
7370 pub entity_frozen_ticks: super::entity::FrozenTicks,
7371 pub kind: super::EntityKind,
7372 pub id: super::EntityId,
7373 pub uuid: super::UniqueId,
7374 pub layer: super::EntityLayerId,
7375 pub old_layer: super::OldEntityLayerId,
7376 pub position: super::Position,
7377 pub old_position: super::OldPosition,
7378 pub look: super::Look,
7379 pub head_yaw: super::HeadYaw,
7380 pub on_ground: super::OnGround,
7381 pub velocity: super::Velocity,
7382 pub statuses: super::EntityStatuses,
7383 pub animations: super::EntityAnimations,
7384 pub object_data: super::ObjectData,
7385 pub tracked_data: super::tracked_data::TrackedData,
7386 }
7387 impl Default for IronGolemEntityBundle {
7388 fn default() -> Self {
7389 Self {
7390 iron_golem_entity: Default::default(),
7391 iron_golem_iron_golem_flags: Default::default(),
7392 golem_entity: Default::default(),
7393 path_aware_entity: Default::default(),
7394 mob_entity: Default::default(),
7395 mob_mob_flags: Default::default(),
7396 living_entity: Default::default(),
7397 living_absorption: Default::default(),
7398 living_attributes: super::attributes::EntityAttributes::new()
7399 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
7400 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
7401 .with_attribute_and_value(
7402 super::EntityAttribute::GenericKnockbackResistance,
7403 1f64,
7404 )
7405 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
7406 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 15f64)
7407 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
7408 .with_attribute_and_value(super::EntityAttribute::GenericMovementSpeed, 0.25f64)
7409 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 100f64),
7410 living_attributes_tracker: Default::default(),
7411 living_active_status_effects: Default::default(),
7412 living_living_flags: Default::default(),
7413 living_health: Default::default(),
7414 living_potion_swirls_color: Default::default(),
7415 living_potion_swirls_ambient: Default::default(),
7416 living_stuck_arrow_count: Default::default(),
7417 living_stinger_count: Default::default(),
7418 living_sleeping_position: Default::default(),
7419 entity: Default::default(),
7420 entity_flags: Default::default(),
7421 entity_air: Default::default(),
7422 entity_custom_name: Default::default(),
7423 entity_name_visible: Default::default(),
7424 entity_silent: Default::default(),
7425 entity_no_gravity: Default::default(),
7426 entity_pose: Default::default(),
7427 entity_frozen_ticks: Default::default(),
7428 kind: super::EntityKind::IRON_GOLEM,
7429 id: Default::default(),
7430 uuid: Default::default(),
7431 layer: Default::default(),
7432 old_layer: Default::default(),
7433 position: Default::default(),
7434 old_position: Default::default(),
7435 look: Default::default(),
7436 head_yaw: Default::default(),
7437 on_ground: Default::default(),
7438 velocity: Default::default(),
7439 statuses: Default::default(),
7440 animations: Default::default(),
7441 object_data: Default::default(),
7442 tracked_data: Default::default(),
7443 }
7444 }
7445 }
7446 #[derive(
7447 bevy_ecs :: component :: Component,
7448 PartialEq,
7449 Clone,
7450 Debug,
7451 :: derive_more :: Deref,
7452 :: derive_more :: DerefMut,
7453 )]
7454 pub struct IronGolemFlags(pub i8);
7455 #[allow(clippy::derivable_impls)]
7456 impl Default for IronGolemFlags {
7457 fn default() -> Self {
7458 Self(0i8)
7459 }
7460 }
7461 #[doc = "Marker component for `iron_golem` entities."]
7462 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
7463 pub struct IronGolemEntity;
7464}
7465#[allow(clippy::module_inception)]
7466pub mod item_display {
7467 #![doc = "Parent class: [`display`][super::display]."]
7468 #[doc = "The bundle of components for spawning `item_display` entities."]
7469 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
7470 pub struct ItemDisplayEntityBundle {
7471 pub item_display_entity: super::item_display::ItemDisplayEntity,
7472 pub item_display_item: super::item_display::Item,
7473 pub item_display_item_display: super::item_display::ItemDisplay,
7474 pub display_entity: super::display::DisplayEntity,
7475 pub display_start_interpolation: super::display::StartInterpolation,
7476 pub display_interpolation_duration: super::display::InterpolationDuration,
7477 pub display_translation: super::display::Translation,
7478 pub display_scale: super::display::Scale,
7479 pub display_left_rotation: super::display::LeftRotation,
7480 pub display_right_rotation: super::display::RightRotation,
7481 pub display_billboard: super::display::Billboard,
7482 pub display_brightness: super::display::Brightness,
7483 pub display_view_range: super::display::ViewRange,
7484 pub display_shadow_radius: super::display::ShadowRadius,
7485 pub display_shadow_strength: super::display::ShadowStrength,
7486 pub display_width: super::display::Width,
7487 pub display_height: super::display::Height,
7488 pub display_glow_color_override: super::display::GlowColorOverride,
7489 pub entity: super::entity::Entity,
7490 pub entity_flags: super::entity::Flags,
7491 pub entity_air: super::entity::Air,
7492 pub entity_custom_name: super::entity::CustomName,
7493 pub entity_name_visible: super::entity::NameVisible,
7494 pub entity_silent: super::entity::Silent,
7495 pub entity_no_gravity: super::entity::NoGravity,
7496 pub entity_pose: super::entity::Pose,
7497 pub entity_frozen_ticks: super::entity::FrozenTicks,
7498 pub kind: super::EntityKind,
7499 pub id: super::EntityId,
7500 pub uuid: super::UniqueId,
7501 pub layer: super::EntityLayerId,
7502 pub old_layer: super::OldEntityLayerId,
7503 pub position: super::Position,
7504 pub old_position: super::OldPosition,
7505 pub look: super::Look,
7506 pub head_yaw: super::HeadYaw,
7507 pub on_ground: super::OnGround,
7508 pub velocity: super::Velocity,
7509 pub statuses: super::EntityStatuses,
7510 pub animations: super::EntityAnimations,
7511 pub object_data: super::ObjectData,
7512 pub tracked_data: super::tracked_data::TrackedData,
7513 }
7514 impl Default for ItemDisplayEntityBundle {
7515 fn default() -> Self {
7516 Self {
7517 item_display_entity: Default::default(),
7518 item_display_item: Default::default(),
7519 item_display_item_display: Default::default(),
7520 display_entity: Default::default(),
7521 display_start_interpolation: Default::default(),
7522 display_interpolation_duration: Default::default(),
7523 display_translation: Default::default(),
7524 display_scale: Default::default(),
7525 display_left_rotation: Default::default(),
7526 display_right_rotation: Default::default(),
7527 display_billboard: Default::default(),
7528 display_brightness: Default::default(),
7529 display_view_range: Default::default(),
7530 display_shadow_radius: Default::default(),
7531 display_shadow_strength: Default::default(),
7532 display_width: Default::default(),
7533 display_height: Default::default(),
7534 display_glow_color_override: Default::default(),
7535 entity: Default::default(),
7536 entity_flags: Default::default(),
7537 entity_air: Default::default(),
7538 entity_custom_name: Default::default(),
7539 entity_name_visible: Default::default(),
7540 entity_silent: Default::default(),
7541 entity_no_gravity: Default::default(),
7542 entity_pose: Default::default(),
7543 entity_frozen_ticks: Default::default(),
7544 kind: super::EntityKind::ITEM_DISPLAY,
7545 id: Default::default(),
7546 uuid: Default::default(),
7547 layer: Default::default(),
7548 old_layer: Default::default(),
7549 position: Default::default(),
7550 old_position: Default::default(),
7551 look: Default::default(),
7552 head_yaw: Default::default(),
7553 on_ground: Default::default(),
7554 velocity: Default::default(),
7555 statuses: Default::default(),
7556 animations: Default::default(),
7557 object_data: Default::default(),
7558 tracked_data: Default::default(),
7559 }
7560 }
7561 }
7562 #[derive(
7563 bevy_ecs :: component :: Component,
7564 PartialEq,
7565 Clone,
7566 Debug,
7567 :: derive_more :: Deref,
7568 :: derive_more :: DerefMut,
7569 )]
7570 pub struct Item(pub valence_protocol::ItemStack);
7571 #[allow(clippy::derivable_impls)]
7572 impl Default for Item {
7573 fn default() -> Self {
7574 Self(valence_protocol::ItemStack::default())
7575 }
7576 }
7577 #[derive(
7578 bevy_ecs :: component :: Component,
7579 PartialEq,
7580 Clone,
7581 Debug,
7582 :: derive_more :: Deref,
7583 :: derive_more :: DerefMut,
7584 )]
7585 pub struct ItemDisplay(pub i8);
7586 #[allow(clippy::derivable_impls)]
7587 impl Default for ItemDisplay {
7588 fn default() -> Self {
7589 Self(0i8)
7590 }
7591 }
7592 #[doc = "Marker component for `item_display` entities."]
7593 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
7594 pub struct ItemDisplayEntity;
7595}
7596#[allow(clippy::module_inception)]
7597pub mod item {
7598 #![doc = "Parent class: [`entity`][super::entity]."]
7599 #[doc = "The bundle of components for spawning `item` entities."]
7600 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
7601 pub struct ItemEntityBundle {
7602 pub item_entity: super::item::ItemEntity,
7603 pub item_stack: super::item::Stack,
7604 pub entity: super::entity::Entity,
7605 pub entity_flags: super::entity::Flags,
7606 pub entity_air: super::entity::Air,
7607 pub entity_custom_name: super::entity::CustomName,
7608 pub entity_name_visible: super::entity::NameVisible,
7609 pub entity_silent: super::entity::Silent,
7610 pub entity_no_gravity: super::entity::NoGravity,
7611 pub entity_pose: super::entity::Pose,
7612 pub entity_frozen_ticks: super::entity::FrozenTicks,
7613 pub kind: super::EntityKind,
7614 pub id: super::EntityId,
7615 pub uuid: super::UniqueId,
7616 pub layer: super::EntityLayerId,
7617 pub old_layer: super::OldEntityLayerId,
7618 pub position: super::Position,
7619 pub old_position: super::OldPosition,
7620 pub look: super::Look,
7621 pub head_yaw: super::HeadYaw,
7622 pub on_ground: super::OnGround,
7623 pub velocity: super::Velocity,
7624 pub statuses: super::EntityStatuses,
7625 pub animations: super::EntityAnimations,
7626 pub object_data: super::ObjectData,
7627 pub tracked_data: super::tracked_data::TrackedData,
7628 }
7629 impl Default for ItemEntityBundle {
7630 fn default() -> Self {
7631 Self {
7632 item_entity: Default::default(),
7633 item_stack: Default::default(),
7634 entity: Default::default(),
7635 entity_flags: Default::default(),
7636 entity_air: Default::default(),
7637 entity_custom_name: Default::default(),
7638 entity_name_visible: Default::default(),
7639 entity_silent: Default::default(),
7640 entity_no_gravity: Default::default(),
7641 entity_pose: Default::default(),
7642 entity_frozen_ticks: Default::default(),
7643 kind: super::EntityKind::ITEM,
7644 id: Default::default(),
7645 uuid: Default::default(),
7646 layer: Default::default(),
7647 old_layer: Default::default(),
7648 position: Default::default(),
7649 old_position: Default::default(),
7650 look: Default::default(),
7651 head_yaw: Default::default(),
7652 on_ground: Default::default(),
7653 velocity: Default::default(),
7654 statuses: Default::default(),
7655 animations: Default::default(),
7656 object_data: Default::default(),
7657 tracked_data: Default::default(),
7658 }
7659 }
7660 }
7661 #[derive(
7662 bevy_ecs :: component :: Component,
7663 PartialEq,
7664 Clone,
7665 Debug,
7666 :: derive_more :: Deref,
7667 :: derive_more :: DerefMut,
7668 )]
7669 pub struct Stack(pub valence_protocol::ItemStack);
7670 #[allow(clippy::derivable_impls)]
7671 impl Default for Stack {
7672 fn default() -> Self {
7673 Self(valence_protocol::ItemStack::default())
7674 }
7675 }
7676 #[doc = "Marker component for `item` entities."]
7677 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
7678 pub struct ItemEntity;
7679}
7680#[allow(clippy::module_inception)]
7681pub mod item_frame {
7682 #![doc = "Parent class: [`abstract_decoration`][super::abstract_decoration]."]
7683 #[doc = "The bundle of components for spawning `item_frame` entities."]
7684 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
7685 pub struct ItemFrameEntityBundle {
7686 pub item_frame_entity: super::item_frame::ItemFrameEntity,
7687 pub item_frame_item_stack: super::item_frame::ItemStack,
7688 pub item_frame_rotation: super::item_frame::Rotation,
7689 pub abstract_decoration_entity: super::abstract_decoration::AbstractDecorationEntity,
7690 pub entity: super::entity::Entity,
7691 pub entity_flags: super::entity::Flags,
7692 pub entity_air: super::entity::Air,
7693 pub entity_custom_name: super::entity::CustomName,
7694 pub entity_name_visible: super::entity::NameVisible,
7695 pub entity_silent: super::entity::Silent,
7696 pub entity_no_gravity: super::entity::NoGravity,
7697 pub entity_pose: super::entity::Pose,
7698 pub entity_frozen_ticks: super::entity::FrozenTicks,
7699 pub kind: super::EntityKind,
7700 pub id: super::EntityId,
7701 pub uuid: super::UniqueId,
7702 pub layer: super::EntityLayerId,
7703 pub old_layer: super::OldEntityLayerId,
7704 pub position: super::Position,
7705 pub old_position: super::OldPosition,
7706 pub look: super::Look,
7707 pub head_yaw: super::HeadYaw,
7708 pub on_ground: super::OnGround,
7709 pub velocity: super::Velocity,
7710 pub statuses: super::EntityStatuses,
7711 pub animations: super::EntityAnimations,
7712 pub object_data: super::ObjectData,
7713 pub tracked_data: super::tracked_data::TrackedData,
7714 }
7715 impl Default for ItemFrameEntityBundle {
7716 fn default() -> Self {
7717 Self {
7718 item_frame_entity: Default::default(),
7719 item_frame_item_stack: Default::default(),
7720 item_frame_rotation: Default::default(),
7721 abstract_decoration_entity: Default::default(),
7722 entity: Default::default(),
7723 entity_flags: Default::default(),
7724 entity_air: Default::default(),
7725 entity_custom_name: Default::default(),
7726 entity_name_visible: Default::default(),
7727 entity_silent: Default::default(),
7728 entity_no_gravity: Default::default(),
7729 entity_pose: Default::default(),
7730 entity_frozen_ticks: Default::default(),
7731 kind: super::EntityKind::ITEM_FRAME,
7732 id: Default::default(),
7733 uuid: Default::default(),
7734 layer: Default::default(),
7735 old_layer: Default::default(),
7736 position: Default::default(),
7737 old_position: Default::default(),
7738 look: Default::default(),
7739 head_yaw: Default::default(),
7740 on_ground: Default::default(),
7741 velocity: Default::default(),
7742 statuses: Default::default(),
7743 animations: Default::default(),
7744 object_data: Default::default(),
7745 tracked_data: Default::default(),
7746 }
7747 }
7748 }
7749 #[derive(
7750 bevy_ecs :: component :: Component,
7751 PartialEq,
7752 Clone,
7753 Debug,
7754 :: derive_more :: Deref,
7755 :: derive_more :: DerefMut,
7756 )]
7757 pub struct ItemStack(pub valence_protocol::ItemStack);
7758 #[allow(clippy::derivable_impls)]
7759 impl Default for ItemStack {
7760 fn default() -> Self {
7761 Self(valence_protocol::ItemStack::default())
7762 }
7763 }
7764 #[derive(
7765 bevy_ecs :: component :: Component,
7766 PartialEq,
7767 Clone,
7768 Debug,
7769 :: derive_more :: Deref,
7770 :: derive_more :: DerefMut,
7771 )]
7772 pub struct Rotation(pub i32);
7773 #[allow(clippy::derivable_impls)]
7774 impl Default for Rotation {
7775 fn default() -> Self {
7776 Self(0i32)
7777 }
7778 }
7779 #[doc = "Marker component for `item_frame` entities."]
7780 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
7781 pub struct ItemFrameEntity;
7782}
7783#[allow(clippy::module_inception)]
7784pub mod leash_knot {
7785 #![doc = "Parent class: [`abstract_decoration`][super::abstract_decoration]."]
7786 #[doc = "The bundle of components for spawning `leash_knot` entities."]
7787 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
7788 pub struct LeashKnotEntityBundle {
7789 pub leash_knot_entity: super::leash_knot::LeashKnotEntity,
7790 pub abstract_decoration_entity: super::abstract_decoration::AbstractDecorationEntity,
7791 pub entity: super::entity::Entity,
7792 pub entity_flags: super::entity::Flags,
7793 pub entity_air: super::entity::Air,
7794 pub entity_custom_name: super::entity::CustomName,
7795 pub entity_name_visible: super::entity::NameVisible,
7796 pub entity_silent: super::entity::Silent,
7797 pub entity_no_gravity: super::entity::NoGravity,
7798 pub entity_pose: super::entity::Pose,
7799 pub entity_frozen_ticks: super::entity::FrozenTicks,
7800 pub kind: super::EntityKind,
7801 pub id: super::EntityId,
7802 pub uuid: super::UniqueId,
7803 pub layer: super::EntityLayerId,
7804 pub old_layer: super::OldEntityLayerId,
7805 pub position: super::Position,
7806 pub old_position: super::OldPosition,
7807 pub look: super::Look,
7808 pub head_yaw: super::HeadYaw,
7809 pub on_ground: super::OnGround,
7810 pub velocity: super::Velocity,
7811 pub statuses: super::EntityStatuses,
7812 pub animations: super::EntityAnimations,
7813 pub object_data: super::ObjectData,
7814 pub tracked_data: super::tracked_data::TrackedData,
7815 }
7816 impl Default for LeashKnotEntityBundle {
7817 fn default() -> Self {
7818 Self {
7819 leash_knot_entity: Default::default(),
7820 abstract_decoration_entity: Default::default(),
7821 entity: Default::default(),
7822 entity_flags: Default::default(),
7823 entity_air: Default::default(),
7824 entity_custom_name: Default::default(),
7825 entity_name_visible: Default::default(),
7826 entity_silent: Default::default(),
7827 entity_no_gravity: Default::default(),
7828 entity_pose: Default::default(),
7829 entity_frozen_ticks: Default::default(),
7830 kind: super::EntityKind::LEASH_KNOT,
7831 id: Default::default(),
7832 uuid: Default::default(),
7833 layer: Default::default(),
7834 old_layer: Default::default(),
7835 position: Default::default(),
7836 old_position: Default::default(),
7837 look: Default::default(),
7838 head_yaw: Default::default(),
7839 on_ground: Default::default(),
7840 velocity: Default::default(),
7841 statuses: Default::default(),
7842 animations: Default::default(),
7843 object_data: Default::default(),
7844 tracked_data: Default::default(),
7845 }
7846 }
7847 }
7848 #[doc = "Marker component for `leash_knot` entities."]
7849 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
7850 pub struct LeashKnotEntity;
7851}
7852#[allow(clippy::module_inception)]
7853pub mod lightning {
7854 #![doc = "Parent class: [`entity`][super::entity]."]
7855 #[doc = "The bundle of components for spawning `lightning` entities."]
7856 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
7857 pub struct LightningEntityBundle {
7858 pub lightning_entity: super::lightning::LightningEntity,
7859 pub entity: super::entity::Entity,
7860 pub entity_flags: super::entity::Flags,
7861 pub entity_air: super::entity::Air,
7862 pub entity_custom_name: super::entity::CustomName,
7863 pub entity_name_visible: super::entity::NameVisible,
7864 pub entity_silent: super::entity::Silent,
7865 pub entity_no_gravity: super::entity::NoGravity,
7866 pub entity_pose: super::entity::Pose,
7867 pub entity_frozen_ticks: super::entity::FrozenTicks,
7868 pub kind: super::EntityKind,
7869 pub id: super::EntityId,
7870 pub uuid: super::UniqueId,
7871 pub layer: super::EntityLayerId,
7872 pub old_layer: super::OldEntityLayerId,
7873 pub position: super::Position,
7874 pub old_position: super::OldPosition,
7875 pub look: super::Look,
7876 pub head_yaw: super::HeadYaw,
7877 pub on_ground: super::OnGround,
7878 pub velocity: super::Velocity,
7879 pub statuses: super::EntityStatuses,
7880 pub animations: super::EntityAnimations,
7881 pub object_data: super::ObjectData,
7882 pub tracked_data: super::tracked_data::TrackedData,
7883 }
7884 impl Default for LightningEntityBundle {
7885 fn default() -> Self {
7886 Self {
7887 lightning_entity: Default::default(),
7888 entity: Default::default(),
7889 entity_flags: Default::default(),
7890 entity_air: Default::default(),
7891 entity_custom_name: Default::default(),
7892 entity_name_visible: Default::default(),
7893 entity_silent: Default::default(),
7894 entity_no_gravity: Default::default(),
7895 entity_pose: Default::default(),
7896 entity_frozen_ticks: Default::default(),
7897 kind: super::EntityKind::LIGHTNING,
7898 id: Default::default(),
7899 uuid: Default::default(),
7900 layer: Default::default(),
7901 old_layer: Default::default(),
7902 position: Default::default(),
7903 old_position: Default::default(),
7904 look: Default::default(),
7905 head_yaw: Default::default(),
7906 on_ground: Default::default(),
7907 velocity: Default::default(),
7908 statuses: Default::default(),
7909 animations: Default::default(),
7910 object_data: Default::default(),
7911 tracked_data: Default::default(),
7912 }
7913 }
7914 }
7915 #[doc = "Marker component for `lightning` entities."]
7916 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
7917 pub struct LightningEntity;
7918}
7919#[allow(clippy::module_inception)]
7920pub mod living {
7921 #![doc = "Parent class: [`entity`][super::entity]."]
7922 #[derive(
7923 bevy_ecs :: component :: Component,
7924 PartialEq,
7925 Clone,
7926 Debug,
7927 :: derive_more :: Deref,
7928 :: derive_more :: DerefMut,
7929 )]
7930 pub struct LivingFlags(pub i8);
7931 #[allow(clippy::derivable_impls)]
7932 impl Default for LivingFlags {
7933 fn default() -> Self {
7934 Self(0i8)
7935 }
7936 }
7937 #[derive(
7938 bevy_ecs :: component :: Component,
7939 PartialEq,
7940 Clone,
7941 Debug,
7942 :: derive_more :: Deref,
7943 :: derive_more :: DerefMut,
7944 )]
7945 pub struct Health(pub f32);
7946 #[allow(clippy::derivable_impls)]
7947 impl Default for Health {
7948 fn default() -> Self {
7949 Self(14f32)
7950 }
7951 }
7952 #[derive(
7953 bevy_ecs :: component :: Component,
7954 PartialEq,
7955 Clone,
7956 Debug,
7957 :: derive_more :: Deref,
7958 :: derive_more :: DerefMut,
7959 )]
7960 pub struct PotionSwirlsColor(pub i32);
7961 #[allow(clippy::derivable_impls)]
7962 impl Default for PotionSwirlsColor {
7963 fn default() -> Self {
7964 Self(0i32)
7965 }
7966 }
7967 #[derive(
7968 bevy_ecs :: component :: Component,
7969 PartialEq,
7970 Clone,
7971 Debug,
7972 :: derive_more :: Deref,
7973 :: derive_more :: DerefMut,
7974 )]
7975 pub struct PotionSwirlsAmbient(pub bool);
7976 #[allow(clippy::derivable_impls)]
7977 impl Default for PotionSwirlsAmbient {
7978 fn default() -> Self {
7979 Self(false)
7980 }
7981 }
7982 #[derive(
7983 bevy_ecs :: component :: Component,
7984 PartialEq,
7985 Clone,
7986 Debug,
7987 :: derive_more :: Deref,
7988 :: derive_more :: DerefMut,
7989 )]
7990 pub struct StuckArrowCount(pub i32);
7991 #[allow(clippy::derivable_impls)]
7992 impl Default for StuckArrowCount {
7993 fn default() -> Self {
7994 Self(0i32)
7995 }
7996 }
7997 #[derive(
7998 bevy_ecs :: component :: Component,
7999 PartialEq,
8000 Clone,
8001 Debug,
8002 :: derive_more :: Deref,
8003 :: derive_more :: DerefMut,
8004 )]
8005 pub struct StingerCount(pub i32);
8006 #[allow(clippy::derivable_impls)]
8007 impl Default for StingerCount {
8008 fn default() -> Self {
8009 Self(0i32)
8010 }
8011 }
8012 #[derive(
8013 bevy_ecs :: component :: Component,
8014 PartialEq,
8015 Clone,
8016 Debug,
8017 :: derive_more :: Deref,
8018 :: derive_more :: DerefMut,
8019 )]
8020 pub struct SleepingPosition(pub Option<valence_protocol::BlockPos>);
8021 #[allow(clippy::derivable_impls)]
8022 impl Default for SleepingPosition {
8023 fn default() -> Self {
8024 Self(None)
8025 }
8026 }
8027 #[doc = "Marker component for `living` entities."]
8028 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
8029 pub struct LivingEntity;
8030 #[doc = "Special untracked component for `LivingEntity` entities."]
8031 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
8032 pub struct Absorption(pub f32);
8033}
8034#[allow(clippy::module_inception)]
8035pub mod llama {
8036 #![doc = "Parent class: [`abstract_donkey`][super::abstract_donkey]."]
8037 #[doc = "The bundle of components for spawning `llama` entities."]
8038 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
8039 pub struct LlamaEntityBundle {
8040 pub llama_entity: super::llama::LlamaEntity,
8041 pub llama_strength: super::llama::Strength,
8042 pub llama_carpet_color: super::llama::CarpetColor,
8043 pub llama_variant: super::llama::Variant,
8044 pub abstract_donkey_entity: super::abstract_donkey::AbstractDonkeyEntity,
8045 pub abstract_donkey_chest: super::abstract_donkey::Chest,
8046 pub abstract_horse_entity: super::abstract_horse::AbstractHorseEntity,
8047 pub abstract_horse_horse_flags: super::abstract_horse::HorseFlags,
8048 pub animal_entity: super::animal::AnimalEntity,
8049 pub passive_entity: super::passive::PassiveEntity,
8050 pub passive_child: super::passive::Child,
8051 pub path_aware_entity: super::path_aware::PathAwareEntity,
8052 pub mob_entity: super::mob::MobEntity,
8053 pub mob_mob_flags: super::mob::MobFlags,
8054 pub living_entity: super::living::LivingEntity,
8055 pub living_absorption: super::living::Absorption,
8056 pub living_attributes: super::attributes::EntityAttributes,
8057 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
8058 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
8059 pub living_living_flags: super::living::LivingFlags,
8060 pub living_health: super::living::Health,
8061 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
8062 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
8063 pub living_stuck_arrow_count: super::living::StuckArrowCount,
8064 pub living_stinger_count: super::living::StingerCount,
8065 pub living_sleeping_position: super::living::SleepingPosition,
8066 pub entity: super::entity::Entity,
8067 pub entity_flags: super::entity::Flags,
8068 pub entity_air: super::entity::Air,
8069 pub entity_custom_name: super::entity::CustomName,
8070 pub entity_name_visible: super::entity::NameVisible,
8071 pub entity_silent: super::entity::Silent,
8072 pub entity_no_gravity: super::entity::NoGravity,
8073 pub entity_pose: super::entity::Pose,
8074 pub entity_frozen_ticks: super::entity::FrozenTicks,
8075 pub kind: super::EntityKind,
8076 pub id: super::EntityId,
8077 pub uuid: super::UniqueId,
8078 pub layer: super::EntityLayerId,
8079 pub old_layer: super::OldEntityLayerId,
8080 pub position: super::Position,
8081 pub old_position: super::OldPosition,
8082 pub look: super::Look,
8083 pub head_yaw: super::HeadYaw,
8084 pub on_ground: super::OnGround,
8085 pub velocity: super::Velocity,
8086 pub statuses: super::EntityStatuses,
8087 pub animations: super::EntityAnimations,
8088 pub object_data: super::ObjectData,
8089 pub tracked_data: super::tracked_data::TrackedData,
8090 }
8091 impl Default for LlamaEntityBundle {
8092 fn default() -> Self {
8093 Self {
8094 llama_entity: Default::default(),
8095 llama_strength: Default::default(),
8096 llama_carpet_color: Default::default(),
8097 llama_variant: Default::default(),
8098 abstract_donkey_entity: Default::default(),
8099 abstract_donkey_chest: Default::default(),
8100 abstract_horse_entity: Default::default(),
8101 abstract_horse_horse_flags: Default::default(),
8102 animal_entity: Default::default(),
8103 passive_entity: Default::default(),
8104 passive_child: Default::default(),
8105 path_aware_entity: Default::default(),
8106 mob_entity: Default::default(),
8107 mob_mob_flags: Default::default(),
8108 living_entity: Default::default(),
8109 living_absorption: Default::default(),
8110 living_attributes: super::attributes::EntityAttributes::new()
8111 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
8112 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
8113 .with_attribute_and_value(
8114 super::EntityAttribute::GenericKnockbackResistance,
8115 0f64,
8116 )
8117 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
8118 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 40f64)
8119 .with_attribute_and_value(super::EntityAttribute::HorseJumpStrength, 0.5f64)
8120 .with_attribute_and_value(
8121 super::EntityAttribute::GenericMovementSpeed,
8122 0.17499999701976776f64,
8123 )
8124 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 53f64),
8125 living_attributes_tracker: Default::default(),
8126 living_active_status_effects: Default::default(),
8127 living_living_flags: Default::default(),
8128 living_health: Default::default(),
8129 living_potion_swirls_color: Default::default(),
8130 living_potion_swirls_ambient: Default::default(),
8131 living_stuck_arrow_count: Default::default(),
8132 living_stinger_count: Default::default(),
8133 living_sleeping_position: Default::default(),
8134 entity: Default::default(),
8135 entity_flags: Default::default(),
8136 entity_air: Default::default(),
8137 entity_custom_name: Default::default(),
8138 entity_name_visible: Default::default(),
8139 entity_silent: Default::default(),
8140 entity_no_gravity: Default::default(),
8141 entity_pose: Default::default(),
8142 entity_frozen_ticks: Default::default(),
8143 kind: super::EntityKind::LLAMA,
8144 id: Default::default(),
8145 uuid: Default::default(),
8146 layer: Default::default(),
8147 old_layer: Default::default(),
8148 position: Default::default(),
8149 old_position: Default::default(),
8150 look: Default::default(),
8151 head_yaw: Default::default(),
8152 on_ground: Default::default(),
8153 velocity: Default::default(),
8154 statuses: Default::default(),
8155 animations: Default::default(),
8156 object_data: Default::default(),
8157 tracked_data: Default::default(),
8158 }
8159 }
8160 }
8161 #[derive(
8162 bevy_ecs :: component :: Component,
8163 PartialEq,
8164 Clone,
8165 Debug,
8166 :: derive_more :: Deref,
8167 :: derive_more :: DerefMut,
8168 )]
8169 pub struct Strength(pub i32);
8170 #[allow(clippy::derivable_impls)]
8171 impl Default for Strength {
8172 fn default() -> Self {
8173 Self(0i32)
8174 }
8175 }
8176 #[derive(
8177 bevy_ecs :: component :: Component,
8178 PartialEq,
8179 Clone,
8180 Debug,
8181 :: derive_more :: Deref,
8182 :: derive_more :: DerefMut,
8183 )]
8184 pub struct CarpetColor(pub i32);
8185 #[allow(clippy::derivable_impls)]
8186 impl Default for CarpetColor {
8187 fn default() -> Self {
8188 Self(-1i32)
8189 }
8190 }
8191 #[derive(
8192 bevy_ecs :: component :: Component,
8193 PartialEq,
8194 Clone,
8195 Debug,
8196 :: derive_more :: Deref,
8197 :: derive_more :: DerefMut,
8198 )]
8199 pub struct Variant(pub i32);
8200 #[allow(clippy::derivable_impls)]
8201 impl Default for Variant {
8202 fn default() -> Self {
8203 Self(0i32)
8204 }
8205 }
8206 #[doc = "Marker component for `llama` entities."]
8207 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
8208 pub struct LlamaEntity;
8209}
8210#[allow(clippy::module_inception)]
8211pub mod llama_spit {
8212 #![doc = "Parent class: [`projectile`][super::projectile]."]
8213 #[doc = "The bundle of components for spawning `llama_spit` entities."]
8214 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
8215 pub struct LlamaSpitEntityBundle {
8216 pub llama_spit_entity: super::llama_spit::LlamaSpitEntity,
8217 pub projectile_entity: super::projectile::ProjectileEntity,
8218 pub entity: super::entity::Entity,
8219 pub entity_flags: super::entity::Flags,
8220 pub entity_air: super::entity::Air,
8221 pub entity_custom_name: super::entity::CustomName,
8222 pub entity_name_visible: super::entity::NameVisible,
8223 pub entity_silent: super::entity::Silent,
8224 pub entity_no_gravity: super::entity::NoGravity,
8225 pub entity_pose: super::entity::Pose,
8226 pub entity_frozen_ticks: super::entity::FrozenTicks,
8227 pub kind: super::EntityKind,
8228 pub id: super::EntityId,
8229 pub uuid: super::UniqueId,
8230 pub layer: super::EntityLayerId,
8231 pub old_layer: super::OldEntityLayerId,
8232 pub position: super::Position,
8233 pub old_position: super::OldPosition,
8234 pub look: super::Look,
8235 pub head_yaw: super::HeadYaw,
8236 pub on_ground: super::OnGround,
8237 pub velocity: super::Velocity,
8238 pub statuses: super::EntityStatuses,
8239 pub animations: super::EntityAnimations,
8240 pub object_data: super::ObjectData,
8241 pub tracked_data: super::tracked_data::TrackedData,
8242 }
8243 impl Default for LlamaSpitEntityBundle {
8244 fn default() -> Self {
8245 Self {
8246 llama_spit_entity: Default::default(),
8247 projectile_entity: Default::default(),
8248 entity: Default::default(),
8249 entity_flags: Default::default(),
8250 entity_air: Default::default(),
8251 entity_custom_name: Default::default(),
8252 entity_name_visible: Default::default(),
8253 entity_silent: Default::default(),
8254 entity_no_gravity: Default::default(),
8255 entity_pose: Default::default(),
8256 entity_frozen_ticks: Default::default(),
8257 kind: super::EntityKind::LLAMA_SPIT,
8258 id: Default::default(),
8259 uuid: Default::default(),
8260 layer: Default::default(),
8261 old_layer: Default::default(),
8262 position: Default::default(),
8263 old_position: Default::default(),
8264 look: Default::default(),
8265 head_yaw: Default::default(),
8266 on_ground: Default::default(),
8267 velocity: Default::default(),
8268 statuses: Default::default(),
8269 animations: Default::default(),
8270 object_data: Default::default(),
8271 tracked_data: Default::default(),
8272 }
8273 }
8274 }
8275 #[doc = "Marker component for `llama_spit` entities."]
8276 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
8277 pub struct LlamaSpitEntity;
8278}
8279#[allow(clippy::module_inception)]
8280pub mod magma_cube {
8281 #![doc = "Parent class: [`slime`][super::slime]."]
8282 #[doc = "The bundle of components for spawning `magma_cube` entities."]
8283 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
8284 pub struct MagmaCubeEntityBundle {
8285 pub magma_cube_entity: super::magma_cube::MagmaCubeEntity,
8286 pub slime_entity: super::slime::SlimeEntity,
8287 pub slime_slime_size: super::slime::SlimeSize,
8288 pub mob_entity: super::mob::MobEntity,
8289 pub mob_mob_flags: super::mob::MobFlags,
8290 pub living_entity: super::living::LivingEntity,
8291 pub living_absorption: super::living::Absorption,
8292 pub living_attributes: super::attributes::EntityAttributes,
8293 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
8294 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
8295 pub living_living_flags: super::living::LivingFlags,
8296 pub living_health: super::living::Health,
8297 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
8298 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
8299 pub living_stuck_arrow_count: super::living::StuckArrowCount,
8300 pub living_stinger_count: super::living::StingerCount,
8301 pub living_sleeping_position: super::living::SleepingPosition,
8302 pub entity: super::entity::Entity,
8303 pub entity_flags: super::entity::Flags,
8304 pub entity_air: super::entity::Air,
8305 pub entity_custom_name: super::entity::CustomName,
8306 pub entity_name_visible: super::entity::NameVisible,
8307 pub entity_silent: super::entity::Silent,
8308 pub entity_no_gravity: super::entity::NoGravity,
8309 pub entity_pose: super::entity::Pose,
8310 pub entity_frozen_ticks: super::entity::FrozenTicks,
8311 pub kind: super::EntityKind,
8312 pub id: super::EntityId,
8313 pub uuid: super::UniqueId,
8314 pub layer: super::EntityLayerId,
8315 pub old_layer: super::OldEntityLayerId,
8316 pub position: super::Position,
8317 pub old_position: super::OldPosition,
8318 pub look: super::Look,
8319 pub head_yaw: super::HeadYaw,
8320 pub on_ground: super::OnGround,
8321 pub velocity: super::Velocity,
8322 pub statuses: super::EntityStatuses,
8323 pub animations: super::EntityAnimations,
8324 pub object_data: super::ObjectData,
8325 pub tracked_data: super::tracked_data::TrackedData,
8326 }
8327 impl Default for MagmaCubeEntityBundle {
8328 fn default() -> Self {
8329 Self {
8330 magma_cube_entity: Default::default(),
8331 slime_entity: Default::default(),
8332 slime_slime_size: Default::default(),
8333 mob_entity: Default::default(),
8334 mob_mob_flags: Default::default(),
8335 living_entity: Default::default(),
8336 living_absorption: Default::default(),
8337 living_attributes: super::attributes::EntityAttributes::new()
8338 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
8339 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
8340 .with_attribute_and_value(
8341 super::EntityAttribute::GenericKnockbackResistance,
8342 0f64,
8343 )
8344 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
8345 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 2f64)
8346 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
8347 .with_attribute_and_value(
8348 super::EntityAttribute::GenericMovementSpeed,
8349 0.20000000298023224f64,
8350 )
8351 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 20f64),
8352 living_attributes_tracker: Default::default(),
8353 living_active_status_effects: Default::default(),
8354 living_living_flags: Default::default(),
8355 living_health: Default::default(),
8356 living_potion_swirls_color: Default::default(),
8357 living_potion_swirls_ambient: Default::default(),
8358 living_stuck_arrow_count: Default::default(),
8359 living_stinger_count: Default::default(),
8360 living_sleeping_position: Default::default(),
8361 entity: Default::default(),
8362 entity_flags: Default::default(),
8363 entity_air: Default::default(),
8364 entity_custom_name: Default::default(),
8365 entity_name_visible: Default::default(),
8366 entity_silent: Default::default(),
8367 entity_no_gravity: Default::default(),
8368 entity_pose: Default::default(),
8369 entity_frozen_ticks: Default::default(),
8370 kind: super::EntityKind::MAGMA_CUBE,
8371 id: Default::default(),
8372 uuid: Default::default(),
8373 layer: Default::default(),
8374 old_layer: Default::default(),
8375 position: Default::default(),
8376 old_position: Default::default(),
8377 look: Default::default(),
8378 head_yaw: Default::default(),
8379 on_ground: Default::default(),
8380 velocity: Default::default(),
8381 statuses: Default::default(),
8382 animations: Default::default(),
8383 object_data: Default::default(),
8384 tracked_data: Default::default(),
8385 }
8386 }
8387 }
8388 #[doc = "Marker component for `magma_cube` entities."]
8389 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
8390 pub struct MagmaCubeEntity;
8391}
8392#[allow(clippy::module_inception)]
8393pub mod marker {
8394 #![doc = "Parent class: [`entity`][super::entity]."]
8395 #[doc = "The bundle of components for spawning `marker` entities."]
8396 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
8397 pub struct MarkerEntityBundle {
8398 pub marker_entity: super::marker::MarkerEntity,
8399 pub entity: super::entity::Entity,
8400 pub entity_flags: super::entity::Flags,
8401 pub entity_air: super::entity::Air,
8402 pub entity_custom_name: super::entity::CustomName,
8403 pub entity_name_visible: super::entity::NameVisible,
8404 pub entity_silent: super::entity::Silent,
8405 pub entity_no_gravity: super::entity::NoGravity,
8406 pub entity_pose: super::entity::Pose,
8407 pub entity_frozen_ticks: super::entity::FrozenTicks,
8408 pub kind: super::EntityKind,
8409 pub id: super::EntityId,
8410 pub uuid: super::UniqueId,
8411 pub layer: super::EntityLayerId,
8412 pub old_layer: super::OldEntityLayerId,
8413 pub position: super::Position,
8414 pub old_position: super::OldPosition,
8415 pub look: super::Look,
8416 pub head_yaw: super::HeadYaw,
8417 pub on_ground: super::OnGround,
8418 pub velocity: super::Velocity,
8419 pub statuses: super::EntityStatuses,
8420 pub animations: super::EntityAnimations,
8421 pub object_data: super::ObjectData,
8422 pub tracked_data: super::tracked_data::TrackedData,
8423 }
8424 impl Default for MarkerEntityBundle {
8425 fn default() -> Self {
8426 Self {
8427 marker_entity: Default::default(),
8428 entity: Default::default(),
8429 entity_flags: Default::default(),
8430 entity_air: Default::default(),
8431 entity_custom_name: Default::default(),
8432 entity_name_visible: Default::default(),
8433 entity_silent: Default::default(),
8434 entity_no_gravity: Default::default(),
8435 entity_pose: Default::default(),
8436 entity_frozen_ticks: Default::default(),
8437 kind: super::EntityKind::MARKER,
8438 id: Default::default(),
8439 uuid: Default::default(),
8440 layer: Default::default(),
8441 old_layer: Default::default(),
8442 position: Default::default(),
8443 old_position: Default::default(),
8444 look: Default::default(),
8445 head_yaw: Default::default(),
8446 on_ground: Default::default(),
8447 velocity: Default::default(),
8448 statuses: Default::default(),
8449 animations: Default::default(),
8450 object_data: Default::default(),
8451 tracked_data: Default::default(),
8452 }
8453 }
8454 }
8455 #[doc = "Marker component for `marker` entities."]
8456 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
8457 pub struct MarkerEntity;
8458}
8459#[allow(clippy::module_inception)]
8460pub mod merchant {
8461 #![doc = "Parent class: [`passive`][super::passive]."]
8462 #[derive(
8463 bevy_ecs :: component :: Component,
8464 PartialEq,
8465 Clone,
8466 Debug,
8467 :: derive_more :: Deref,
8468 :: derive_more :: DerefMut,
8469 )]
8470 pub struct HeadRollingTimeLeft(pub i32);
8471 #[allow(clippy::derivable_impls)]
8472 impl Default for HeadRollingTimeLeft {
8473 fn default() -> Self {
8474 Self(0i32)
8475 }
8476 }
8477 #[doc = "Marker component for `merchant` entities."]
8478 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
8479 pub struct MerchantEntity;
8480}
8481#[allow(clippy::module_inception)]
8482pub mod minecart {
8483 #![doc = "Parent class: [`abstract_minecart`][super::abstract_minecart]."]
8484 #[doc = "The bundle of components for spawning `minecart` entities."]
8485 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
8486 pub struct MinecartEntityBundle {
8487 pub minecart_entity: super::minecart::MinecartEntity,
8488 pub abstract_minecart_entity: super::abstract_minecart::AbstractMinecartEntity,
8489 pub abstract_minecart_damage_wobble_ticks: super::abstract_minecart::DamageWobbleTicks,
8490 pub abstract_minecart_damage_wobble_side: super::abstract_minecart::DamageWobbleSide,
8491 pub abstract_minecart_damage_wobble_strength:
8492 super::abstract_minecart::DamageWobbleStrength,
8493 pub abstract_minecart_custom_block_id: super::abstract_minecart::CustomBlockId,
8494 pub abstract_minecart_custom_block_offset: super::abstract_minecart::CustomBlockOffset,
8495 pub abstract_minecart_custom_block_present: super::abstract_minecart::CustomBlockPresent,
8496 pub entity: super::entity::Entity,
8497 pub entity_flags: super::entity::Flags,
8498 pub entity_air: super::entity::Air,
8499 pub entity_custom_name: super::entity::CustomName,
8500 pub entity_name_visible: super::entity::NameVisible,
8501 pub entity_silent: super::entity::Silent,
8502 pub entity_no_gravity: super::entity::NoGravity,
8503 pub entity_pose: super::entity::Pose,
8504 pub entity_frozen_ticks: super::entity::FrozenTicks,
8505 pub kind: super::EntityKind,
8506 pub id: super::EntityId,
8507 pub uuid: super::UniqueId,
8508 pub layer: super::EntityLayerId,
8509 pub old_layer: super::OldEntityLayerId,
8510 pub position: super::Position,
8511 pub old_position: super::OldPosition,
8512 pub look: super::Look,
8513 pub head_yaw: super::HeadYaw,
8514 pub on_ground: super::OnGround,
8515 pub velocity: super::Velocity,
8516 pub statuses: super::EntityStatuses,
8517 pub animations: super::EntityAnimations,
8518 pub object_data: super::ObjectData,
8519 pub tracked_data: super::tracked_data::TrackedData,
8520 }
8521 impl Default for MinecartEntityBundle {
8522 fn default() -> Self {
8523 Self {
8524 minecart_entity: Default::default(),
8525 abstract_minecart_entity: Default::default(),
8526 abstract_minecart_damage_wobble_ticks: Default::default(),
8527 abstract_minecart_damage_wobble_side: Default::default(),
8528 abstract_minecart_damage_wobble_strength: Default::default(),
8529 abstract_minecart_custom_block_id: Default::default(),
8530 abstract_minecart_custom_block_offset: Default::default(),
8531 abstract_minecart_custom_block_present: Default::default(),
8532 entity: Default::default(),
8533 entity_flags: Default::default(),
8534 entity_air: Default::default(),
8535 entity_custom_name: Default::default(),
8536 entity_name_visible: Default::default(),
8537 entity_silent: Default::default(),
8538 entity_no_gravity: Default::default(),
8539 entity_pose: Default::default(),
8540 entity_frozen_ticks: Default::default(),
8541 kind: super::EntityKind::MINECART,
8542 id: Default::default(),
8543 uuid: Default::default(),
8544 layer: Default::default(),
8545 old_layer: Default::default(),
8546 position: Default::default(),
8547 old_position: Default::default(),
8548 look: Default::default(),
8549 head_yaw: Default::default(),
8550 on_ground: Default::default(),
8551 velocity: Default::default(),
8552 statuses: Default::default(),
8553 animations: Default::default(),
8554 object_data: Default::default(),
8555 tracked_data: Default::default(),
8556 }
8557 }
8558 }
8559 #[doc = "Marker component for `minecart` entities."]
8560 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
8561 pub struct MinecartEntity;
8562}
8563#[allow(clippy::module_inception)]
8564pub mod mob {
8565 #![doc = "Parent class: [`living`][super::living]."]
8566 #[derive(
8567 bevy_ecs :: component :: Component,
8568 PartialEq,
8569 Clone,
8570 Debug,
8571 :: derive_more :: Deref,
8572 :: derive_more :: DerefMut,
8573 )]
8574 pub struct MobFlags(pub i8);
8575 #[allow(clippy::derivable_impls)]
8576 impl Default for MobFlags {
8577 fn default() -> Self {
8578 Self(0i8)
8579 }
8580 }
8581 #[doc = "Marker component for `mob` entities."]
8582 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
8583 pub struct MobEntity;
8584}
8585#[allow(clippy::module_inception)]
8586pub mod mooshroom {
8587 #![doc = "Parent class: [`cow`][super::cow]."]
8588 #[doc = "The bundle of components for spawning `mooshroom` entities."]
8589 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
8590 pub struct MooshroomEntityBundle {
8591 pub mooshroom_entity: super::mooshroom::MooshroomEntity,
8592 pub mooshroom_type: super::mooshroom::Type,
8593 pub cow_entity: super::cow::CowEntity,
8594 pub animal_entity: super::animal::AnimalEntity,
8595 pub passive_entity: super::passive::PassiveEntity,
8596 pub passive_child: super::passive::Child,
8597 pub path_aware_entity: super::path_aware::PathAwareEntity,
8598 pub mob_entity: super::mob::MobEntity,
8599 pub mob_mob_flags: super::mob::MobFlags,
8600 pub living_entity: super::living::LivingEntity,
8601 pub living_absorption: super::living::Absorption,
8602 pub living_attributes: super::attributes::EntityAttributes,
8603 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
8604 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
8605 pub living_living_flags: super::living::LivingFlags,
8606 pub living_health: super::living::Health,
8607 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
8608 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
8609 pub living_stuck_arrow_count: super::living::StuckArrowCount,
8610 pub living_stinger_count: super::living::StingerCount,
8611 pub living_sleeping_position: super::living::SleepingPosition,
8612 pub entity: super::entity::Entity,
8613 pub entity_flags: super::entity::Flags,
8614 pub entity_air: super::entity::Air,
8615 pub entity_custom_name: super::entity::CustomName,
8616 pub entity_name_visible: super::entity::NameVisible,
8617 pub entity_silent: super::entity::Silent,
8618 pub entity_no_gravity: super::entity::NoGravity,
8619 pub entity_pose: super::entity::Pose,
8620 pub entity_frozen_ticks: super::entity::FrozenTicks,
8621 pub kind: super::EntityKind,
8622 pub id: super::EntityId,
8623 pub uuid: super::UniqueId,
8624 pub layer: super::EntityLayerId,
8625 pub old_layer: super::OldEntityLayerId,
8626 pub position: super::Position,
8627 pub old_position: super::OldPosition,
8628 pub look: super::Look,
8629 pub head_yaw: super::HeadYaw,
8630 pub on_ground: super::OnGround,
8631 pub velocity: super::Velocity,
8632 pub statuses: super::EntityStatuses,
8633 pub animations: super::EntityAnimations,
8634 pub object_data: super::ObjectData,
8635 pub tracked_data: super::tracked_data::TrackedData,
8636 }
8637 impl Default for MooshroomEntityBundle {
8638 fn default() -> Self {
8639 Self {
8640 mooshroom_entity: Default::default(),
8641 mooshroom_type: Default::default(),
8642 cow_entity: Default::default(),
8643 animal_entity: Default::default(),
8644 passive_entity: Default::default(),
8645 passive_child: Default::default(),
8646 path_aware_entity: Default::default(),
8647 mob_entity: Default::default(),
8648 mob_mob_flags: Default::default(),
8649 living_entity: Default::default(),
8650 living_absorption: Default::default(),
8651 living_attributes: super::attributes::EntityAttributes::new()
8652 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
8653 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
8654 .with_attribute_and_value(
8655 super::EntityAttribute::GenericKnockbackResistance,
8656 0f64,
8657 )
8658 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
8659 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
8660 .with_attribute_and_value(
8661 super::EntityAttribute::GenericMovementSpeed,
8662 0.20000000298023224f64,
8663 )
8664 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 10f64),
8665 living_attributes_tracker: Default::default(),
8666 living_active_status_effects: Default::default(),
8667 living_living_flags: Default::default(),
8668 living_health: Default::default(),
8669 living_potion_swirls_color: Default::default(),
8670 living_potion_swirls_ambient: Default::default(),
8671 living_stuck_arrow_count: Default::default(),
8672 living_stinger_count: Default::default(),
8673 living_sleeping_position: Default::default(),
8674 entity: Default::default(),
8675 entity_flags: Default::default(),
8676 entity_air: Default::default(),
8677 entity_custom_name: Default::default(),
8678 entity_name_visible: Default::default(),
8679 entity_silent: Default::default(),
8680 entity_no_gravity: Default::default(),
8681 entity_pose: Default::default(),
8682 entity_frozen_ticks: Default::default(),
8683 kind: super::EntityKind::MOOSHROOM,
8684 id: Default::default(),
8685 uuid: Default::default(),
8686 layer: Default::default(),
8687 old_layer: Default::default(),
8688 position: Default::default(),
8689 old_position: Default::default(),
8690 look: Default::default(),
8691 head_yaw: Default::default(),
8692 on_ground: Default::default(),
8693 velocity: Default::default(),
8694 statuses: Default::default(),
8695 animations: Default::default(),
8696 object_data: Default::default(),
8697 tracked_data: Default::default(),
8698 }
8699 }
8700 }
8701 #[derive(
8702 bevy_ecs :: component :: Component,
8703 PartialEq,
8704 Clone,
8705 Debug,
8706 :: derive_more :: Deref,
8707 :: derive_more :: DerefMut,
8708 )]
8709 pub struct Type(pub String);
8710 #[allow(clippy::derivable_impls)]
8711 impl Default for Type {
8712 fn default() -> Self {
8713 Self("red".to_owned())
8714 }
8715 }
8716 #[doc = "Marker component for `mooshroom` entities."]
8717 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
8718 pub struct MooshroomEntity;
8719}
8720#[allow(clippy::module_inception)]
8721pub mod mule {
8722 #![doc = "Parent class: [`abstract_donkey`][super::abstract_donkey]."]
8723 #[doc = "The bundle of components for spawning `mule` entities."]
8724 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
8725 pub struct MuleEntityBundle {
8726 pub mule_entity: super::mule::MuleEntity,
8727 pub abstract_donkey_entity: super::abstract_donkey::AbstractDonkeyEntity,
8728 pub abstract_donkey_chest: super::abstract_donkey::Chest,
8729 pub abstract_horse_entity: super::abstract_horse::AbstractHorseEntity,
8730 pub abstract_horse_horse_flags: super::abstract_horse::HorseFlags,
8731 pub animal_entity: super::animal::AnimalEntity,
8732 pub passive_entity: super::passive::PassiveEntity,
8733 pub passive_child: super::passive::Child,
8734 pub path_aware_entity: super::path_aware::PathAwareEntity,
8735 pub mob_entity: super::mob::MobEntity,
8736 pub mob_mob_flags: super::mob::MobFlags,
8737 pub living_entity: super::living::LivingEntity,
8738 pub living_absorption: super::living::Absorption,
8739 pub living_attributes: super::attributes::EntityAttributes,
8740 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
8741 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
8742 pub living_living_flags: super::living::LivingFlags,
8743 pub living_health: super::living::Health,
8744 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
8745 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
8746 pub living_stuck_arrow_count: super::living::StuckArrowCount,
8747 pub living_stinger_count: super::living::StingerCount,
8748 pub living_sleeping_position: super::living::SleepingPosition,
8749 pub entity: super::entity::Entity,
8750 pub entity_flags: super::entity::Flags,
8751 pub entity_air: super::entity::Air,
8752 pub entity_custom_name: super::entity::CustomName,
8753 pub entity_name_visible: super::entity::NameVisible,
8754 pub entity_silent: super::entity::Silent,
8755 pub entity_no_gravity: super::entity::NoGravity,
8756 pub entity_pose: super::entity::Pose,
8757 pub entity_frozen_ticks: super::entity::FrozenTicks,
8758 pub kind: super::EntityKind,
8759 pub id: super::EntityId,
8760 pub uuid: super::UniqueId,
8761 pub layer: super::EntityLayerId,
8762 pub old_layer: super::OldEntityLayerId,
8763 pub position: super::Position,
8764 pub old_position: super::OldPosition,
8765 pub look: super::Look,
8766 pub head_yaw: super::HeadYaw,
8767 pub on_ground: super::OnGround,
8768 pub velocity: super::Velocity,
8769 pub statuses: super::EntityStatuses,
8770 pub animations: super::EntityAnimations,
8771 pub object_data: super::ObjectData,
8772 pub tracked_data: super::tracked_data::TrackedData,
8773 }
8774 impl Default for MuleEntityBundle {
8775 fn default() -> Self {
8776 Self {
8777 mule_entity: Default::default(),
8778 abstract_donkey_entity: Default::default(),
8779 abstract_donkey_chest: Default::default(),
8780 abstract_horse_entity: Default::default(),
8781 abstract_horse_horse_flags: Default::default(),
8782 animal_entity: Default::default(),
8783 passive_entity: Default::default(),
8784 passive_child: Default::default(),
8785 path_aware_entity: Default::default(),
8786 mob_entity: Default::default(),
8787 mob_mob_flags: Default::default(),
8788 living_entity: Default::default(),
8789 living_absorption: Default::default(),
8790 living_attributes: super::attributes::EntityAttributes::new()
8791 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
8792 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
8793 .with_attribute_and_value(
8794 super::EntityAttribute::GenericKnockbackResistance,
8795 0f64,
8796 )
8797 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
8798 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
8799 .with_attribute_and_value(super::EntityAttribute::HorseJumpStrength, 0.5f64)
8800 .with_attribute_and_value(
8801 super::EntityAttribute::GenericMovementSpeed,
8802 0.17499999701976776f64,
8803 )
8804 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 53f64),
8805 living_attributes_tracker: Default::default(),
8806 living_active_status_effects: Default::default(),
8807 living_living_flags: Default::default(),
8808 living_health: Default::default(),
8809 living_potion_swirls_color: Default::default(),
8810 living_potion_swirls_ambient: Default::default(),
8811 living_stuck_arrow_count: Default::default(),
8812 living_stinger_count: Default::default(),
8813 living_sleeping_position: Default::default(),
8814 entity: Default::default(),
8815 entity_flags: Default::default(),
8816 entity_air: Default::default(),
8817 entity_custom_name: Default::default(),
8818 entity_name_visible: Default::default(),
8819 entity_silent: Default::default(),
8820 entity_no_gravity: Default::default(),
8821 entity_pose: Default::default(),
8822 entity_frozen_ticks: Default::default(),
8823 kind: super::EntityKind::MULE,
8824 id: Default::default(),
8825 uuid: Default::default(),
8826 layer: Default::default(),
8827 old_layer: Default::default(),
8828 position: Default::default(),
8829 old_position: Default::default(),
8830 look: Default::default(),
8831 head_yaw: Default::default(),
8832 on_ground: Default::default(),
8833 velocity: Default::default(),
8834 statuses: Default::default(),
8835 animations: Default::default(),
8836 object_data: Default::default(),
8837 tracked_data: Default::default(),
8838 }
8839 }
8840 }
8841 #[doc = "Marker component for `mule` entities."]
8842 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
8843 pub struct MuleEntity;
8844}
8845#[allow(clippy::module_inception)]
8846pub mod ocelot {
8847 #![doc = "Parent class: [`animal`][super::animal]."]
8848 #[doc = "The bundle of components for spawning `ocelot` entities."]
8849 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
8850 pub struct OcelotEntityBundle {
8851 pub ocelot_entity: super::ocelot::OcelotEntity,
8852 pub ocelot_trusting: super::ocelot::Trusting,
8853 pub animal_entity: super::animal::AnimalEntity,
8854 pub passive_entity: super::passive::PassiveEntity,
8855 pub passive_child: super::passive::Child,
8856 pub path_aware_entity: super::path_aware::PathAwareEntity,
8857 pub mob_entity: super::mob::MobEntity,
8858 pub mob_mob_flags: super::mob::MobFlags,
8859 pub living_entity: super::living::LivingEntity,
8860 pub living_absorption: super::living::Absorption,
8861 pub living_attributes: super::attributes::EntityAttributes,
8862 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
8863 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
8864 pub living_living_flags: super::living::LivingFlags,
8865 pub living_health: super::living::Health,
8866 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
8867 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
8868 pub living_stuck_arrow_count: super::living::StuckArrowCount,
8869 pub living_stinger_count: super::living::StingerCount,
8870 pub living_sleeping_position: super::living::SleepingPosition,
8871 pub entity: super::entity::Entity,
8872 pub entity_flags: super::entity::Flags,
8873 pub entity_air: super::entity::Air,
8874 pub entity_custom_name: super::entity::CustomName,
8875 pub entity_name_visible: super::entity::NameVisible,
8876 pub entity_silent: super::entity::Silent,
8877 pub entity_no_gravity: super::entity::NoGravity,
8878 pub entity_pose: super::entity::Pose,
8879 pub entity_frozen_ticks: super::entity::FrozenTicks,
8880 pub kind: super::EntityKind,
8881 pub id: super::EntityId,
8882 pub uuid: super::UniqueId,
8883 pub layer: super::EntityLayerId,
8884 pub old_layer: super::OldEntityLayerId,
8885 pub position: super::Position,
8886 pub old_position: super::OldPosition,
8887 pub look: super::Look,
8888 pub head_yaw: super::HeadYaw,
8889 pub on_ground: super::OnGround,
8890 pub velocity: super::Velocity,
8891 pub statuses: super::EntityStatuses,
8892 pub animations: super::EntityAnimations,
8893 pub object_data: super::ObjectData,
8894 pub tracked_data: super::tracked_data::TrackedData,
8895 }
8896 impl Default for OcelotEntityBundle {
8897 fn default() -> Self {
8898 Self {
8899 ocelot_entity: Default::default(),
8900 ocelot_trusting: Default::default(),
8901 animal_entity: Default::default(),
8902 passive_entity: Default::default(),
8903 passive_child: Default::default(),
8904 path_aware_entity: Default::default(),
8905 mob_entity: Default::default(),
8906 mob_mob_flags: Default::default(),
8907 living_entity: Default::default(),
8908 living_absorption: Default::default(),
8909 living_attributes: super::attributes::EntityAttributes::new()
8910 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
8911 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
8912 .with_attribute_and_value(
8913 super::EntityAttribute::GenericKnockbackResistance,
8914 0f64,
8915 )
8916 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
8917 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 3f64)
8918 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
8919 .with_attribute_and_value(
8920 super::EntityAttribute::GenericMovementSpeed,
8921 0.30000001192092896f64,
8922 )
8923 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 10f64),
8924 living_attributes_tracker: Default::default(),
8925 living_active_status_effects: Default::default(),
8926 living_living_flags: Default::default(),
8927 living_health: Default::default(),
8928 living_potion_swirls_color: Default::default(),
8929 living_potion_swirls_ambient: Default::default(),
8930 living_stuck_arrow_count: Default::default(),
8931 living_stinger_count: Default::default(),
8932 living_sleeping_position: Default::default(),
8933 entity: Default::default(),
8934 entity_flags: Default::default(),
8935 entity_air: Default::default(),
8936 entity_custom_name: Default::default(),
8937 entity_name_visible: Default::default(),
8938 entity_silent: Default::default(),
8939 entity_no_gravity: Default::default(),
8940 entity_pose: Default::default(),
8941 entity_frozen_ticks: Default::default(),
8942 kind: super::EntityKind::OCELOT,
8943 id: Default::default(),
8944 uuid: Default::default(),
8945 layer: Default::default(),
8946 old_layer: Default::default(),
8947 position: Default::default(),
8948 old_position: Default::default(),
8949 look: Default::default(),
8950 head_yaw: Default::default(),
8951 on_ground: Default::default(),
8952 velocity: Default::default(),
8953 statuses: Default::default(),
8954 animations: Default::default(),
8955 object_data: Default::default(),
8956 tracked_data: Default::default(),
8957 }
8958 }
8959 }
8960 #[derive(
8961 bevy_ecs :: component :: Component,
8962 PartialEq,
8963 Clone,
8964 Debug,
8965 :: derive_more :: Deref,
8966 :: derive_more :: DerefMut,
8967 )]
8968 pub struct Trusting(pub bool);
8969 #[allow(clippy::derivable_impls)]
8970 impl Default for Trusting {
8971 fn default() -> Self {
8972 Self(false)
8973 }
8974 }
8975 #[doc = "Marker component for `ocelot` entities."]
8976 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
8977 pub struct OcelotEntity;
8978}
8979#[allow(clippy::module_inception)]
8980pub mod painting {
8981 #![doc = "Parent class: [`abstract_decoration`][super::abstract_decoration]."]
8982 #[doc = "The bundle of components for spawning `painting` entities."]
8983 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
8984 pub struct PaintingEntityBundle {
8985 pub painting_entity: super::painting::PaintingEntity,
8986 pub painting_variant: super::painting::Variant,
8987 pub abstract_decoration_entity: super::abstract_decoration::AbstractDecorationEntity,
8988 pub entity: super::entity::Entity,
8989 pub entity_flags: super::entity::Flags,
8990 pub entity_air: super::entity::Air,
8991 pub entity_custom_name: super::entity::CustomName,
8992 pub entity_name_visible: super::entity::NameVisible,
8993 pub entity_silent: super::entity::Silent,
8994 pub entity_no_gravity: super::entity::NoGravity,
8995 pub entity_pose: super::entity::Pose,
8996 pub entity_frozen_ticks: super::entity::FrozenTicks,
8997 pub kind: super::EntityKind,
8998 pub id: super::EntityId,
8999 pub uuid: super::UniqueId,
9000 pub layer: super::EntityLayerId,
9001 pub old_layer: super::OldEntityLayerId,
9002 pub position: super::Position,
9003 pub old_position: super::OldPosition,
9004 pub look: super::Look,
9005 pub head_yaw: super::HeadYaw,
9006 pub on_ground: super::OnGround,
9007 pub velocity: super::Velocity,
9008 pub statuses: super::EntityStatuses,
9009 pub animations: super::EntityAnimations,
9010 pub object_data: super::ObjectData,
9011 pub tracked_data: super::tracked_data::TrackedData,
9012 }
9013 impl Default for PaintingEntityBundle {
9014 fn default() -> Self {
9015 Self {
9016 painting_entity: Default::default(),
9017 painting_variant: Default::default(),
9018 abstract_decoration_entity: Default::default(),
9019 entity: Default::default(),
9020 entity_flags: Default::default(),
9021 entity_air: Default::default(),
9022 entity_custom_name: Default::default(),
9023 entity_name_visible: Default::default(),
9024 entity_silent: Default::default(),
9025 entity_no_gravity: Default::default(),
9026 entity_pose: Default::default(),
9027 entity_frozen_ticks: Default::default(),
9028 kind: super::EntityKind::PAINTING,
9029 id: Default::default(),
9030 uuid: Default::default(),
9031 layer: Default::default(),
9032 old_layer: Default::default(),
9033 position: Default::default(),
9034 old_position: Default::default(),
9035 look: Default::default(),
9036 head_yaw: Default::default(),
9037 on_ground: Default::default(),
9038 velocity: Default::default(),
9039 statuses: Default::default(),
9040 animations: Default::default(),
9041 object_data: Default::default(),
9042 tracked_data: Default::default(),
9043 }
9044 }
9045 }
9046 #[derive(
9047 bevy_ecs :: component :: Component,
9048 PartialEq,
9049 Clone,
9050 Debug,
9051 :: derive_more :: Deref,
9052 :: derive_more :: DerefMut,
9053 )]
9054 pub struct Variant(pub crate::PaintingKind);
9055 #[allow(clippy::derivable_impls)]
9056 impl Default for Variant {
9057 fn default() -> Self {
9058 Self(crate::PaintingKind::Kebab)
9059 }
9060 }
9061 #[doc = "Marker component for `painting` entities."]
9062 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
9063 pub struct PaintingEntity;
9064}
9065#[allow(clippy::module_inception)]
9066pub mod panda {
9067 #![doc = "Parent class: [`animal`][super::animal]."]
9068 #[doc = "The bundle of components for spawning `panda` entities."]
9069 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
9070 pub struct PandaEntityBundle {
9071 pub panda_entity: super::panda::PandaEntity,
9072 pub panda_ask_for_bamboo_ticks: super::panda::AskForBambooTicks,
9073 pub panda_sneeze_progress: super::panda::SneezeProgress,
9074 pub panda_eating_ticks: super::panda::EatingTicks,
9075 pub panda_main_gene: super::panda::MainGene,
9076 pub panda_hidden_gene: super::panda::HiddenGene,
9077 pub panda_panda_flags: super::panda::PandaFlags,
9078 pub animal_entity: super::animal::AnimalEntity,
9079 pub passive_entity: super::passive::PassiveEntity,
9080 pub passive_child: super::passive::Child,
9081 pub path_aware_entity: super::path_aware::PathAwareEntity,
9082 pub mob_entity: super::mob::MobEntity,
9083 pub mob_mob_flags: super::mob::MobFlags,
9084 pub living_entity: super::living::LivingEntity,
9085 pub living_absorption: super::living::Absorption,
9086 pub living_attributes: super::attributes::EntityAttributes,
9087 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
9088 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
9089 pub living_living_flags: super::living::LivingFlags,
9090 pub living_health: super::living::Health,
9091 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
9092 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
9093 pub living_stuck_arrow_count: super::living::StuckArrowCount,
9094 pub living_stinger_count: super::living::StingerCount,
9095 pub living_sleeping_position: super::living::SleepingPosition,
9096 pub entity: super::entity::Entity,
9097 pub entity_flags: super::entity::Flags,
9098 pub entity_air: super::entity::Air,
9099 pub entity_custom_name: super::entity::CustomName,
9100 pub entity_name_visible: super::entity::NameVisible,
9101 pub entity_silent: super::entity::Silent,
9102 pub entity_no_gravity: super::entity::NoGravity,
9103 pub entity_pose: super::entity::Pose,
9104 pub entity_frozen_ticks: super::entity::FrozenTicks,
9105 pub kind: super::EntityKind,
9106 pub id: super::EntityId,
9107 pub uuid: super::UniqueId,
9108 pub layer: super::EntityLayerId,
9109 pub old_layer: super::OldEntityLayerId,
9110 pub position: super::Position,
9111 pub old_position: super::OldPosition,
9112 pub look: super::Look,
9113 pub head_yaw: super::HeadYaw,
9114 pub on_ground: super::OnGround,
9115 pub velocity: super::Velocity,
9116 pub statuses: super::EntityStatuses,
9117 pub animations: super::EntityAnimations,
9118 pub object_data: super::ObjectData,
9119 pub tracked_data: super::tracked_data::TrackedData,
9120 }
9121 impl Default for PandaEntityBundle {
9122 fn default() -> Self {
9123 Self {
9124 panda_entity: Default::default(),
9125 panda_ask_for_bamboo_ticks: Default::default(),
9126 panda_sneeze_progress: Default::default(),
9127 panda_eating_ticks: Default::default(),
9128 panda_main_gene: Default::default(),
9129 panda_hidden_gene: Default::default(),
9130 panda_panda_flags: Default::default(),
9131 animal_entity: Default::default(),
9132 passive_entity: Default::default(),
9133 passive_child: Default::default(),
9134 path_aware_entity: Default::default(),
9135 mob_entity: Default::default(),
9136 mob_mob_flags: Default::default(),
9137 living_entity: Default::default(),
9138 living_absorption: Default::default(),
9139 living_attributes: super::attributes::EntityAttributes::new()
9140 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
9141 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
9142 .with_attribute_and_value(
9143 super::EntityAttribute::GenericKnockbackResistance,
9144 0f64,
9145 )
9146 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
9147 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 6f64)
9148 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
9149 .with_attribute_and_value(
9150 super::EntityAttribute::GenericMovementSpeed,
9151 0.15000000596046448f64,
9152 )
9153 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 20f64),
9154 living_attributes_tracker: Default::default(),
9155 living_active_status_effects: Default::default(),
9156 living_living_flags: Default::default(),
9157 living_health: Default::default(),
9158 living_potion_swirls_color: Default::default(),
9159 living_potion_swirls_ambient: Default::default(),
9160 living_stuck_arrow_count: Default::default(),
9161 living_stinger_count: Default::default(),
9162 living_sleeping_position: Default::default(),
9163 entity: Default::default(),
9164 entity_flags: Default::default(),
9165 entity_air: Default::default(),
9166 entity_custom_name: Default::default(),
9167 entity_name_visible: Default::default(),
9168 entity_silent: Default::default(),
9169 entity_no_gravity: Default::default(),
9170 entity_pose: Default::default(),
9171 entity_frozen_ticks: Default::default(),
9172 kind: super::EntityKind::PANDA,
9173 id: Default::default(),
9174 uuid: Default::default(),
9175 layer: Default::default(),
9176 old_layer: Default::default(),
9177 position: Default::default(),
9178 old_position: Default::default(),
9179 look: Default::default(),
9180 head_yaw: Default::default(),
9181 on_ground: Default::default(),
9182 velocity: Default::default(),
9183 statuses: Default::default(),
9184 animations: Default::default(),
9185 object_data: Default::default(),
9186 tracked_data: Default::default(),
9187 }
9188 }
9189 }
9190 #[derive(
9191 bevy_ecs :: component :: Component,
9192 PartialEq,
9193 Clone,
9194 Debug,
9195 :: derive_more :: Deref,
9196 :: derive_more :: DerefMut,
9197 )]
9198 pub struct AskForBambooTicks(pub i32);
9199 #[allow(clippy::derivable_impls)]
9200 impl Default for AskForBambooTicks {
9201 fn default() -> Self {
9202 Self(0i32)
9203 }
9204 }
9205 #[derive(
9206 bevy_ecs :: component :: Component,
9207 PartialEq,
9208 Clone,
9209 Debug,
9210 :: derive_more :: Deref,
9211 :: derive_more :: DerefMut,
9212 )]
9213 pub struct SneezeProgress(pub i32);
9214 #[allow(clippy::derivable_impls)]
9215 impl Default for SneezeProgress {
9216 fn default() -> Self {
9217 Self(0i32)
9218 }
9219 }
9220 #[derive(
9221 bevy_ecs :: component :: Component,
9222 PartialEq,
9223 Clone,
9224 Debug,
9225 :: derive_more :: Deref,
9226 :: derive_more :: DerefMut,
9227 )]
9228 pub struct EatingTicks(pub i32);
9229 #[allow(clippy::derivable_impls)]
9230 impl Default for EatingTicks {
9231 fn default() -> Self {
9232 Self(0i32)
9233 }
9234 }
9235 #[derive(
9236 bevy_ecs :: component :: Component,
9237 PartialEq,
9238 Clone,
9239 Debug,
9240 :: derive_more :: Deref,
9241 :: derive_more :: DerefMut,
9242 )]
9243 pub struct MainGene(pub i8);
9244 #[allow(clippy::derivable_impls)]
9245 impl Default for MainGene {
9246 fn default() -> Self {
9247 Self(0i8)
9248 }
9249 }
9250 #[derive(
9251 bevy_ecs :: component :: Component,
9252 PartialEq,
9253 Clone,
9254 Debug,
9255 :: derive_more :: Deref,
9256 :: derive_more :: DerefMut,
9257 )]
9258 pub struct HiddenGene(pub i8);
9259 #[allow(clippy::derivable_impls)]
9260 impl Default for HiddenGene {
9261 fn default() -> Self {
9262 Self(0i8)
9263 }
9264 }
9265 #[derive(
9266 bevy_ecs :: component :: Component,
9267 PartialEq,
9268 Clone,
9269 Debug,
9270 :: derive_more :: Deref,
9271 :: derive_more :: DerefMut,
9272 )]
9273 pub struct PandaFlags(pub i8);
9274 #[allow(clippy::derivable_impls)]
9275 impl Default for PandaFlags {
9276 fn default() -> Self {
9277 Self(0i8)
9278 }
9279 }
9280 #[doc = "Marker component for `panda` entities."]
9281 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
9282 pub struct PandaEntity;
9283}
9284#[allow(clippy::module_inception)]
9285pub mod parrot {
9286 #![doc = "Parent class: [`tameable_shoulder`][super::tameable_shoulder]."]
9287 #[doc = "The bundle of components for spawning `parrot` entities."]
9288 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
9289 pub struct ParrotEntityBundle {
9290 pub parrot_entity: super::parrot::ParrotEntity,
9291 pub parrot_variant: super::parrot::Variant,
9292 pub tameable_shoulder_entity: super::tameable_shoulder::TameableShoulderEntity,
9293 pub tameable_entity: super::tameable::TameableEntity,
9294 pub tameable_tameable_flags: super::tameable::TameableFlags,
9295 pub tameable_owner_uuid: super::tameable::OwnerUuid,
9296 pub animal_entity: super::animal::AnimalEntity,
9297 pub passive_entity: super::passive::PassiveEntity,
9298 pub passive_child: super::passive::Child,
9299 pub path_aware_entity: super::path_aware::PathAwareEntity,
9300 pub mob_entity: super::mob::MobEntity,
9301 pub mob_mob_flags: super::mob::MobFlags,
9302 pub living_entity: super::living::LivingEntity,
9303 pub living_absorption: super::living::Absorption,
9304 pub living_attributes: super::attributes::EntityAttributes,
9305 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
9306 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
9307 pub living_living_flags: super::living::LivingFlags,
9308 pub living_health: super::living::Health,
9309 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
9310 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
9311 pub living_stuck_arrow_count: super::living::StuckArrowCount,
9312 pub living_stinger_count: super::living::StingerCount,
9313 pub living_sleeping_position: super::living::SleepingPosition,
9314 pub entity: super::entity::Entity,
9315 pub entity_flags: super::entity::Flags,
9316 pub entity_air: super::entity::Air,
9317 pub entity_custom_name: super::entity::CustomName,
9318 pub entity_name_visible: super::entity::NameVisible,
9319 pub entity_silent: super::entity::Silent,
9320 pub entity_no_gravity: super::entity::NoGravity,
9321 pub entity_pose: super::entity::Pose,
9322 pub entity_frozen_ticks: super::entity::FrozenTicks,
9323 pub kind: super::EntityKind,
9324 pub id: super::EntityId,
9325 pub uuid: super::UniqueId,
9326 pub layer: super::EntityLayerId,
9327 pub old_layer: super::OldEntityLayerId,
9328 pub position: super::Position,
9329 pub old_position: super::OldPosition,
9330 pub look: super::Look,
9331 pub head_yaw: super::HeadYaw,
9332 pub on_ground: super::OnGround,
9333 pub velocity: super::Velocity,
9334 pub statuses: super::EntityStatuses,
9335 pub animations: super::EntityAnimations,
9336 pub object_data: super::ObjectData,
9337 pub tracked_data: super::tracked_data::TrackedData,
9338 }
9339 impl Default for ParrotEntityBundle {
9340 fn default() -> Self {
9341 Self {
9342 parrot_entity: Default::default(),
9343 parrot_variant: Default::default(),
9344 tameable_shoulder_entity: Default::default(),
9345 tameable_entity: Default::default(),
9346 tameable_tameable_flags: Default::default(),
9347 tameable_owner_uuid: Default::default(),
9348 animal_entity: Default::default(),
9349 passive_entity: Default::default(),
9350 passive_child: Default::default(),
9351 path_aware_entity: Default::default(),
9352 mob_entity: Default::default(),
9353 mob_mob_flags: Default::default(),
9354 living_entity: Default::default(),
9355 living_absorption: Default::default(),
9356 living_attributes: super::attributes::EntityAttributes::new()
9357 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
9358 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
9359 .with_attribute_and_value(
9360 super::EntityAttribute::GenericKnockbackResistance,
9361 0f64,
9362 )
9363 .with_attribute_and_value(
9364 super::EntityAttribute::GenericFlyingSpeed,
9365 0.4000000059604645f64,
9366 )
9367 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
9368 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
9369 .with_attribute_and_value(
9370 super::EntityAttribute::GenericMovementSpeed,
9371 0.20000000298023224f64,
9372 )
9373 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 6f64),
9374 living_attributes_tracker: Default::default(),
9375 living_active_status_effects: Default::default(),
9376 living_living_flags: Default::default(),
9377 living_health: Default::default(),
9378 living_potion_swirls_color: Default::default(),
9379 living_potion_swirls_ambient: Default::default(),
9380 living_stuck_arrow_count: Default::default(),
9381 living_stinger_count: Default::default(),
9382 living_sleeping_position: Default::default(),
9383 entity: Default::default(),
9384 entity_flags: Default::default(),
9385 entity_air: Default::default(),
9386 entity_custom_name: Default::default(),
9387 entity_name_visible: Default::default(),
9388 entity_silent: Default::default(),
9389 entity_no_gravity: Default::default(),
9390 entity_pose: Default::default(),
9391 entity_frozen_ticks: Default::default(),
9392 kind: super::EntityKind::PARROT,
9393 id: Default::default(),
9394 uuid: Default::default(),
9395 layer: Default::default(),
9396 old_layer: Default::default(),
9397 position: Default::default(),
9398 old_position: Default::default(),
9399 look: Default::default(),
9400 head_yaw: Default::default(),
9401 on_ground: Default::default(),
9402 velocity: Default::default(),
9403 statuses: Default::default(),
9404 animations: Default::default(),
9405 object_data: Default::default(),
9406 tracked_data: Default::default(),
9407 }
9408 }
9409 }
9410 #[derive(
9411 bevy_ecs :: component :: Component,
9412 PartialEq,
9413 Clone,
9414 Debug,
9415 :: derive_more :: Deref,
9416 :: derive_more :: DerefMut,
9417 )]
9418 pub struct Variant(pub i32);
9419 #[allow(clippy::derivable_impls)]
9420 impl Default for Variant {
9421 fn default() -> Self {
9422 Self(0i32)
9423 }
9424 }
9425 #[doc = "Marker component for `parrot` entities."]
9426 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
9427 pub struct ParrotEntity;
9428}
9429#[allow(clippy::module_inception)]
9430pub mod passive {
9431 #![doc = "Parent class: [`path_aware`][super::path_aware]."]
9432 #[derive(
9433 bevy_ecs :: component :: Component,
9434 PartialEq,
9435 Clone,
9436 Debug,
9437 :: derive_more :: Deref,
9438 :: derive_more :: DerefMut,
9439 )]
9440 pub struct Child(pub bool);
9441 #[allow(clippy::derivable_impls)]
9442 impl Default for Child {
9443 fn default() -> Self {
9444 Self(false)
9445 }
9446 }
9447 #[doc = "Marker component for `passive` entities."]
9448 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
9449 pub struct PassiveEntity;
9450}
9451#[allow(clippy::module_inception)]
9452pub mod path_aware {
9453 #![doc = "Parent class: [`mob`][super::mob]."]
9454 #[doc = "Marker component for `path_aware` entities."]
9455 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
9456 pub struct PathAwareEntity;
9457}
9458#[allow(clippy::module_inception)]
9459pub mod patrol {
9460 #![doc = "Parent class: [`hostile`][super::hostile]."]
9461 #[doc = "Marker component for `patrol` entities."]
9462 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
9463 pub struct PatrolEntity;
9464}
9465#[allow(clippy::module_inception)]
9466pub mod persistent_projectile {
9467 #![doc = "Parent class: [`projectile`][super::projectile]."]
9468 #[derive(
9469 bevy_ecs :: component :: Component,
9470 PartialEq,
9471 Clone,
9472 Debug,
9473 :: derive_more :: Deref,
9474 :: derive_more :: DerefMut,
9475 )]
9476 pub struct ProjectileFlags(pub i8);
9477 #[allow(clippy::derivable_impls)]
9478 impl Default for ProjectileFlags {
9479 fn default() -> Self {
9480 Self(0i8)
9481 }
9482 }
9483 #[derive(
9484 bevy_ecs :: component :: Component,
9485 PartialEq,
9486 Clone,
9487 Debug,
9488 :: derive_more :: Deref,
9489 :: derive_more :: DerefMut,
9490 )]
9491 pub struct PierceLevel(pub i8);
9492 #[allow(clippy::derivable_impls)]
9493 impl Default for PierceLevel {
9494 fn default() -> Self {
9495 Self(0i8)
9496 }
9497 }
9498 #[doc = "Marker component for `persistent_projectile` entities."]
9499 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
9500 pub struct PersistentProjectileEntity;
9501}
9502#[allow(clippy::module_inception)]
9503pub mod phantom {
9504 #![doc = "Parent class: [`flying`][super::flying]."]
9505 #[doc = "The bundle of components for spawning `phantom` entities."]
9506 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
9507 pub struct PhantomEntityBundle {
9508 pub phantom_entity: super::phantom::PhantomEntity,
9509 pub phantom_size: super::phantom::Size,
9510 pub flying_entity: super::flying::FlyingEntity,
9511 pub mob_entity: super::mob::MobEntity,
9512 pub mob_mob_flags: super::mob::MobFlags,
9513 pub living_entity: super::living::LivingEntity,
9514 pub living_absorption: super::living::Absorption,
9515 pub living_attributes: super::attributes::EntityAttributes,
9516 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
9517 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
9518 pub living_living_flags: super::living::LivingFlags,
9519 pub living_health: super::living::Health,
9520 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
9521 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
9522 pub living_stuck_arrow_count: super::living::StuckArrowCount,
9523 pub living_stinger_count: super::living::StingerCount,
9524 pub living_sleeping_position: super::living::SleepingPosition,
9525 pub entity: super::entity::Entity,
9526 pub entity_flags: super::entity::Flags,
9527 pub entity_air: super::entity::Air,
9528 pub entity_custom_name: super::entity::CustomName,
9529 pub entity_name_visible: super::entity::NameVisible,
9530 pub entity_silent: super::entity::Silent,
9531 pub entity_no_gravity: super::entity::NoGravity,
9532 pub entity_pose: super::entity::Pose,
9533 pub entity_frozen_ticks: super::entity::FrozenTicks,
9534 pub kind: super::EntityKind,
9535 pub id: super::EntityId,
9536 pub uuid: super::UniqueId,
9537 pub layer: super::EntityLayerId,
9538 pub old_layer: super::OldEntityLayerId,
9539 pub position: super::Position,
9540 pub old_position: super::OldPosition,
9541 pub look: super::Look,
9542 pub head_yaw: super::HeadYaw,
9543 pub on_ground: super::OnGround,
9544 pub velocity: super::Velocity,
9545 pub statuses: super::EntityStatuses,
9546 pub animations: super::EntityAnimations,
9547 pub object_data: super::ObjectData,
9548 pub tracked_data: super::tracked_data::TrackedData,
9549 }
9550 impl Default for PhantomEntityBundle {
9551 fn default() -> Self {
9552 Self {
9553 phantom_entity: Default::default(),
9554 phantom_size: Default::default(),
9555 flying_entity: Default::default(),
9556 mob_entity: Default::default(),
9557 mob_mob_flags: Default::default(),
9558 living_entity: Default::default(),
9559 living_absorption: Default::default(),
9560 living_attributes: super::attributes::EntityAttributes::new()
9561 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
9562 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
9563 .with_attribute_and_value(
9564 super::EntityAttribute::GenericKnockbackResistance,
9565 0f64,
9566 )
9567 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
9568 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 2f64)
9569 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
9570 .with_attribute_and_value(
9571 super::EntityAttribute::GenericMovementSpeed,
9572 0.699999988079071f64,
9573 )
9574 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 20f64),
9575 living_attributes_tracker: Default::default(),
9576 living_active_status_effects: Default::default(),
9577 living_living_flags: Default::default(),
9578 living_health: Default::default(),
9579 living_potion_swirls_color: Default::default(),
9580 living_potion_swirls_ambient: Default::default(),
9581 living_stuck_arrow_count: Default::default(),
9582 living_stinger_count: Default::default(),
9583 living_sleeping_position: Default::default(),
9584 entity: Default::default(),
9585 entity_flags: Default::default(),
9586 entity_air: Default::default(),
9587 entity_custom_name: Default::default(),
9588 entity_name_visible: Default::default(),
9589 entity_silent: Default::default(),
9590 entity_no_gravity: Default::default(),
9591 entity_pose: Default::default(),
9592 entity_frozen_ticks: Default::default(),
9593 kind: super::EntityKind::PHANTOM,
9594 id: Default::default(),
9595 uuid: Default::default(),
9596 layer: Default::default(),
9597 old_layer: Default::default(),
9598 position: Default::default(),
9599 old_position: Default::default(),
9600 look: Default::default(),
9601 head_yaw: Default::default(),
9602 on_ground: Default::default(),
9603 velocity: Default::default(),
9604 statuses: Default::default(),
9605 animations: Default::default(),
9606 object_data: Default::default(),
9607 tracked_data: Default::default(),
9608 }
9609 }
9610 }
9611 #[derive(
9612 bevy_ecs :: component :: Component,
9613 PartialEq,
9614 Clone,
9615 Debug,
9616 :: derive_more :: Deref,
9617 :: derive_more :: DerefMut,
9618 )]
9619 pub struct Size(pub i32);
9620 #[allow(clippy::derivable_impls)]
9621 impl Default for Size {
9622 fn default() -> Self {
9623 Self(0i32)
9624 }
9625 }
9626 #[doc = "Marker component for `phantom` entities."]
9627 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
9628 pub struct PhantomEntity;
9629}
9630#[allow(clippy::module_inception)]
9631pub mod pig {
9632 #![doc = "Parent class: [`animal`][super::animal]."]
9633 #[doc = "The bundle of components for spawning `pig` entities."]
9634 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
9635 pub struct PigEntityBundle {
9636 pub pig_entity: super::pig::PigEntity,
9637 pub pig_saddled: super::pig::Saddled,
9638 pub pig_boost_time: super::pig::BoostTime,
9639 pub animal_entity: super::animal::AnimalEntity,
9640 pub passive_entity: super::passive::PassiveEntity,
9641 pub passive_child: super::passive::Child,
9642 pub path_aware_entity: super::path_aware::PathAwareEntity,
9643 pub mob_entity: super::mob::MobEntity,
9644 pub mob_mob_flags: super::mob::MobFlags,
9645 pub living_entity: super::living::LivingEntity,
9646 pub living_absorption: super::living::Absorption,
9647 pub living_attributes: super::attributes::EntityAttributes,
9648 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
9649 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
9650 pub living_living_flags: super::living::LivingFlags,
9651 pub living_health: super::living::Health,
9652 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
9653 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
9654 pub living_stuck_arrow_count: super::living::StuckArrowCount,
9655 pub living_stinger_count: super::living::StingerCount,
9656 pub living_sleeping_position: super::living::SleepingPosition,
9657 pub entity: super::entity::Entity,
9658 pub entity_flags: super::entity::Flags,
9659 pub entity_air: super::entity::Air,
9660 pub entity_custom_name: super::entity::CustomName,
9661 pub entity_name_visible: super::entity::NameVisible,
9662 pub entity_silent: super::entity::Silent,
9663 pub entity_no_gravity: super::entity::NoGravity,
9664 pub entity_pose: super::entity::Pose,
9665 pub entity_frozen_ticks: super::entity::FrozenTicks,
9666 pub kind: super::EntityKind,
9667 pub id: super::EntityId,
9668 pub uuid: super::UniqueId,
9669 pub layer: super::EntityLayerId,
9670 pub old_layer: super::OldEntityLayerId,
9671 pub position: super::Position,
9672 pub old_position: super::OldPosition,
9673 pub look: super::Look,
9674 pub head_yaw: super::HeadYaw,
9675 pub on_ground: super::OnGround,
9676 pub velocity: super::Velocity,
9677 pub statuses: super::EntityStatuses,
9678 pub animations: super::EntityAnimations,
9679 pub object_data: super::ObjectData,
9680 pub tracked_data: super::tracked_data::TrackedData,
9681 }
9682 impl Default for PigEntityBundle {
9683 fn default() -> Self {
9684 Self {
9685 pig_entity: Default::default(),
9686 pig_saddled: Default::default(),
9687 pig_boost_time: Default::default(),
9688 animal_entity: Default::default(),
9689 passive_entity: Default::default(),
9690 passive_child: Default::default(),
9691 path_aware_entity: Default::default(),
9692 mob_entity: Default::default(),
9693 mob_mob_flags: Default::default(),
9694 living_entity: Default::default(),
9695 living_absorption: Default::default(),
9696 living_attributes: super::attributes::EntityAttributes::new()
9697 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
9698 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
9699 .with_attribute_and_value(
9700 super::EntityAttribute::GenericKnockbackResistance,
9701 0f64,
9702 )
9703 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
9704 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
9705 .with_attribute_and_value(super::EntityAttribute::GenericMovementSpeed, 0.25f64)
9706 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 10f64),
9707 living_attributes_tracker: Default::default(),
9708 living_active_status_effects: Default::default(),
9709 living_living_flags: Default::default(),
9710 living_health: Default::default(),
9711 living_potion_swirls_color: Default::default(),
9712 living_potion_swirls_ambient: Default::default(),
9713 living_stuck_arrow_count: Default::default(),
9714 living_stinger_count: Default::default(),
9715 living_sleeping_position: Default::default(),
9716 entity: Default::default(),
9717 entity_flags: Default::default(),
9718 entity_air: Default::default(),
9719 entity_custom_name: Default::default(),
9720 entity_name_visible: Default::default(),
9721 entity_silent: Default::default(),
9722 entity_no_gravity: Default::default(),
9723 entity_pose: Default::default(),
9724 entity_frozen_ticks: Default::default(),
9725 kind: super::EntityKind::PIG,
9726 id: Default::default(),
9727 uuid: Default::default(),
9728 layer: Default::default(),
9729 old_layer: Default::default(),
9730 position: Default::default(),
9731 old_position: Default::default(),
9732 look: Default::default(),
9733 head_yaw: Default::default(),
9734 on_ground: Default::default(),
9735 velocity: Default::default(),
9736 statuses: Default::default(),
9737 animations: Default::default(),
9738 object_data: Default::default(),
9739 tracked_data: Default::default(),
9740 }
9741 }
9742 }
9743 #[derive(
9744 bevy_ecs :: component :: Component,
9745 PartialEq,
9746 Clone,
9747 Debug,
9748 :: derive_more :: Deref,
9749 :: derive_more :: DerefMut,
9750 )]
9751 pub struct Saddled(pub bool);
9752 #[allow(clippy::derivable_impls)]
9753 impl Default for Saddled {
9754 fn default() -> Self {
9755 Self(false)
9756 }
9757 }
9758 #[derive(
9759 bevy_ecs :: component :: Component,
9760 PartialEq,
9761 Clone,
9762 Debug,
9763 :: derive_more :: Deref,
9764 :: derive_more :: DerefMut,
9765 )]
9766 pub struct BoostTime(pub i32);
9767 #[allow(clippy::derivable_impls)]
9768 impl Default for BoostTime {
9769 fn default() -> Self {
9770 Self(0i32)
9771 }
9772 }
9773 #[doc = "Marker component for `pig` entities."]
9774 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
9775 pub struct PigEntity;
9776}
9777#[allow(clippy::module_inception)]
9778pub mod piglin_brute {
9779 #![doc = "Parent class: [`abstract_piglin`][super::abstract_piglin]."]
9780 #[doc = "The bundle of components for spawning `piglin_brute` entities."]
9781 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
9782 pub struct PiglinBruteEntityBundle {
9783 pub piglin_brute_entity: super::piglin_brute::PiglinBruteEntity,
9784 pub abstract_piglin_entity: super::abstract_piglin::AbstractPiglinEntity,
9785 pub abstract_piglin_immune_to_zombification: super::abstract_piglin::ImmuneToZombification,
9786 pub hostile_entity: super::hostile::HostileEntity,
9787 pub path_aware_entity: super::path_aware::PathAwareEntity,
9788 pub mob_entity: super::mob::MobEntity,
9789 pub mob_mob_flags: super::mob::MobFlags,
9790 pub living_entity: super::living::LivingEntity,
9791 pub living_absorption: super::living::Absorption,
9792 pub living_attributes: super::attributes::EntityAttributes,
9793 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
9794 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
9795 pub living_living_flags: super::living::LivingFlags,
9796 pub living_health: super::living::Health,
9797 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
9798 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
9799 pub living_stuck_arrow_count: super::living::StuckArrowCount,
9800 pub living_stinger_count: super::living::StingerCount,
9801 pub living_sleeping_position: super::living::SleepingPosition,
9802 pub entity: super::entity::Entity,
9803 pub entity_flags: super::entity::Flags,
9804 pub entity_air: super::entity::Air,
9805 pub entity_custom_name: super::entity::CustomName,
9806 pub entity_name_visible: super::entity::NameVisible,
9807 pub entity_silent: super::entity::Silent,
9808 pub entity_no_gravity: super::entity::NoGravity,
9809 pub entity_pose: super::entity::Pose,
9810 pub entity_frozen_ticks: super::entity::FrozenTicks,
9811 pub kind: super::EntityKind,
9812 pub id: super::EntityId,
9813 pub uuid: super::UniqueId,
9814 pub layer: super::EntityLayerId,
9815 pub old_layer: super::OldEntityLayerId,
9816 pub position: super::Position,
9817 pub old_position: super::OldPosition,
9818 pub look: super::Look,
9819 pub head_yaw: super::HeadYaw,
9820 pub on_ground: super::OnGround,
9821 pub velocity: super::Velocity,
9822 pub statuses: super::EntityStatuses,
9823 pub animations: super::EntityAnimations,
9824 pub object_data: super::ObjectData,
9825 pub tracked_data: super::tracked_data::TrackedData,
9826 }
9827 impl Default for PiglinBruteEntityBundle {
9828 fn default() -> Self {
9829 Self {
9830 piglin_brute_entity: Default::default(),
9831 abstract_piglin_entity: Default::default(),
9832 abstract_piglin_immune_to_zombification: Default::default(),
9833 hostile_entity: Default::default(),
9834 path_aware_entity: Default::default(),
9835 mob_entity: Default::default(),
9836 mob_mob_flags: Default::default(),
9837 living_entity: Default::default(),
9838 living_absorption: Default::default(),
9839 living_attributes: super::attributes::EntityAttributes::new()
9840 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
9841 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
9842 .with_attribute_and_value(
9843 super::EntityAttribute::GenericKnockbackResistance,
9844 0f64,
9845 )
9846 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
9847 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 7f64)
9848 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
9849 .with_attribute_and_value(
9850 super::EntityAttribute::GenericMovementSpeed,
9851 0.3499999940395355f64,
9852 )
9853 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 50f64),
9854 living_attributes_tracker: Default::default(),
9855 living_active_status_effects: Default::default(),
9856 living_living_flags: Default::default(),
9857 living_health: Default::default(),
9858 living_potion_swirls_color: Default::default(),
9859 living_potion_swirls_ambient: Default::default(),
9860 living_stuck_arrow_count: Default::default(),
9861 living_stinger_count: Default::default(),
9862 living_sleeping_position: Default::default(),
9863 entity: Default::default(),
9864 entity_flags: Default::default(),
9865 entity_air: Default::default(),
9866 entity_custom_name: Default::default(),
9867 entity_name_visible: Default::default(),
9868 entity_silent: Default::default(),
9869 entity_no_gravity: Default::default(),
9870 entity_pose: Default::default(),
9871 entity_frozen_ticks: Default::default(),
9872 kind: super::EntityKind::PIGLIN_BRUTE,
9873 id: Default::default(),
9874 uuid: Default::default(),
9875 layer: Default::default(),
9876 old_layer: Default::default(),
9877 position: Default::default(),
9878 old_position: Default::default(),
9879 look: Default::default(),
9880 head_yaw: Default::default(),
9881 on_ground: Default::default(),
9882 velocity: Default::default(),
9883 statuses: Default::default(),
9884 animations: Default::default(),
9885 object_data: Default::default(),
9886 tracked_data: Default::default(),
9887 }
9888 }
9889 }
9890 #[doc = "Marker component for `piglin_brute` entities."]
9891 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
9892 pub struct PiglinBruteEntity;
9893}
9894#[allow(clippy::module_inception)]
9895pub mod piglin {
9896 #![doc = "Parent class: [`abstract_piglin`][super::abstract_piglin]."]
9897 #[doc = "The bundle of components for spawning `piglin` entities."]
9898 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
9899 pub struct PiglinEntityBundle {
9900 pub piglin_entity: super::piglin::PiglinEntity,
9901 pub piglin_baby: super::piglin::Baby,
9902 pub piglin_charging: super::piglin::Charging,
9903 pub piglin_dancing: super::piglin::Dancing,
9904 pub abstract_piglin_entity: super::abstract_piglin::AbstractPiglinEntity,
9905 pub abstract_piglin_immune_to_zombification: super::abstract_piglin::ImmuneToZombification,
9906 pub hostile_entity: super::hostile::HostileEntity,
9907 pub path_aware_entity: super::path_aware::PathAwareEntity,
9908 pub mob_entity: super::mob::MobEntity,
9909 pub mob_mob_flags: super::mob::MobFlags,
9910 pub living_entity: super::living::LivingEntity,
9911 pub living_absorption: super::living::Absorption,
9912 pub living_attributes: super::attributes::EntityAttributes,
9913 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
9914 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
9915 pub living_living_flags: super::living::LivingFlags,
9916 pub living_health: super::living::Health,
9917 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
9918 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
9919 pub living_stuck_arrow_count: super::living::StuckArrowCount,
9920 pub living_stinger_count: super::living::StingerCount,
9921 pub living_sleeping_position: super::living::SleepingPosition,
9922 pub entity: super::entity::Entity,
9923 pub entity_flags: super::entity::Flags,
9924 pub entity_air: super::entity::Air,
9925 pub entity_custom_name: super::entity::CustomName,
9926 pub entity_name_visible: super::entity::NameVisible,
9927 pub entity_silent: super::entity::Silent,
9928 pub entity_no_gravity: super::entity::NoGravity,
9929 pub entity_pose: super::entity::Pose,
9930 pub entity_frozen_ticks: super::entity::FrozenTicks,
9931 pub kind: super::EntityKind,
9932 pub id: super::EntityId,
9933 pub uuid: super::UniqueId,
9934 pub layer: super::EntityLayerId,
9935 pub old_layer: super::OldEntityLayerId,
9936 pub position: super::Position,
9937 pub old_position: super::OldPosition,
9938 pub look: super::Look,
9939 pub head_yaw: super::HeadYaw,
9940 pub on_ground: super::OnGround,
9941 pub velocity: super::Velocity,
9942 pub statuses: super::EntityStatuses,
9943 pub animations: super::EntityAnimations,
9944 pub object_data: super::ObjectData,
9945 pub tracked_data: super::tracked_data::TrackedData,
9946 }
9947 impl Default for PiglinEntityBundle {
9948 fn default() -> Self {
9949 Self {
9950 piglin_entity: Default::default(),
9951 piglin_baby: Default::default(),
9952 piglin_charging: Default::default(),
9953 piglin_dancing: Default::default(),
9954 abstract_piglin_entity: Default::default(),
9955 abstract_piglin_immune_to_zombification: Default::default(),
9956 hostile_entity: Default::default(),
9957 path_aware_entity: Default::default(),
9958 mob_entity: Default::default(),
9959 mob_mob_flags: Default::default(),
9960 living_entity: Default::default(),
9961 living_absorption: Default::default(),
9962 living_attributes: super::attributes::EntityAttributes::new()
9963 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
9964 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
9965 .with_attribute_and_value(
9966 super::EntityAttribute::GenericKnockbackResistance,
9967 0f64,
9968 )
9969 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
9970 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 5f64)
9971 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
9972 .with_attribute_and_value(
9973 super::EntityAttribute::GenericMovementSpeed,
9974 0.3499999940395355f64,
9975 )
9976 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 16f64),
9977 living_attributes_tracker: Default::default(),
9978 living_active_status_effects: Default::default(),
9979 living_living_flags: Default::default(),
9980 living_health: Default::default(),
9981 living_potion_swirls_color: Default::default(),
9982 living_potion_swirls_ambient: Default::default(),
9983 living_stuck_arrow_count: Default::default(),
9984 living_stinger_count: Default::default(),
9985 living_sleeping_position: Default::default(),
9986 entity: Default::default(),
9987 entity_flags: Default::default(),
9988 entity_air: Default::default(),
9989 entity_custom_name: Default::default(),
9990 entity_name_visible: Default::default(),
9991 entity_silent: Default::default(),
9992 entity_no_gravity: Default::default(),
9993 entity_pose: Default::default(),
9994 entity_frozen_ticks: Default::default(),
9995 kind: super::EntityKind::PIGLIN,
9996 id: Default::default(),
9997 uuid: Default::default(),
9998 layer: Default::default(),
9999 old_layer: Default::default(),
10000 position: Default::default(),
10001 old_position: Default::default(),
10002 look: Default::default(),
10003 head_yaw: Default::default(),
10004 on_ground: Default::default(),
10005 velocity: Default::default(),
10006 statuses: Default::default(),
10007 animations: Default::default(),
10008 object_data: Default::default(),
10009 tracked_data: Default::default(),
10010 }
10011 }
10012 }
10013 #[derive(
10014 bevy_ecs :: component :: Component,
10015 PartialEq,
10016 Clone,
10017 Debug,
10018 :: derive_more :: Deref,
10019 :: derive_more :: DerefMut,
10020 )]
10021 pub struct Baby(pub bool);
10022 #[allow(clippy::derivable_impls)]
10023 impl Default for Baby {
10024 fn default() -> Self {
10025 Self(false)
10026 }
10027 }
10028 #[derive(
10029 bevy_ecs :: component :: Component,
10030 PartialEq,
10031 Clone,
10032 Debug,
10033 :: derive_more :: Deref,
10034 :: derive_more :: DerefMut,
10035 )]
10036 pub struct Charging(pub bool);
10037 #[allow(clippy::derivable_impls)]
10038 impl Default for Charging {
10039 fn default() -> Self {
10040 Self(false)
10041 }
10042 }
10043 #[derive(
10044 bevy_ecs :: component :: Component,
10045 PartialEq,
10046 Clone,
10047 Debug,
10048 :: derive_more :: Deref,
10049 :: derive_more :: DerefMut,
10050 )]
10051 pub struct Dancing(pub bool);
10052 #[allow(clippy::derivable_impls)]
10053 impl Default for Dancing {
10054 fn default() -> Self {
10055 Self(false)
10056 }
10057 }
10058 #[doc = "Marker component for `piglin` entities."]
10059 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
10060 pub struct PiglinEntity;
10061}
10062#[allow(clippy::module_inception)]
10063pub mod pillager {
10064 #![doc = "Parent class: [`illager`][super::illager]."]
10065 #[doc = "The bundle of components for spawning `pillager` entities."]
10066 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
10067 pub struct PillagerEntityBundle {
10068 pub pillager_entity: super::pillager::PillagerEntity,
10069 pub pillager_charging: super::pillager::Charging,
10070 pub illager_entity: super::illager::IllagerEntity,
10071 pub raider_entity: super::raider::RaiderEntity,
10072 pub raider_celebrating: super::raider::Celebrating,
10073 pub patrol_entity: super::patrol::PatrolEntity,
10074 pub hostile_entity: super::hostile::HostileEntity,
10075 pub path_aware_entity: super::path_aware::PathAwareEntity,
10076 pub mob_entity: super::mob::MobEntity,
10077 pub mob_mob_flags: super::mob::MobFlags,
10078 pub living_entity: super::living::LivingEntity,
10079 pub living_absorption: super::living::Absorption,
10080 pub living_attributes: super::attributes::EntityAttributes,
10081 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
10082 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
10083 pub living_living_flags: super::living::LivingFlags,
10084 pub living_health: super::living::Health,
10085 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
10086 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
10087 pub living_stuck_arrow_count: super::living::StuckArrowCount,
10088 pub living_stinger_count: super::living::StingerCount,
10089 pub living_sleeping_position: super::living::SleepingPosition,
10090 pub entity: super::entity::Entity,
10091 pub entity_flags: super::entity::Flags,
10092 pub entity_air: super::entity::Air,
10093 pub entity_custom_name: super::entity::CustomName,
10094 pub entity_name_visible: super::entity::NameVisible,
10095 pub entity_silent: super::entity::Silent,
10096 pub entity_no_gravity: super::entity::NoGravity,
10097 pub entity_pose: super::entity::Pose,
10098 pub entity_frozen_ticks: super::entity::FrozenTicks,
10099 pub kind: super::EntityKind,
10100 pub id: super::EntityId,
10101 pub uuid: super::UniqueId,
10102 pub layer: super::EntityLayerId,
10103 pub old_layer: super::OldEntityLayerId,
10104 pub position: super::Position,
10105 pub old_position: super::OldPosition,
10106 pub look: super::Look,
10107 pub head_yaw: super::HeadYaw,
10108 pub on_ground: super::OnGround,
10109 pub velocity: super::Velocity,
10110 pub statuses: super::EntityStatuses,
10111 pub animations: super::EntityAnimations,
10112 pub object_data: super::ObjectData,
10113 pub tracked_data: super::tracked_data::TrackedData,
10114 }
10115 impl Default for PillagerEntityBundle {
10116 fn default() -> Self {
10117 Self {
10118 pillager_entity: Default::default(),
10119 pillager_charging: Default::default(),
10120 illager_entity: Default::default(),
10121 raider_entity: Default::default(),
10122 raider_celebrating: Default::default(),
10123 patrol_entity: Default::default(),
10124 hostile_entity: Default::default(),
10125 path_aware_entity: Default::default(),
10126 mob_entity: Default::default(),
10127 mob_mob_flags: Default::default(),
10128 living_entity: Default::default(),
10129 living_absorption: Default::default(),
10130 living_attributes: super::attributes::EntityAttributes::new()
10131 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
10132 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
10133 .with_attribute_and_value(
10134 super::EntityAttribute::GenericKnockbackResistance,
10135 0f64,
10136 )
10137 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
10138 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 5f64)
10139 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 32f64)
10140 .with_attribute_and_value(
10141 super::EntityAttribute::GenericMovementSpeed,
10142 0.3499999940395355f64,
10143 )
10144 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 24f64),
10145 living_attributes_tracker: Default::default(),
10146 living_active_status_effects: Default::default(),
10147 living_living_flags: Default::default(),
10148 living_health: Default::default(),
10149 living_potion_swirls_color: Default::default(),
10150 living_potion_swirls_ambient: Default::default(),
10151 living_stuck_arrow_count: Default::default(),
10152 living_stinger_count: Default::default(),
10153 living_sleeping_position: Default::default(),
10154 entity: Default::default(),
10155 entity_flags: Default::default(),
10156 entity_air: Default::default(),
10157 entity_custom_name: Default::default(),
10158 entity_name_visible: Default::default(),
10159 entity_silent: Default::default(),
10160 entity_no_gravity: Default::default(),
10161 entity_pose: Default::default(),
10162 entity_frozen_ticks: Default::default(),
10163 kind: super::EntityKind::PILLAGER,
10164 id: Default::default(),
10165 uuid: Default::default(),
10166 layer: Default::default(),
10167 old_layer: Default::default(),
10168 position: Default::default(),
10169 old_position: Default::default(),
10170 look: Default::default(),
10171 head_yaw: Default::default(),
10172 on_ground: Default::default(),
10173 velocity: Default::default(),
10174 statuses: Default::default(),
10175 animations: Default::default(),
10176 object_data: Default::default(),
10177 tracked_data: Default::default(),
10178 }
10179 }
10180 }
10181 #[derive(
10182 bevy_ecs :: component :: Component,
10183 PartialEq,
10184 Clone,
10185 Debug,
10186 :: derive_more :: Deref,
10187 :: derive_more :: DerefMut,
10188 )]
10189 pub struct Charging(pub bool);
10190 #[allow(clippy::derivable_impls)]
10191 impl Default for Charging {
10192 fn default() -> Self {
10193 Self(false)
10194 }
10195 }
10196 #[doc = "Marker component for `pillager` entities."]
10197 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
10198 pub struct PillagerEntity;
10199}
10200#[allow(clippy::module_inception)]
10201pub mod player {
10202 #![doc = "Parent class: [`living`][super::living]."]
10203 #[doc = "The bundle of components for spawning `player` entities."]
10204 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
10205 pub struct PlayerEntityBundle {
10206 pub player_entity: super::player::PlayerEntity,
10207 pub player_food: super::player::Food,
10208 pub player_saturation: super::player::Saturation,
10209 pub player_absorption_amount: super::player::AbsorptionAmount,
10210 pub player_score: super::player::Score,
10211 pub player_player_model_parts: super::player::PlayerModelParts,
10212 pub player_main_arm: super::player::MainArm,
10213 pub player_left_shoulder_entity: super::player::LeftShoulderEntity,
10214 pub player_right_shoulder_entity: super::player::RightShoulderEntity,
10215 pub living_entity: super::living::LivingEntity,
10216 pub living_absorption: super::living::Absorption,
10217 pub living_attributes: super::attributes::EntityAttributes,
10218 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
10219 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
10220 pub living_living_flags: super::living::LivingFlags,
10221 pub living_health: super::living::Health,
10222 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
10223 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
10224 pub living_stuck_arrow_count: super::living::StuckArrowCount,
10225 pub living_stinger_count: super::living::StingerCount,
10226 pub living_sleeping_position: super::living::SleepingPosition,
10227 pub entity: super::entity::Entity,
10228 pub entity_flags: super::entity::Flags,
10229 pub entity_air: super::entity::Air,
10230 pub entity_custom_name: super::entity::CustomName,
10231 pub entity_name_visible: super::entity::NameVisible,
10232 pub entity_silent: super::entity::Silent,
10233 pub entity_no_gravity: super::entity::NoGravity,
10234 pub entity_pose: super::entity::Pose,
10235 pub entity_frozen_ticks: super::entity::FrozenTicks,
10236 pub kind: super::EntityKind,
10237 pub id: super::EntityId,
10238 pub uuid: super::UniqueId,
10239 pub layer: super::EntityLayerId,
10240 pub old_layer: super::OldEntityLayerId,
10241 pub position: super::Position,
10242 pub old_position: super::OldPosition,
10243 pub look: super::Look,
10244 pub head_yaw: super::HeadYaw,
10245 pub on_ground: super::OnGround,
10246 pub velocity: super::Velocity,
10247 pub statuses: super::EntityStatuses,
10248 pub animations: super::EntityAnimations,
10249 pub object_data: super::ObjectData,
10250 pub tracked_data: super::tracked_data::TrackedData,
10251 }
10252 impl Default for PlayerEntityBundle {
10253 fn default() -> Self {
10254 Self {
10255 player_entity: Default::default(),
10256 player_food: Default::default(),
10257 player_saturation: Default::default(),
10258 player_absorption_amount: Default::default(),
10259 player_score: Default::default(),
10260 player_player_model_parts: Default::default(),
10261 player_main_arm: Default::default(),
10262 player_left_shoulder_entity: Default::default(),
10263 player_right_shoulder_entity: Default::default(),
10264 living_entity: Default::default(),
10265 living_absorption: Default::default(),
10266 living_attributes: super::attributes::EntityAttributes::new()
10267 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
10268 .with_attribute_and_value(
10269 super::EntityAttribute::GenericKnockbackResistance,
10270 0f64,
10271 )
10272 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
10273 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 1f64)
10274 .with_attribute_and_value(super::EntityAttribute::GenericAttackSpeed, 4f64)
10275 .with_attribute_and_value(
10276 super::EntityAttribute::GenericMovementSpeed,
10277 0.10000000149011612f64,
10278 )
10279 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 20f64)
10280 .with_attribute_and_value(super::EntityAttribute::GenericLuck, 0f64),
10281 living_attributes_tracker: Default::default(),
10282 living_active_status_effects: Default::default(),
10283 living_living_flags: Default::default(),
10284 living_health: Default::default(),
10285 living_potion_swirls_color: Default::default(),
10286 living_potion_swirls_ambient: Default::default(),
10287 living_stuck_arrow_count: Default::default(),
10288 living_stinger_count: Default::default(),
10289 living_sleeping_position: Default::default(),
10290 entity: Default::default(),
10291 entity_flags: Default::default(),
10292 entity_air: Default::default(),
10293 entity_custom_name: Default::default(),
10294 entity_name_visible: Default::default(),
10295 entity_silent: Default::default(),
10296 entity_no_gravity: Default::default(),
10297 entity_pose: Default::default(),
10298 entity_frozen_ticks: Default::default(),
10299 kind: super::EntityKind::PLAYER,
10300 id: Default::default(),
10301 uuid: Default::default(),
10302 layer: Default::default(),
10303 old_layer: Default::default(),
10304 position: Default::default(),
10305 old_position: Default::default(),
10306 look: Default::default(),
10307 head_yaw: Default::default(),
10308 on_ground: Default::default(),
10309 velocity: Default::default(),
10310 statuses: Default::default(),
10311 animations: Default::default(),
10312 object_data: Default::default(),
10313 tracked_data: Default::default(),
10314 }
10315 }
10316 }
10317 #[derive(
10318 bevy_ecs :: component :: Component,
10319 PartialEq,
10320 Clone,
10321 Debug,
10322 :: derive_more :: Deref,
10323 :: derive_more :: DerefMut,
10324 )]
10325 pub struct AbsorptionAmount(pub f32);
10326 #[allow(clippy::derivable_impls)]
10327 impl Default for AbsorptionAmount {
10328 fn default() -> Self {
10329 Self(0f32)
10330 }
10331 }
10332 #[derive(
10333 bevy_ecs :: component :: Component,
10334 PartialEq,
10335 Clone,
10336 Debug,
10337 :: derive_more :: Deref,
10338 :: derive_more :: DerefMut,
10339 )]
10340 pub struct Score(pub i32);
10341 #[allow(clippy::derivable_impls)]
10342 impl Default for Score {
10343 fn default() -> Self {
10344 Self(0i32)
10345 }
10346 }
10347 #[derive(
10348 bevy_ecs :: component :: Component,
10349 PartialEq,
10350 Clone,
10351 Debug,
10352 :: derive_more :: Deref,
10353 :: derive_more :: DerefMut,
10354 )]
10355 pub struct PlayerModelParts(pub i8);
10356 #[allow(clippy::derivable_impls)]
10357 impl Default for PlayerModelParts {
10358 fn default() -> Self {
10359 Self(0i8)
10360 }
10361 }
10362 #[derive(
10363 bevy_ecs :: component :: Component,
10364 PartialEq,
10365 Clone,
10366 Debug,
10367 :: derive_more :: Deref,
10368 :: derive_more :: DerefMut,
10369 )]
10370 pub struct MainArm(pub i8);
10371 #[allow(clippy::derivable_impls)]
10372 impl Default for MainArm {
10373 fn default() -> Self {
10374 Self(1i8)
10375 }
10376 }
10377 #[derive(
10378 bevy_ecs :: component :: Component,
10379 PartialEq,
10380 Clone,
10381 Debug,
10382 :: derive_more :: Deref,
10383 :: derive_more :: DerefMut,
10384 )]
10385 pub struct LeftShoulderEntity(pub valence_nbt::Compound);
10386 #[allow(clippy::derivable_impls)]
10387 impl Default for LeftShoulderEntity {
10388 fn default() -> Self {
10389 Self(valence_nbt::Compound::default())
10390 }
10391 }
10392 #[derive(
10393 bevy_ecs :: component :: Component,
10394 PartialEq,
10395 Clone,
10396 Debug,
10397 :: derive_more :: Deref,
10398 :: derive_more :: DerefMut,
10399 )]
10400 pub struct RightShoulderEntity(pub valence_nbt::Compound);
10401 #[allow(clippy::derivable_impls)]
10402 impl Default for RightShoulderEntity {
10403 fn default() -> Self {
10404 Self(valence_nbt::Compound::default())
10405 }
10406 }
10407 #[doc = "Marker component for `player` entities."]
10408 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
10409 pub struct PlayerEntity;
10410 #[doc = "Special untracked component for `PlayerEntity` entities."]
10411 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Debug)]
10412 pub struct Food(pub i32);
10413 impl Default for Food {
10414 fn default() -> Self {
10415 Self(20)
10416 }
10417 }
10418 #[doc = "Special untracked component for `PlayerEntity` entities."]
10419 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
10420 pub struct Saturation(pub f32);
10421}
10422#[allow(clippy::module_inception)]
10423pub mod polar_bear {
10424 #![doc = "Parent class: [`animal`][super::animal]."]
10425 #[doc = "The bundle of components for spawning `polar_bear` entities."]
10426 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
10427 pub struct PolarBearEntityBundle {
10428 pub polar_bear_entity: super::polar_bear::PolarBearEntity,
10429 pub polar_bear_warning: super::polar_bear::Warning,
10430 pub animal_entity: super::animal::AnimalEntity,
10431 pub passive_entity: super::passive::PassiveEntity,
10432 pub passive_child: super::passive::Child,
10433 pub path_aware_entity: super::path_aware::PathAwareEntity,
10434 pub mob_entity: super::mob::MobEntity,
10435 pub mob_mob_flags: super::mob::MobFlags,
10436 pub living_entity: super::living::LivingEntity,
10437 pub living_absorption: super::living::Absorption,
10438 pub living_attributes: super::attributes::EntityAttributes,
10439 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
10440 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
10441 pub living_living_flags: super::living::LivingFlags,
10442 pub living_health: super::living::Health,
10443 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
10444 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
10445 pub living_stuck_arrow_count: super::living::StuckArrowCount,
10446 pub living_stinger_count: super::living::StingerCount,
10447 pub living_sleeping_position: super::living::SleepingPosition,
10448 pub entity: super::entity::Entity,
10449 pub entity_flags: super::entity::Flags,
10450 pub entity_air: super::entity::Air,
10451 pub entity_custom_name: super::entity::CustomName,
10452 pub entity_name_visible: super::entity::NameVisible,
10453 pub entity_silent: super::entity::Silent,
10454 pub entity_no_gravity: super::entity::NoGravity,
10455 pub entity_pose: super::entity::Pose,
10456 pub entity_frozen_ticks: super::entity::FrozenTicks,
10457 pub kind: super::EntityKind,
10458 pub id: super::EntityId,
10459 pub uuid: super::UniqueId,
10460 pub layer: super::EntityLayerId,
10461 pub old_layer: super::OldEntityLayerId,
10462 pub position: super::Position,
10463 pub old_position: super::OldPosition,
10464 pub look: super::Look,
10465 pub head_yaw: super::HeadYaw,
10466 pub on_ground: super::OnGround,
10467 pub velocity: super::Velocity,
10468 pub statuses: super::EntityStatuses,
10469 pub animations: super::EntityAnimations,
10470 pub object_data: super::ObjectData,
10471 pub tracked_data: super::tracked_data::TrackedData,
10472 }
10473 impl Default for PolarBearEntityBundle {
10474 fn default() -> Self {
10475 Self {
10476 polar_bear_entity: Default::default(),
10477 polar_bear_warning: Default::default(),
10478 animal_entity: Default::default(),
10479 passive_entity: Default::default(),
10480 passive_child: Default::default(),
10481 path_aware_entity: Default::default(),
10482 mob_entity: Default::default(),
10483 mob_mob_flags: Default::default(),
10484 living_entity: Default::default(),
10485 living_absorption: Default::default(),
10486 living_attributes: super::attributes::EntityAttributes::new()
10487 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
10488 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
10489 .with_attribute_and_value(
10490 super::EntityAttribute::GenericKnockbackResistance,
10491 0f64,
10492 )
10493 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
10494 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 6f64)
10495 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 20f64)
10496 .with_attribute_and_value(super::EntityAttribute::GenericMovementSpeed, 0.25f64)
10497 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 30f64),
10498 living_attributes_tracker: Default::default(),
10499 living_active_status_effects: Default::default(),
10500 living_living_flags: Default::default(),
10501 living_health: Default::default(),
10502 living_potion_swirls_color: Default::default(),
10503 living_potion_swirls_ambient: Default::default(),
10504 living_stuck_arrow_count: Default::default(),
10505 living_stinger_count: Default::default(),
10506 living_sleeping_position: Default::default(),
10507 entity: Default::default(),
10508 entity_flags: Default::default(),
10509 entity_air: Default::default(),
10510 entity_custom_name: Default::default(),
10511 entity_name_visible: Default::default(),
10512 entity_silent: Default::default(),
10513 entity_no_gravity: Default::default(),
10514 entity_pose: Default::default(),
10515 entity_frozen_ticks: Default::default(),
10516 kind: super::EntityKind::POLAR_BEAR,
10517 id: Default::default(),
10518 uuid: Default::default(),
10519 layer: Default::default(),
10520 old_layer: Default::default(),
10521 position: Default::default(),
10522 old_position: Default::default(),
10523 look: Default::default(),
10524 head_yaw: Default::default(),
10525 on_ground: Default::default(),
10526 velocity: Default::default(),
10527 statuses: Default::default(),
10528 animations: Default::default(),
10529 object_data: Default::default(),
10530 tracked_data: Default::default(),
10531 }
10532 }
10533 }
10534 #[derive(
10535 bevy_ecs :: component :: Component,
10536 PartialEq,
10537 Clone,
10538 Debug,
10539 :: derive_more :: Deref,
10540 :: derive_more :: DerefMut,
10541 )]
10542 pub struct Warning(pub bool);
10543 #[allow(clippy::derivable_impls)]
10544 impl Default for Warning {
10545 fn default() -> Self {
10546 Self(false)
10547 }
10548 }
10549 #[doc = "Marker component for `polar_bear` entities."]
10550 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
10551 pub struct PolarBearEntity;
10552}
10553#[allow(clippy::module_inception)]
10554pub mod potion {
10555 #![doc = "Parent class: [`thrown_item`][super::thrown_item]."]
10556 #[doc = "The bundle of components for spawning `potion` entities."]
10557 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
10558 pub struct PotionEntityBundle {
10559 pub potion_entity: super::potion::PotionEntity,
10560 pub thrown_item_entity: super::thrown_item::ThrownItemEntity,
10561 pub thrown_item_item: super::thrown_item::Item,
10562 pub thrown_entity: super::thrown::ThrownEntity,
10563 pub projectile_entity: super::projectile::ProjectileEntity,
10564 pub entity: super::entity::Entity,
10565 pub entity_flags: super::entity::Flags,
10566 pub entity_air: super::entity::Air,
10567 pub entity_custom_name: super::entity::CustomName,
10568 pub entity_name_visible: super::entity::NameVisible,
10569 pub entity_silent: super::entity::Silent,
10570 pub entity_no_gravity: super::entity::NoGravity,
10571 pub entity_pose: super::entity::Pose,
10572 pub entity_frozen_ticks: super::entity::FrozenTicks,
10573 pub kind: super::EntityKind,
10574 pub id: super::EntityId,
10575 pub uuid: super::UniqueId,
10576 pub layer: super::EntityLayerId,
10577 pub old_layer: super::OldEntityLayerId,
10578 pub position: super::Position,
10579 pub old_position: super::OldPosition,
10580 pub look: super::Look,
10581 pub head_yaw: super::HeadYaw,
10582 pub on_ground: super::OnGround,
10583 pub velocity: super::Velocity,
10584 pub statuses: super::EntityStatuses,
10585 pub animations: super::EntityAnimations,
10586 pub object_data: super::ObjectData,
10587 pub tracked_data: super::tracked_data::TrackedData,
10588 }
10589 impl Default for PotionEntityBundle {
10590 fn default() -> Self {
10591 Self {
10592 potion_entity: Default::default(),
10593 thrown_item_entity: Default::default(),
10594 thrown_item_item: Default::default(),
10595 thrown_entity: Default::default(),
10596 projectile_entity: Default::default(),
10597 entity: Default::default(),
10598 entity_flags: Default::default(),
10599 entity_air: Default::default(),
10600 entity_custom_name: Default::default(),
10601 entity_name_visible: Default::default(),
10602 entity_silent: Default::default(),
10603 entity_no_gravity: Default::default(),
10604 entity_pose: Default::default(),
10605 entity_frozen_ticks: Default::default(),
10606 kind: super::EntityKind::POTION,
10607 id: Default::default(),
10608 uuid: Default::default(),
10609 layer: Default::default(),
10610 old_layer: Default::default(),
10611 position: Default::default(),
10612 old_position: Default::default(),
10613 look: Default::default(),
10614 head_yaw: Default::default(),
10615 on_ground: Default::default(),
10616 velocity: Default::default(),
10617 statuses: Default::default(),
10618 animations: Default::default(),
10619 object_data: Default::default(),
10620 tracked_data: Default::default(),
10621 }
10622 }
10623 }
10624 #[doc = "Marker component for `potion` entities."]
10625 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
10626 pub struct PotionEntity;
10627}
10628#[allow(clippy::module_inception)]
10629pub mod projectile {
10630 #![doc = "Parent class: [`entity`][super::entity]."]
10631 #[doc = "Marker component for `projectile` entities."]
10632 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
10633 pub struct ProjectileEntity;
10634}
10635#[allow(clippy::module_inception)]
10636pub mod pufferfish {
10637 #![doc = "Parent class: [`fish`][super::fish]."]
10638 #[doc = "The bundle of components for spawning `pufferfish` entities."]
10639 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
10640 pub struct PufferfishEntityBundle {
10641 pub pufferfish_entity: super::pufferfish::PufferfishEntity,
10642 pub pufferfish_puff_state: super::pufferfish::PuffState,
10643 pub fish_entity: super::fish::FishEntity,
10644 pub fish_from_bucket: super::fish::FromBucket,
10645 pub water_creature_entity: super::water_creature::WaterCreatureEntity,
10646 pub path_aware_entity: super::path_aware::PathAwareEntity,
10647 pub mob_entity: super::mob::MobEntity,
10648 pub mob_mob_flags: super::mob::MobFlags,
10649 pub living_entity: super::living::LivingEntity,
10650 pub living_absorption: super::living::Absorption,
10651 pub living_attributes: super::attributes::EntityAttributes,
10652 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
10653 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
10654 pub living_living_flags: super::living::LivingFlags,
10655 pub living_health: super::living::Health,
10656 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
10657 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
10658 pub living_stuck_arrow_count: super::living::StuckArrowCount,
10659 pub living_stinger_count: super::living::StingerCount,
10660 pub living_sleeping_position: super::living::SleepingPosition,
10661 pub entity: super::entity::Entity,
10662 pub entity_flags: super::entity::Flags,
10663 pub entity_air: super::entity::Air,
10664 pub entity_custom_name: super::entity::CustomName,
10665 pub entity_name_visible: super::entity::NameVisible,
10666 pub entity_silent: super::entity::Silent,
10667 pub entity_no_gravity: super::entity::NoGravity,
10668 pub entity_pose: super::entity::Pose,
10669 pub entity_frozen_ticks: super::entity::FrozenTicks,
10670 pub kind: super::EntityKind,
10671 pub id: super::EntityId,
10672 pub uuid: super::UniqueId,
10673 pub layer: super::EntityLayerId,
10674 pub old_layer: super::OldEntityLayerId,
10675 pub position: super::Position,
10676 pub old_position: super::OldPosition,
10677 pub look: super::Look,
10678 pub head_yaw: super::HeadYaw,
10679 pub on_ground: super::OnGround,
10680 pub velocity: super::Velocity,
10681 pub statuses: super::EntityStatuses,
10682 pub animations: super::EntityAnimations,
10683 pub object_data: super::ObjectData,
10684 pub tracked_data: super::tracked_data::TrackedData,
10685 }
10686 impl Default for PufferfishEntityBundle {
10687 fn default() -> Self {
10688 Self {
10689 pufferfish_entity: Default::default(),
10690 pufferfish_puff_state: Default::default(),
10691 fish_entity: Default::default(),
10692 fish_from_bucket: Default::default(),
10693 water_creature_entity: Default::default(),
10694 path_aware_entity: Default::default(),
10695 mob_entity: Default::default(),
10696 mob_mob_flags: Default::default(),
10697 living_entity: Default::default(),
10698 living_absorption: Default::default(),
10699 living_attributes: super::attributes::EntityAttributes::new()
10700 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
10701 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
10702 .with_attribute_and_value(
10703 super::EntityAttribute::GenericKnockbackResistance,
10704 0f64,
10705 )
10706 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
10707 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
10708 .with_attribute_and_value(
10709 super::EntityAttribute::GenericMovementSpeed,
10710 0.699999988079071f64,
10711 )
10712 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 3f64),
10713 living_attributes_tracker: Default::default(),
10714 living_active_status_effects: Default::default(),
10715 living_living_flags: Default::default(),
10716 living_health: Default::default(),
10717 living_potion_swirls_color: Default::default(),
10718 living_potion_swirls_ambient: Default::default(),
10719 living_stuck_arrow_count: Default::default(),
10720 living_stinger_count: Default::default(),
10721 living_sleeping_position: Default::default(),
10722 entity: Default::default(),
10723 entity_flags: Default::default(),
10724 entity_air: Default::default(),
10725 entity_custom_name: Default::default(),
10726 entity_name_visible: Default::default(),
10727 entity_silent: Default::default(),
10728 entity_no_gravity: Default::default(),
10729 entity_pose: Default::default(),
10730 entity_frozen_ticks: Default::default(),
10731 kind: super::EntityKind::PUFFERFISH,
10732 id: Default::default(),
10733 uuid: Default::default(),
10734 layer: Default::default(),
10735 old_layer: Default::default(),
10736 position: Default::default(),
10737 old_position: Default::default(),
10738 look: Default::default(),
10739 head_yaw: Default::default(),
10740 on_ground: Default::default(),
10741 velocity: Default::default(),
10742 statuses: Default::default(),
10743 animations: Default::default(),
10744 object_data: Default::default(),
10745 tracked_data: Default::default(),
10746 }
10747 }
10748 }
10749 #[derive(
10750 bevy_ecs :: component :: Component,
10751 PartialEq,
10752 Clone,
10753 Debug,
10754 :: derive_more :: Deref,
10755 :: derive_more :: DerefMut,
10756 )]
10757 pub struct PuffState(pub i32);
10758 #[allow(clippy::derivable_impls)]
10759 impl Default for PuffState {
10760 fn default() -> Self {
10761 Self(0i32)
10762 }
10763 }
10764 #[doc = "Marker component for `pufferfish` entities."]
10765 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
10766 pub struct PufferfishEntity;
10767}
10768#[allow(clippy::module_inception)]
10769pub mod rabbit {
10770 #![doc = "Parent class: [`animal`][super::animal]."]
10771 #[doc = "The bundle of components for spawning `rabbit` entities."]
10772 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
10773 pub struct RabbitEntityBundle {
10774 pub rabbit_entity: super::rabbit::RabbitEntity,
10775 pub rabbit_rabbit_type: super::rabbit::RabbitType,
10776 pub animal_entity: super::animal::AnimalEntity,
10777 pub passive_entity: super::passive::PassiveEntity,
10778 pub passive_child: super::passive::Child,
10779 pub path_aware_entity: super::path_aware::PathAwareEntity,
10780 pub mob_entity: super::mob::MobEntity,
10781 pub mob_mob_flags: super::mob::MobFlags,
10782 pub living_entity: super::living::LivingEntity,
10783 pub living_absorption: super::living::Absorption,
10784 pub living_attributes: super::attributes::EntityAttributes,
10785 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
10786 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
10787 pub living_living_flags: super::living::LivingFlags,
10788 pub living_health: super::living::Health,
10789 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
10790 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
10791 pub living_stuck_arrow_count: super::living::StuckArrowCount,
10792 pub living_stinger_count: super::living::StingerCount,
10793 pub living_sleeping_position: super::living::SleepingPosition,
10794 pub entity: super::entity::Entity,
10795 pub entity_flags: super::entity::Flags,
10796 pub entity_air: super::entity::Air,
10797 pub entity_custom_name: super::entity::CustomName,
10798 pub entity_name_visible: super::entity::NameVisible,
10799 pub entity_silent: super::entity::Silent,
10800 pub entity_no_gravity: super::entity::NoGravity,
10801 pub entity_pose: super::entity::Pose,
10802 pub entity_frozen_ticks: super::entity::FrozenTicks,
10803 pub kind: super::EntityKind,
10804 pub id: super::EntityId,
10805 pub uuid: super::UniqueId,
10806 pub layer: super::EntityLayerId,
10807 pub old_layer: super::OldEntityLayerId,
10808 pub position: super::Position,
10809 pub old_position: super::OldPosition,
10810 pub look: super::Look,
10811 pub head_yaw: super::HeadYaw,
10812 pub on_ground: super::OnGround,
10813 pub velocity: super::Velocity,
10814 pub statuses: super::EntityStatuses,
10815 pub animations: super::EntityAnimations,
10816 pub object_data: super::ObjectData,
10817 pub tracked_data: super::tracked_data::TrackedData,
10818 }
10819 impl Default for RabbitEntityBundle {
10820 fn default() -> Self {
10821 Self {
10822 rabbit_entity: Default::default(),
10823 rabbit_rabbit_type: Default::default(),
10824 animal_entity: Default::default(),
10825 passive_entity: Default::default(),
10826 passive_child: Default::default(),
10827 path_aware_entity: Default::default(),
10828 mob_entity: Default::default(),
10829 mob_mob_flags: Default::default(),
10830 living_entity: Default::default(),
10831 living_absorption: Default::default(),
10832 living_attributes: super::attributes::EntityAttributes::new()
10833 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
10834 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
10835 .with_attribute_and_value(
10836 super::EntityAttribute::GenericKnockbackResistance,
10837 0f64,
10838 )
10839 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
10840 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
10841 .with_attribute_and_value(
10842 super::EntityAttribute::GenericMovementSpeed,
10843 0.30000001192092896f64,
10844 )
10845 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 3f64),
10846 living_attributes_tracker: Default::default(),
10847 living_active_status_effects: Default::default(),
10848 living_living_flags: Default::default(),
10849 living_health: Default::default(),
10850 living_potion_swirls_color: Default::default(),
10851 living_potion_swirls_ambient: Default::default(),
10852 living_stuck_arrow_count: Default::default(),
10853 living_stinger_count: Default::default(),
10854 living_sleeping_position: Default::default(),
10855 entity: Default::default(),
10856 entity_flags: Default::default(),
10857 entity_air: Default::default(),
10858 entity_custom_name: Default::default(),
10859 entity_name_visible: Default::default(),
10860 entity_silent: Default::default(),
10861 entity_no_gravity: Default::default(),
10862 entity_pose: Default::default(),
10863 entity_frozen_ticks: Default::default(),
10864 kind: super::EntityKind::RABBIT,
10865 id: Default::default(),
10866 uuid: Default::default(),
10867 layer: Default::default(),
10868 old_layer: Default::default(),
10869 position: Default::default(),
10870 old_position: Default::default(),
10871 look: Default::default(),
10872 head_yaw: Default::default(),
10873 on_ground: Default::default(),
10874 velocity: Default::default(),
10875 statuses: Default::default(),
10876 animations: Default::default(),
10877 object_data: Default::default(),
10878 tracked_data: Default::default(),
10879 }
10880 }
10881 }
10882 #[derive(
10883 bevy_ecs :: component :: Component,
10884 PartialEq,
10885 Clone,
10886 Debug,
10887 :: derive_more :: Deref,
10888 :: derive_more :: DerefMut,
10889 )]
10890 pub struct RabbitType(pub i32);
10891 #[allow(clippy::derivable_impls)]
10892 impl Default for RabbitType {
10893 fn default() -> Self {
10894 Self(0i32)
10895 }
10896 }
10897 #[doc = "Marker component for `rabbit` entities."]
10898 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
10899 pub struct RabbitEntity;
10900}
10901#[allow(clippy::module_inception)]
10902pub mod raider {
10903 #![doc = "Parent class: [`patrol`][super::patrol]."]
10904 #[derive(
10905 bevy_ecs :: component :: Component,
10906 PartialEq,
10907 Clone,
10908 Debug,
10909 :: derive_more :: Deref,
10910 :: derive_more :: DerefMut,
10911 )]
10912 pub struct Celebrating(pub bool);
10913 #[allow(clippy::derivable_impls)]
10914 impl Default for Celebrating {
10915 fn default() -> Self {
10916 Self(false)
10917 }
10918 }
10919 #[doc = "Marker component for `raider` entities."]
10920 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
10921 pub struct RaiderEntity;
10922}
10923#[allow(clippy::module_inception)]
10924pub mod ravager {
10925 #![doc = "Parent class: [`raider`][super::raider]."]
10926 #[doc = "The bundle of components for spawning `ravager` entities."]
10927 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
10928 pub struct RavagerEntityBundle {
10929 pub ravager_entity: super::ravager::RavagerEntity,
10930 pub raider_entity: super::raider::RaiderEntity,
10931 pub raider_celebrating: super::raider::Celebrating,
10932 pub patrol_entity: super::patrol::PatrolEntity,
10933 pub hostile_entity: super::hostile::HostileEntity,
10934 pub path_aware_entity: super::path_aware::PathAwareEntity,
10935 pub mob_entity: super::mob::MobEntity,
10936 pub mob_mob_flags: super::mob::MobFlags,
10937 pub living_entity: super::living::LivingEntity,
10938 pub living_absorption: super::living::Absorption,
10939 pub living_attributes: super::attributes::EntityAttributes,
10940 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
10941 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
10942 pub living_living_flags: super::living::LivingFlags,
10943 pub living_health: super::living::Health,
10944 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
10945 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
10946 pub living_stuck_arrow_count: super::living::StuckArrowCount,
10947 pub living_stinger_count: super::living::StingerCount,
10948 pub living_sleeping_position: super::living::SleepingPosition,
10949 pub entity: super::entity::Entity,
10950 pub entity_flags: super::entity::Flags,
10951 pub entity_air: super::entity::Air,
10952 pub entity_custom_name: super::entity::CustomName,
10953 pub entity_name_visible: super::entity::NameVisible,
10954 pub entity_silent: super::entity::Silent,
10955 pub entity_no_gravity: super::entity::NoGravity,
10956 pub entity_pose: super::entity::Pose,
10957 pub entity_frozen_ticks: super::entity::FrozenTicks,
10958 pub kind: super::EntityKind,
10959 pub id: super::EntityId,
10960 pub uuid: super::UniqueId,
10961 pub layer: super::EntityLayerId,
10962 pub old_layer: super::OldEntityLayerId,
10963 pub position: super::Position,
10964 pub old_position: super::OldPosition,
10965 pub look: super::Look,
10966 pub head_yaw: super::HeadYaw,
10967 pub on_ground: super::OnGround,
10968 pub velocity: super::Velocity,
10969 pub statuses: super::EntityStatuses,
10970 pub animations: super::EntityAnimations,
10971 pub object_data: super::ObjectData,
10972 pub tracked_data: super::tracked_data::TrackedData,
10973 }
10974 impl Default for RavagerEntityBundle {
10975 fn default() -> Self {
10976 Self {
10977 ravager_entity: Default::default(),
10978 raider_entity: Default::default(),
10979 raider_celebrating: Default::default(),
10980 patrol_entity: Default::default(),
10981 hostile_entity: Default::default(),
10982 path_aware_entity: Default::default(),
10983 mob_entity: Default::default(),
10984 mob_mob_flags: Default::default(),
10985 living_entity: Default::default(),
10986 living_absorption: Default::default(),
10987 living_attributes: super::attributes::EntityAttributes::new()
10988 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
10989 .with_attribute_and_value(
10990 super::EntityAttribute::GenericAttackKnockback,
10991 1.5f64,
10992 )
10993 .with_attribute_and_value(
10994 super::EntityAttribute::GenericKnockbackResistance,
10995 0.75f64,
10996 )
10997 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
10998 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 12f64)
10999 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 32f64)
11000 .with_attribute_and_value(super::EntityAttribute::GenericMovementSpeed, 0.3f64)
11001 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 100f64),
11002 living_attributes_tracker: Default::default(),
11003 living_active_status_effects: Default::default(),
11004 living_living_flags: Default::default(),
11005 living_health: Default::default(),
11006 living_potion_swirls_color: Default::default(),
11007 living_potion_swirls_ambient: Default::default(),
11008 living_stuck_arrow_count: Default::default(),
11009 living_stinger_count: Default::default(),
11010 living_sleeping_position: Default::default(),
11011 entity: Default::default(),
11012 entity_flags: Default::default(),
11013 entity_air: Default::default(),
11014 entity_custom_name: Default::default(),
11015 entity_name_visible: Default::default(),
11016 entity_silent: Default::default(),
11017 entity_no_gravity: Default::default(),
11018 entity_pose: Default::default(),
11019 entity_frozen_ticks: Default::default(),
11020 kind: super::EntityKind::RAVAGER,
11021 id: Default::default(),
11022 uuid: Default::default(),
11023 layer: Default::default(),
11024 old_layer: Default::default(),
11025 position: Default::default(),
11026 old_position: Default::default(),
11027 look: Default::default(),
11028 head_yaw: Default::default(),
11029 on_ground: Default::default(),
11030 velocity: Default::default(),
11031 statuses: Default::default(),
11032 animations: Default::default(),
11033 object_data: Default::default(),
11034 tracked_data: Default::default(),
11035 }
11036 }
11037 }
11038 #[doc = "Marker component for `ravager` entities."]
11039 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
11040 pub struct RavagerEntity;
11041}
11042#[allow(clippy::module_inception)]
11043pub mod salmon {
11044 #![doc = "Parent class: [`schooling_fish`][super::schooling_fish]."]
11045 #[doc = "The bundle of components for spawning `salmon` entities."]
11046 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
11047 pub struct SalmonEntityBundle {
11048 pub salmon_entity: super::salmon::SalmonEntity,
11049 pub schooling_fish_entity: super::schooling_fish::SchoolingFishEntity,
11050 pub fish_entity: super::fish::FishEntity,
11051 pub fish_from_bucket: super::fish::FromBucket,
11052 pub water_creature_entity: super::water_creature::WaterCreatureEntity,
11053 pub path_aware_entity: super::path_aware::PathAwareEntity,
11054 pub mob_entity: super::mob::MobEntity,
11055 pub mob_mob_flags: super::mob::MobFlags,
11056 pub living_entity: super::living::LivingEntity,
11057 pub living_absorption: super::living::Absorption,
11058 pub living_attributes: super::attributes::EntityAttributes,
11059 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
11060 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
11061 pub living_living_flags: super::living::LivingFlags,
11062 pub living_health: super::living::Health,
11063 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
11064 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
11065 pub living_stuck_arrow_count: super::living::StuckArrowCount,
11066 pub living_stinger_count: super::living::StingerCount,
11067 pub living_sleeping_position: super::living::SleepingPosition,
11068 pub entity: super::entity::Entity,
11069 pub entity_flags: super::entity::Flags,
11070 pub entity_air: super::entity::Air,
11071 pub entity_custom_name: super::entity::CustomName,
11072 pub entity_name_visible: super::entity::NameVisible,
11073 pub entity_silent: super::entity::Silent,
11074 pub entity_no_gravity: super::entity::NoGravity,
11075 pub entity_pose: super::entity::Pose,
11076 pub entity_frozen_ticks: super::entity::FrozenTicks,
11077 pub kind: super::EntityKind,
11078 pub id: super::EntityId,
11079 pub uuid: super::UniqueId,
11080 pub layer: super::EntityLayerId,
11081 pub old_layer: super::OldEntityLayerId,
11082 pub position: super::Position,
11083 pub old_position: super::OldPosition,
11084 pub look: super::Look,
11085 pub head_yaw: super::HeadYaw,
11086 pub on_ground: super::OnGround,
11087 pub velocity: super::Velocity,
11088 pub statuses: super::EntityStatuses,
11089 pub animations: super::EntityAnimations,
11090 pub object_data: super::ObjectData,
11091 pub tracked_data: super::tracked_data::TrackedData,
11092 }
11093 impl Default for SalmonEntityBundle {
11094 fn default() -> Self {
11095 Self {
11096 salmon_entity: Default::default(),
11097 schooling_fish_entity: Default::default(),
11098 fish_entity: Default::default(),
11099 fish_from_bucket: Default::default(),
11100 water_creature_entity: Default::default(),
11101 path_aware_entity: Default::default(),
11102 mob_entity: Default::default(),
11103 mob_mob_flags: Default::default(),
11104 living_entity: Default::default(),
11105 living_absorption: Default::default(),
11106 living_attributes: super::attributes::EntityAttributes::new()
11107 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
11108 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
11109 .with_attribute_and_value(
11110 super::EntityAttribute::GenericKnockbackResistance,
11111 0f64,
11112 )
11113 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
11114 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
11115 .with_attribute_and_value(
11116 super::EntityAttribute::GenericMovementSpeed,
11117 0.699999988079071f64,
11118 )
11119 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 3f64),
11120 living_attributes_tracker: Default::default(),
11121 living_active_status_effects: Default::default(),
11122 living_living_flags: Default::default(),
11123 living_health: Default::default(),
11124 living_potion_swirls_color: Default::default(),
11125 living_potion_swirls_ambient: Default::default(),
11126 living_stuck_arrow_count: Default::default(),
11127 living_stinger_count: Default::default(),
11128 living_sleeping_position: Default::default(),
11129 entity: Default::default(),
11130 entity_flags: Default::default(),
11131 entity_air: Default::default(),
11132 entity_custom_name: Default::default(),
11133 entity_name_visible: Default::default(),
11134 entity_silent: Default::default(),
11135 entity_no_gravity: Default::default(),
11136 entity_pose: Default::default(),
11137 entity_frozen_ticks: Default::default(),
11138 kind: super::EntityKind::SALMON,
11139 id: Default::default(),
11140 uuid: Default::default(),
11141 layer: Default::default(),
11142 old_layer: Default::default(),
11143 position: Default::default(),
11144 old_position: Default::default(),
11145 look: Default::default(),
11146 head_yaw: Default::default(),
11147 on_ground: Default::default(),
11148 velocity: Default::default(),
11149 statuses: Default::default(),
11150 animations: Default::default(),
11151 object_data: Default::default(),
11152 tracked_data: Default::default(),
11153 }
11154 }
11155 }
11156 #[doc = "Marker component for `salmon` entities."]
11157 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
11158 pub struct SalmonEntity;
11159}
11160#[allow(clippy::module_inception)]
11161pub mod schooling_fish {
11162 #![doc = "Parent class: [`fish`][super::fish]."]
11163 #[doc = "Marker component for `schooling_fish` entities."]
11164 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
11165 pub struct SchoolingFishEntity;
11166}
11167#[allow(clippy::module_inception)]
11168pub mod sheep {
11169 #![doc = "Parent class: [`animal`][super::animal]."]
11170 #[doc = "The bundle of components for spawning `sheep` entities."]
11171 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
11172 pub struct SheepEntityBundle {
11173 pub sheep_entity: super::sheep::SheepEntity,
11174 pub sheep_color: super::sheep::Color,
11175 pub animal_entity: super::animal::AnimalEntity,
11176 pub passive_entity: super::passive::PassiveEntity,
11177 pub passive_child: super::passive::Child,
11178 pub path_aware_entity: super::path_aware::PathAwareEntity,
11179 pub mob_entity: super::mob::MobEntity,
11180 pub mob_mob_flags: super::mob::MobFlags,
11181 pub living_entity: super::living::LivingEntity,
11182 pub living_absorption: super::living::Absorption,
11183 pub living_attributes: super::attributes::EntityAttributes,
11184 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
11185 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
11186 pub living_living_flags: super::living::LivingFlags,
11187 pub living_health: super::living::Health,
11188 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
11189 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
11190 pub living_stuck_arrow_count: super::living::StuckArrowCount,
11191 pub living_stinger_count: super::living::StingerCount,
11192 pub living_sleeping_position: super::living::SleepingPosition,
11193 pub entity: super::entity::Entity,
11194 pub entity_flags: super::entity::Flags,
11195 pub entity_air: super::entity::Air,
11196 pub entity_custom_name: super::entity::CustomName,
11197 pub entity_name_visible: super::entity::NameVisible,
11198 pub entity_silent: super::entity::Silent,
11199 pub entity_no_gravity: super::entity::NoGravity,
11200 pub entity_pose: super::entity::Pose,
11201 pub entity_frozen_ticks: super::entity::FrozenTicks,
11202 pub kind: super::EntityKind,
11203 pub id: super::EntityId,
11204 pub uuid: super::UniqueId,
11205 pub layer: super::EntityLayerId,
11206 pub old_layer: super::OldEntityLayerId,
11207 pub position: super::Position,
11208 pub old_position: super::OldPosition,
11209 pub look: super::Look,
11210 pub head_yaw: super::HeadYaw,
11211 pub on_ground: super::OnGround,
11212 pub velocity: super::Velocity,
11213 pub statuses: super::EntityStatuses,
11214 pub animations: super::EntityAnimations,
11215 pub object_data: super::ObjectData,
11216 pub tracked_data: super::tracked_data::TrackedData,
11217 }
11218 impl Default for SheepEntityBundle {
11219 fn default() -> Self {
11220 Self {
11221 sheep_entity: Default::default(),
11222 sheep_color: Default::default(),
11223 animal_entity: Default::default(),
11224 passive_entity: Default::default(),
11225 passive_child: Default::default(),
11226 path_aware_entity: Default::default(),
11227 mob_entity: Default::default(),
11228 mob_mob_flags: Default::default(),
11229 living_entity: Default::default(),
11230 living_absorption: Default::default(),
11231 living_attributes: super::attributes::EntityAttributes::new()
11232 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
11233 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
11234 .with_attribute_and_value(
11235 super::EntityAttribute::GenericKnockbackResistance,
11236 0f64,
11237 )
11238 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
11239 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
11240 .with_attribute_and_value(
11241 super::EntityAttribute::GenericMovementSpeed,
11242 0.2300000041723251f64,
11243 )
11244 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 8f64),
11245 living_attributes_tracker: Default::default(),
11246 living_active_status_effects: Default::default(),
11247 living_living_flags: Default::default(),
11248 living_health: Default::default(),
11249 living_potion_swirls_color: Default::default(),
11250 living_potion_swirls_ambient: Default::default(),
11251 living_stuck_arrow_count: Default::default(),
11252 living_stinger_count: Default::default(),
11253 living_sleeping_position: Default::default(),
11254 entity: Default::default(),
11255 entity_flags: Default::default(),
11256 entity_air: Default::default(),
11257 entity_custom_name: Default::default(),
11258 entity_name_visible: Default::default(),
11259 entity_silent: Default::default(),
11260 entity_no_gravity: Default::default(),
11261 entity_pose: Default::default(),
11262 entity_frozen_ticks: Default::default(),
11263 kind: super::EntityKind::SHEEP,
11264 id: Default::default(),
11265 uuid: Default::default(),
11266 layer: Default::default(),
11267 old_layer: Default::default(),
11268 position: Default::default(),
11269 old_position: Default::default(),
11270 look: Default::default(),
11271 head_yaw: Default::default(),
11272 on_ground: Default::default(),
11273 velocity: Default::default(),
11274 statuses: Default::default(),
11275 animations: Default::default(),
11276 object_data: Default::default(),
11277 tracked_data: Default::default(),
11278 }
11279 }
11280 }
11281 #[derive(
11282 bevy_ecs :: component :: Component,
11283 PartialEq,
11284 Clone,
11285 Debug,
11286 :: derive_more :: Deref,
11287 :: derive_more :: DerefMut,
11288 )]
11289 pub struct Color(pub i8);
11290 #[allow(clippy::derivable_impls)]
11291 impl Default for Color {
11292 fn default() -> Self {
11293 Self(0i8)
11294 }
11295 }
11296 #[doc = "Marker component for `sheep` entities."]
11297 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
11298 pub struct SheepEntity;
11299}
11300#[allow(clippy::module_inception)]
11301pub mod shulker_bullet {
11302 #![doc = "Parent class: [`projectile`][super::projectile]."]
11303 #[doc = "The bundle of components for spawning `shulker_bullet` entities."]
11304 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
11305 pub struct ShulkerBulletEntityBundle {
11306 pub shulker_bullet_entity: super::shulker_bullet::ShulkerBulletEntity,
11307 pub projectile_entity: super::projectile::ProjectileEntity,
11308 pub entity: super::entity::Entity,
11309 pub entity_flags: super::entity::Flags,
11310 pub entity_air: super::entity::Air,
11311 pub entity_custom_name: super::entity::CustomName,
11312 pub entity_name_visible: super::entity::NameVisible,
11313 pub entity_silent: super::entity::Silent,
11314 pub entity_no_gravity: super::entity::NoGravity,
11315 pub entity_pose: super::entity::Pose,
11316 pub entity_frozen_ticks: super::entity::FrozenTicks,
11317 pub kind: super::EntityKind,
11318 pub id: super::EntityId,
11319 pub uuid: super::UniqueId,
11320 pub layer: super::EntityLayerId,
11321 pub old_layer: super::OldEntityLayerId,
11322 pub position: super::Position,
11323 pub old_position: super::OldPosition,
11324 pub look: super::Look,
11325 pub head_yaw: super::HeadYaw,
11326 pub on_ground: super::OnGround,
11327 pub velocity: super::Velocity,
11328 pub statuses: super::EntityStatuses,
11329 pub animations: super::EntityAnimations,
11330 pub object_data: super::ObjectData,
11331 pub tracked_data: super::tracked_data::TrackedData,
11332 }
11333 impl Default for ShulkerBulletEntityBundle {
11334 fn default() -> Self {
11335 Self {
11336 shulker_bullet_entity: Default::default(),
11337 projectile_entity: Default::default(),
11338 entity: Default::default(),
11339 entity_flags: Default::default(),
11340 entity_air: Default::default(),
11341 entity_custom_name: Default::default(),
11342 entity_name_visible: Default::default(),
11343 entity_silent: Default::default(),
11344 entity_no_gravity: Default::default(),
11345 entity_pose: Default::default(),
11346 entity_frozen_ticks: Default::default(),
11347 kind: super::EntityKind::SHULKER_BULLET,
11348 id: Default::default(),
11349 uuid: Default::default(),
11350 layer: Default::default(),
11351 old_layer: Default::default(),
11352 position: Default::default(),
11353 old_position: Default::default(),
11354 look: Default::default(),
11355 head_yaw: Default::default(),
11356 on_ground: Default::default(),
11357 velocity: Default::default(),
11358 statuses: Default::default(),
11359 animations: Default::default(),
11360 object_data: Default::default(),
11361 tracked_data: Default::default(),
11362 }
11363 }
11364 }
11365 #[doc = "Marker component for `shulker_bullet` entities."]
11366 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
11367 pub struct ShulkerBulletEntity;
11368}
11369#[allow(clippy::module_inception)]
11370pub mod shulker {
11371 #![doc = "Parent class: [`golem`][super::golem]."]
11372 #[doc = "The bundle of components for spawning `shulker` entities."]
11373 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
11374 pub struct ShulkerEntityBundle {
11375 pub shulker_entity: super::shulker::ShulkerEntity,
11376 pub shulker_attached_face: super::shulker::AttachedFace,
11377 pub shulker_peek_amount: super::shulker::PeekAmount,
11378 pub shulker_color: super::shulker::Color,
11379 pub golem_entity: super::golem::GolemEntity,
11380 pub path_aware_entity: super::path_aware::PathAwareEntity,
11381 pub mob_entity: super::mob::MobEntity,
11382 pub mob_mob_flags: super::mob::MobFlags,
11383 pub living_entity: super::living::LivingEntity,
11384 pub living_absorption: super::living::Absorption,
11385 pub living_attributes: super::attributes::EntityAttributes,
11386 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
11387 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
11388 pub living_living_flags: super::living::LivingFlags,
11389 pub living_health: super::living::Health,
11390 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
11391 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
11392 pub living_stuck_arrow_count: super::living::StuckArrowCount,
11393 pub living_stinger_count: super::living::StingerCount,
11394 pub living_sleeping_position: super::living::SleepingPosition,
11395 pub entity: super::entity::Entity,
11396 pub entity_flags: super::entity::Flags,
11397 pub entity_air: super::entity::Air,
11398 pub entity_custom_name: super::entity::CustomName,
11399 pub entity_name_visible: super::entity::NameVisible,
11400 pub entity_silent: super::entity::Silent,
11401 pub entity_no_gravity: super::entity::NoGravity,
11402 pub entity_pose: super::entity::Pose,
11403 pub entity_frozen_ticks: super::entity::FrozenTicks,
11404 pub kind: super::EntityKind,
11405 pub id: super::EntityId,
11406 pub uuid: super::UniqueId,
11407 pub layer: super::EntityLayerId,
11408 pub old_layer: super::OldEntityLayerId,
11409 pub position: super::Position,
11410 pub old_position: super::OldPosition,
11411 pub look: super::Look,
11412 pub head_yaw: super::HeadYaw,
11413 pub on_ground: super::OnGround,
11414 pub velocity: super::Velocity,
11415 pub statuses: super::EntityStatuses,
11416 pub animations: super::EntityAnimations,
11417 pub object_data: super::ObjectData,
11418 pub tracked_data: super::tracked_data::TrackedData,
11419 }
11420 impl Default for ShulkerEntityBundle {
11421 fn default() -> Self {
11422 Self {
11423 shulker_entity: Default::default(),
11424 shulker_attached_face: Default::default(),
11425 shulker_peek_amount: Default::default(),
11426 shulker_color: Default::default(),
11427 golem_entity: Default::default(),
11428 path_aware_entity: Default::default(),
11429 mob_entity: Default::default(),
11430 mob_mob_flags: Default::default(),
11431 living_entity: Default::default(),
11432 living_absorption: Default::default(),
11433 living_attributes: super::attributes::EntityAttributes::new()
11434 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
11435 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
11436 .with_attribute_and_value(
11437 super::EntityAttribute::GenericKnockbackResistance,
11438 0f64,
11439 )
11440 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
11441 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
11442 .with_attribute_and_value(
11443 super::EntityAttribute::GenericMovementSpeed,
11444 0.699999988079071f64,
11445 )
11446 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 30f64),
11447 living_attributes_tracker: Default::default(),
11448 living_active_status_effects: Default::default(),
11449 living_living_flags: Default::default(),
11450 living_health: Default::default(),
11451 living_potion_swirls_color: Default::default(),
11452 living_potion_swirls_ambient: Default::default(),
11453 living_stuck_arrow_count: Default::default(),
11454 living_stinger_count: Default::default(),
11455 living_sleeping_position: Default::default(),
11456 entity: Default::default(),
11457 entity_flags: Default::default(),
11458 entity_air: Default::default(),
11459 entity_custom_name: Default::default(),
11460 entity_name_visible: Default::default(),
11461 entity_silent: Default::default(),
11462 entity_no_gravity: Default::default(),
11463 entity_pose: Default::default(),
11464 entity_frozen_ticks: Default::default(),
11465 kind: super::EntityKind::SHULKER,
11466 id: Default::default(),
11467 uuid: Default::default(),
11468 layer: Default::default(),
11469 old_layer: Default::default(),
11470 position: Default::default(),
11471 old_position: Default::default(),
11472 look: Default::default(),
11473 head_yaw: Default::default(),
11474 on_ground: Default::default(),
11475 velocity: Default::default(),
11476 statuses: Default::default(),
11477 animations: Default::default(),
11478 object_data: Default::default(),
11479 tracked_data: Default::default(),
11480 }
11481 }
11482 }
11483 #[derive(
11484 bevy_ecs :: component :: Component,
11485 PartialEq,
11486 Clone,
11487 Debug,
11488 :: derive_more :: Deref,
11489 :: derive_more :: DerefMut,
11490 )]
11491 pub struct AttachedFace(pub valence_protocol::Direction);
11492 #[allow(clippy::derivable_impls)]
11493 impl Default for AttachedFace {
11494 fn default() -> Self {
11495 Self(valence_protocol::Direction::Down)
11496 }
11497 }
11498 #[derive(
11499 bevy_ecs :: component :: Component,
11500 PartialEq,
11501 Clone,
11502 Debug,
11503 :: derive_more :: Deref,
11504 :: derive_more :: DerefMut,
11505 )]
11506 pub struct PeekAmount(pub i8);
11507 #[allow(clippy::derivable_impls)]
11508 impl Default for PeekAmount {
11509 fn default() -> Self {
11510 Self(0i8)
11511 }
11512 }
11513 #[derive(
11514 bevy_ecs :: component :: Component,
11515 PartialEq,
11516 Clone,
11517 Debug,
11518 :: derive_more :: Deref,
11519 :: derive_more :: DerefMut,
11520 )]
11521 pub struct Color(pub i8);
11522 #[allow(clippy::derivable_impls)]
11523 impl Default for Color {
11524 fn default() -> Self {
11525 Self(16i8)
11526 }
11527 }
11528 #[doc = "Marker component for `shulker` entities."]
11529 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
11530 pub struct ShulkerEntity;
11531}
11532#[allow(clippy::module_inception)]
11533pub mod silverfish {
11534 #![doc = "Parent class: [`hostile`][super::hostile]."]
11535 #[doc = "The bundle of components for spawning `silverfish` entities."]
11536 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
11537 pub struct SilverfishEntityBundle {
11538 pub silverfish_entity: super::silverfish::SilverfishEntity,
11539 pub hostile_entity: super::hostile::HostileEntity,
11540 pub path_aware_entity: super::path_aware::PathAwareEntity,
11541 pub mob_entity: super::mob::MobEntity,
11542 pub mob_mob_flags: super::mob::MobFlags,
11543 pub living_entity: super::living::LivingEntity,
11544 pub living_absorption: super::living::Absorption,
11545 pub living_attributes: super::attributes::EntityAttributes,
11546 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
11547 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
11548 pub living_living_flags: super::living::LivingFlags,
11549 pub living_health: super::living::Health,
11550 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
11551 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
11552 pub living_stuck_arrow_count: super::living::StuckArrowCount,
11553 pub living_stinger_count: super::living::StingerCount,
11554 pub living_sleeping_position: super::living::SleepingPosition,
11555 pub entity: super::entity::Entity,
11556 pub entity_flags: super::entity::Flags,
11557 pub entity_air: super::entity::Air,
11558 pub entity_custom_name: super::entity::CustomName,
11559 pub entity_name_visible: super::entity::NameVisible,
11560 pub entity_silent: super::entity::Silent,
11561 pub entity_no_gravity: super::entity::NoGravity,
11562 pub entity_pose: super::entity::Pose,
11563 pub entity_frozen_ticks: super::entity::FrozenTicks,
11564 pub kind: super::EntityKind,
11565 pub id: super::EntityId,
11566 pub uuid: super::UniqueId,
11567 pub layer: super::EntityLayerId,
11568 pub old_layer: super::OldEntityLayerId,
11569 pub position: super::Position,
11570 pub old_position: super::OldPosition,
11571 pub look: super::Look,
11572 pub head_yaw: super::HeadYaw,
11573 pub on_ground: super::OnGround,
11574 pub velocity: super::Velocity,
11575 pub statuses: super::EntityStatuses,
11576 pub animations: super::EntityAnimations,
11577 pub object_data: super::ObjectData,
11578 pub tracked_data: super::tracked_data::TrackedData,
11579 }
11580 impl Default for SilverfishEntityBundle {
11581 fn default() -> Self {
11582 Self {
11583 silverfish_entity: Default::default(),
11584 hostile_entity: Default::default(),
11585 path_aware_entity: Default::default(),
11586 mob_entity: Default::default(),
11587 mob_mob_flags: Default::default(),
11588 living_entity: Default::default(),
11589 living_absorption: Default::default(),
11590 living_attributes: super::attributes::EntityAttributes::new()
11591 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
11592 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
11593 .with_attribute_and_value(
11594 super::EntityAttribute::GenericKnockbackResistance,
11595 0f64,
11596 )
11597 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
11598 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 1f64)
11599 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
11600 .with_attribute_and_value(super::EntityAttribute::GenericMovementSpeed, 0.25f64)
11601 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 8f64),
11602 living_attributes_tracker: Default::default(),
11603 living_active_status_effects: Default::default(),
11604 living_living_flags: Default::default(),
11605 living_health: Default::default(),
11606 living_potion_swirls_color: Default::default(),
11607 living_potion_swirls_ambient: Default::default(),
11608 living_stuck_arrow_count: Default::default(),
11609 living_stinger_count: Default::default(),
11610 living_sleeping_position: Default::default(),
11611 entity: Default::default(),
11612 entity_flags: Default::default(),
11613 entity_air: Default::default(),
11614 entity_custom_name: Default::default(),
11615 entity_name_visible: Default::default(),
11616 entity_silent: Default::default(),
11617 entity_no_gravity: Default::default(),
11618 entity_pose: Default::default(),
11619 entity_frozen_ticks: Default::default(),
11620 kind: super::EntityKind::SILVERFISH,
11621 id: Default::default(),
11622 uuid: Default::default(),
11623 layer: Default::default(),
11624 old_layer: Default::default(),
11625 position: Default::default(),
11626 old_position: Default::default(),
11627 look: Default::default(),
11628 head_yaw: Default::default(),
11629 on_ground: Default::default(),
11630 velocity: Default::default(),
11631 statuses: Default::default(),
11632 animations: Default::default(),
11633 object_data: Default::default(),
11634 tracked_data: Default::default(),
11635 }
11636 }
11637 }
11638 #[doc = "Marker component for `silverfish` entities."]
11639 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
11640 pub struct SilverfishEntity;
11641}
11642#[allow(clippy::module_inception)]
11643pub mod skeleton {
11644 #![doc = "Parent class: [`abstract_skeleton`][super::abstract_skeleton]."]
11645 #[doc = "The bundle of components for spawning `skeleton` entities."]
11646 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
11647 pub struct SkeletonEntityBundle {
11648 pub skeleton_entity: super::skeleton::SkeletonEntity,
11649 pub skeleton_converting: super::skeleton::Converting,
11650 pub abstract_skeleton_entity: super::abstract_skeleton::AbstractSkeletonEntity,
11651 pub hostile_entity: super::hostile::HostileEntity,
11652 pub path_aware_entity: super::path_aware::PathAwareEntity,
11653 pub mob_entity: super::mob::MobEntity,
11654 pub mob_mob_flags: super::mob::MobFlags,
11655 pub living_entity: super::living::LivingEntity,
11656 pub living_absorption: super::living::Absorption,
11657 pub living_attributes: super::attributes::EntityAttributes,
11658 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
11659 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
11660 pub living_living_flags: super::living::LivingFlags,
11661 pub living_health: super::living::Health,
11662 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
11663 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
11664 pub living_stuck_arrow_count: super::living::StuckArrowCount,
11665 pub living_stinger_count: super::living::StingerCount,
11666 pub living_sleeping_position: super::living::SleepingPosition,
11667 pub entity: super::entity::Entity,
11668 pub entity_flags: super::entity::Flags,
11669 pub entity_air: super::entity::Air,
11670 pub entity_custom_name: super::entity::CustomName,
11671 pub entity_name_visible: super::entity::NameVisible,
11672 pub entity_silent: super::entity::Silent,
11673 pub entity_no_gravity: super::entity::NoGravity,
11674 pub entity_pose: super::entity::Pose,
11675 pub entity_frozen_ticks: super::entity::FrozenTicks,
11676 pub kind: super::EntityKind,
11677 pub id: super::EntityId,
11678 pub uuid: super::UniqueId,
11679 pub layer: super::EntityLayerId,
11680 pub old_layer: super::OldEntityLayerId,
11681 pub position: super::Position,
11682 pub old_position: super::OldPosition,
11683 pub look: super::Look,
11684 pub head_yaw: super::HeadYaw,
11685 pub on_ground: super::OnGround,
11686 pub velocity: super::Velocity,
11687 pub statuses: super::EntityStatuses,
11688 pub animations: super::EntityAnimations,
11689 pub object_data: super::ObjectData,
11690 pub tracked_data: super::tracked_data::TrackedData,
11691 }
11692 impl Default for SkeletonEntityBundle {
11693 fn default() -> Self {
11694 Self {
11695 skeleton_entity: Default::default(),
11696 skeleton_converting: Default::default(),
11697 abstract_skeleton_entity: Default::default(),
11698 hostile_entity: Default::default(),
11699 path_aware_entity: Default::default(),
11700 mob_entity: Default::default(),
11701 mob_mob_flags: Default::default(),
11702 living_entity: Default::default(),
11703 living_absorption: Default::default(),
11704 living_attributes: super::attributes::EntityAttributes::new()
11705 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
11706 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
11707 .with_attribute_and_value(
11708 super::EntityAttribute::GenericKnockbackResistance,
11709 0f64,
11710 )
11711 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
11712 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 2f64)
11713 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
11714 .with_attribute_and_value(super::EntityAttribute::GenericMovementSpeed, 0.25f64)
11715 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 20f64),
11716 living_attributes_tracker: Default::default(),
11717 living_active_status_effects: Default::default(),
11718 living_living_flags: Default::default(),
11719 living_health: Default::default(),
11720 living_potion_swirls_color: Default::default(),
11721 living_potion_swirls_ambient: Default::default(),
11722 living_stuck_arrow_count: Default::default(),
11723 living_stinger_count: Default::default(),
11724 living_sleeping_position: Default::default(),
11725 entity: Default::default(),
11726 entity_flags: Default::default(),
11727 entity_air: Default::default(),
11728 entity_custom_name: Default::default(),
11729 entity_name_visible: Default::default(),
11730 entity_silent: Default::default(),
11731 entity_no_gravity: Default::default(),
11732 entity_pose: Default::default(),
11733 entity_frozen_ticks: Default::default(),
11734 kind: super::EntityKind::SKELETON,
11735 id: Default::default(),
11736 uuid: Default::default(),
11737 layer: Default::default(),
11738 old_layer: Default::default(),
11739 position: Default::default(),
11740 old_position: Default::default(),
11741 look: Default::default(),
11742 head_yaw: Default::default(),
11743 on_ground: Default::default(),
11744 velocity: Default::default(),
11745 statuses: Default::default(),
11746 animations: Default::default(),
11747 object_data: Default::default(),
11748 tracked_data: Default::default(),
11749 }
11750 }
11751 }
11752 #[derive(
11753 bevy_ecs :: component :: Component,
11754 PartialEq,
11755 Clone,
11756 Debug,
11757 :: derive_more :: Deref,
11758 :: derive_more :: DerefMut,
11759 )]
11760 pub struct Converting(pub bool);
11761 #[allow(clippy::derivable_impls)]
11762 impl Default for Converting {
11763 fn default() -> Self {
11764 Self(false)
11765 }
11766 }
11767 #[doc = "Marker component for `skeleton` entities."]
11768 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
11769 pub struct SkeletonEntity;
11770}
11771#[allow(clippy::module_inception)]
11772pub mod skeleton_horse {
11773 #![doc = "Parent class: [`abstract_horse`][super::abstract_horse]."]
11774 #[doc = "The bundle of components for spawning `skeleton_horse` entities."]
11775 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
11776 pub struct SkeletonHorseEntityBundle {
11777 pub skeleton_horse_entity: super::skeleton_horse::SkeletonHorseEntity,
11778 pub abstract_horse_entity: super::abstract_horse::AbstractHorseEntity,
11779 pub abstract_horse_horse_flags: super::abstract_horse::HorseFlags,
11780 pub animal_entity: super::animal::AnimalEntity,
11781 pub passive_entity: super::passive::PassiveEntity,
11782 pub passive_child: super::passive::Child,
11783 pub path_aware_entity: super::path_aware::PathAwareEntity,
11784 pub mob_entity: super::mob::MobEntity,
11785 pub mob_mob_flags: super::mob::MobFlags,
11786 pub living_entity: super::living::LivingEntity,
11787 pub living_absorption: super::living::Absorption,
11788 pub living_attributes: super::attributes::EntityAttributes,
11789 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
11790 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
11791 pub living_living_flags: super::living::LivingFlags,
11792 pub living_health: super::living::Health,
11793 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
11794 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
11795 pub living_stuck_arrow_count: super::living::StuckArrowCount,
11796 pub living_stinger_count: super::living::StingerCount,
11797 pub living_sleeping_position: super::living::SleepingPosition,
11798 pub entity: super::entity::Entity,
11799 pub entity_flags: super::entity::Flags,
11800 pub entity_air: super::entity::Air,
11801 pub entity_custom_name: super::entity::CustomName,
11802 pub entity_name_visible: super::entity::NameVisible,
11803 pub entity_silent: super::entity::Silent,
11804 pub entity_no_gravity: super::entity::NoGravity,
11805 pub entity_pose: super::entity::Pose,
11806 pub entity_frozen_ticks: super::entity::FrozenTicks,
11807 pub kind: super::EntityKind,
11808 pub id: super::EntityId,
11809 pub uuid: super::UniqueId,
11810 pub layer: super::EntityLayerId,
11811 pub old_layer: super::OldEntityLayerId,
11812 pub position: super::Position,
11813 pub old_position: super::OldPosition,
11814 pub look: super::Look,
11815 pub head_yaw: super::HeadYaw,
11816 pub on_ground: super::OnGround,
11817 pub velocity: super::Velocity,
11818 pub statuses: super::EntityStatuses,
11819 pub animations: super::EntityAnimations,
11820 pub object_data: super::ObjectData,
11821 pub tracked_data: super::tracked_data::TrackedData,
11822 }
11823 impl Default for SkeletonHorseEntityBundle {
11824 fn default() -> Self {
11825 Self {
11826 skeleton_horse_entity: Default::default(),
11827 abstract_horse_entity: Default::default(),
11828 abstract_horse_horse_flags: Default::default(),
11829 animal_entity: Default::default(),
11830 passive_entity: Default::default(),
11831 passive_child: Default::default(),
11832 path_aware_entity: Default::default(),
11833 mob_entity: Default::default(),
11834 mob_mob_flags: Default::default(),
11835 living_entity: Default::default(),
11836 living_absorption: Default::default(),
11837 living_attributes: super::attributes::EntityAttributes::new()
11838 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
11839 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
11840 .with_attribute_and_value(
11841 super::EntityAttribute::GenericKnockbackResistance,
11842 0f64,
11843 )
11844 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
11845 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
11846 .with_attribute_and_value(super::EntityAttribute::HorseJumpStrength, 0.7f64)
11847 .with_attribute_and_value(
11848 super::EntityAttribute::GenericMovementSpeed,
11849 0.20000000298023224f64,
11850 )
11851 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 15f64),
11852 living_attributes_tracker: Default::default(),
11853 living_active_status_effects: Default::default(),
11854 living_living_flags: Default::default(),
11855 living_health: Default::default(),
11856 living_potion_swirls_color: Default::default(),
11857 living_potion_swirls_ambient: Default::default(),
11858 living_stuck_arrow_count: Default::default(),
11859 living_stinger_count: Default::default(),
11860 living_sleeping_position: Default::default(),
11861 entity: Default::default(),
11862 entity_flags: Default::default(),
11863 entity_air: Default::default(),
11864 entity_custom_name: Default::default(),
11865 entity_name_visible: Default::default(),
11866 entity_silent: Default::default(),
11867 entity_no_gravity: Default::default(),
11868 entity_pose: Default::default(),
11869 entity_frozen_ticks: Default::default(),
11870 kind: super::EntityKind::SKELETON_HORSE,
11871 id: Default::default(),
11872 uuid: Default::default(),
11873 layer: Default::default(),
11874 old_layer: Default::default(),
11875 position: Default::default(),
11876 old_position: Default::default(),
11877 look: Default::default(),
11878 head_yaw: Default::default(),
11879 on_ground: Default::default(),
11880 velocity: Default::default(),
11881 statuses: Default::default(),
11882 animations: Default::default(),
11883 object_data: Default::default(),
11884 tracked_data: Default::default(),
11885 }
11886 }
11887 }
11888 #[doc = "Marker component for `skeleton_horse` entities."]
11889 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
11890 pub struct SkeletonHorseEntity;
11891}
11892#[allow(clippy::module_inception)]
11893pub mod slime {
11894 #![doc = "Parent class: [`mob`][super::mob]."]
11895 #[doc = "The bundle of components for spawning `slime` entities."]
11896 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
11897 pub struct SlimeEntityBundle {
11898 pub slime_entity: super::slime::SlimeEntity,
11899 pub slime_slime_size: super::slime::SlimeSize,
11900 pub mob_entity: super::mob::MobEntity,
11901 pub mob_mob_flags: super::mob::MobFlags,
11902 pub living_entity: super::living::LivingEntity,
11903 pub living_absorption: super::living::Absorption,
11904 pub living_attributes: super::attributes::EntityAttributes,
11905 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
11906 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
11907 pub living_living_flags: super::living::LivingFlags,
11908 pub living_health: super::living::Health,
11909 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
11910 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
11911 pub living_stuck_arrow_count: super::living::StuckArrowCount,
11912 pub living_stinger_count: super::living::StingerCount,
11913 pub living_sleeping_position: super::living::SleepingPosition,
11914 pub entity: super::entity::Entity,
11915 pub entity_flags: super::entity::Flags,
11916 pub entity_air: super::entity::Air,
11917 pub entity_custom_name: super::entity::CustomName,
11918 pub entity_name_visible: super::entity::NameVisible,
11919 pub entity_silent: super::entity::Silent,
11920 pub entity_no_gravity: super::entity::NoGravity,
11921 pub entity_pose: super::entity::Pose,
11922 pub entity_frozen_ticks: super::entity::FrozenTicks,
11923 pub kind: super::EntityKind,
11924 pub id: super::EntityId,
11925 pub uuid: super::UniqueId,
11926 pub layer: super::EntityLayerId,
11927 pub old_layer: super::OldEntityLayerId,
11928 pub position: super::Position,
11929 pub old_position: super::OldPosition,
11930 pub look: super::Look,
11931 pub head_yaw: super::HeadYaw,
11932 pub on_ground: super::OnGround,
11933 pub velocity: super::Velocity,
11934 pub statuses: super::EntityStatuses,
11935 pub animations: super::EntityAnimations,
11936 pub object_data: super::ObjectData,
11937 pub tracked_data: super::tracked_data::TrackedData,
11938 }
11939 impl Default for SlimeEntityBundle {
11940 fn default() -> Self {
11941 Self {
11942 slime_entity: Default::default(),
11943 slime_slime_size: Default::default(),
11944 mob_entity: Default::default(),
11945 mob_mob_flags: Default::default(),
11946 living_entity: Default::default(),
11947 living_absorption: Default::default(),
11948 living_attributes: super::attributes::EntityAttributes::new()
11949 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
11950 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
11951 .with_attribute_and_value(
11952 super::EntityAttribute::GenericKnockbackResistance,
11953 0f64,
11954 )
11955 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
11956 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 2f64)
11957 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
11958 .with_attribute_and_value(
11959 super::EntityAttribute::GenericMovementSpeed,
11960 0.699999988079071f64,
11961 )
11962 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 20f64),
11963 living_attributes_tracker: Default::default(),
11964 living_active_status_effects: Default::default(),
11965 living_living_flags: Default::default(),
11966 living_health: Default::default(),
11967 living_potion_swirls_color: Default::default(),
11968 living_potion_swirls_ambient: Default::default(),
11969 living_stuck_arrow_count: Default::default(),
11970 living_stinger_count: Default::default(),
11971 living_sleeping_position: Default::default(),
11972 entity: Default::default(),
11973 entity_flags: Default::default(),
11974 entity_air: Default::default(),
11975 entity_custom_name: Default::default(),
11976 entity_name_visible: Default::default(),
11977 entity_silent: Default::default(),
11978 entity_no_gravity: Default::default(),
11979 entity_pose: Default::default(),
11980 entity_frozen_ticks: Default::default(),
11981 kind: super::EntityKind::SLIME,
11982 id: Default::default(),
11983 uuid: Default::default(),
11984 layer: Default::default(),
11985 old_layer: Default::default(),
11986 position: Default::default(),
11987 old_position: Default::default(),
11988 look: Default::default(),
11989 head_yaw: Default::default(),
11990 on_ground: Default::default(),
11991 velocity: Default::default(),
11992 statuses: Default::default(),
11993 animations: Default::default(),
11994 object_data: Default::default(),
11995 tracked_data: Default::default(),
11996 }
11997 }
11998 }
11999 #[derive(
12000 bevy_ecs :: component :: Component,
12001 PartialEq,
12002 Clone,
12003 Debug,
12004 :: derive_more :: Deref,
12005 :: derive_more :: DerefMut,
12006 )]
12007 pub struct SlimeSize(pub i32);
12008 #[allow(clippy::derivable_impls)]
12009 impl Default for SlimeSize {
12010 fn default() -> Self {
12011 Self(1i32)
12012 }
12013 }
12014 #[doc = "Marker component for `slime` entities."]
12015 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
12016 pub struct SlimeEntity;
12017}
12018#[allow(clippy::module_inception)]
12019pub mod small_fireball {
12020 #![doc = "Parent class: [`abstract_fireball`][super::abstract_fireball]."]
12021 #[doc = "The bundle of components for spawning `small_fireball` entities."]
12022 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
12023 pub struct SmallFireballEntityBundle {
12024 pub small_fireball_entity: super::small_fireball::SmallFireballEntity,
12025 pub abstract_fireball_entity: super::abstract_fireball::AbstractFireballEntity,
12026 pub abstract_fireball_item: super::abstract_fireball::Item,
12027 pub explosive_projectile_entity: super::explosive_projectile::ExplosiveProjectileEntity,
12028 pub projectile_entity: super::projectile::ProjectileEntity,
12029 pub entity: super::entity::Entity,
12030 pub entity_flags: super::entity::Flags,
12031 pub entity_air: super::entity::Air,
12032 pub entity_custom_name: super::entity::CustomName,
12033 pub entity_name_visible: super::entity::NameVisible,
12034 pub entity_silent: super::entity::Silent,
12035 pub entity_no_gravity: super::entity::NoGravity,
12036 pub entity_pose: super::entity::Pose,
12037 pub entity_frozen_ticks: super::entity::FrozenTicks,
12038 pub kind: super::EntityKind,
12039 pub id: super::EntityId,
12040 pub uuid: super::UniqueId,
12041 pub layer: super::EntityLayerId,
12042 pub old_layer: super::OldEntityLayerId,
12043 pub position: super::Position,
12044 pub old_position: super::OldPosition,
12045 pub look: super::Look,
12046 pub head_yaw: super::HeadYaw,
12047 pub on_ground: super::OnGround,
12048 pub velocity: super::Velocity,
12049 pub statuses: super::EntityStatuses,
12050 pub animations: super::EntityAnimations,
12051 pub object_data: super::ObjectData,
12052 pub tracked_data: super::tracked_data::TrackedData,
12053 }
12054 impl Default for SmallFireballEntityBundle {
12055 fn default() -> Self {
12056 Self {
12057 small_fireball_entity: Default::default(),
12058 abstract_fireball_entity: Default::default(),
12059 abstract_fireball_item: Default::default(),
12060 explosive_projectile_entity: Default::default(),
12061 projectile_entity: Default::default(),
12062 entity: Default::default(),
12063 entity_flags: Default::default(),
12064 entity_air: Default::default(),
12065 entity_custom_name: Default::default(),
12066 entity_name_visible: Default::default(),
12067 entity_silent: Default::default(),
12068 entity_no_gravity: Default::default(),
12069 entity_pose: Default::default(),
12070 entity_frozen_ticks: Default::default(),
12071 kind: super::EntityKind::SMALL_FIREBALL,
12072 id: Default::default(),
12073 uuid: Default::default(),
12074 layer: Default::default(),
12075 old_layer: Default::default(),
12076 position: Default::default(),
12077 old_position: Default::default(),
12078 look: Default::default(),
12079 head_yaw: Default::default(),
12080 on_ground: Default::default(),
12081 velocity: Default::default(),
12082 statuses: Default::default(),
12083 animations: Default::default(),
12084 object_data: Default::default(),
12085 tracked_data: Default::default(),
12086 }
12087 }
12088 }
12089 #[doc = "Marker component for `small_fireball` entities."]
12090 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
12091 pub struct SmallFireballEntity;
12092}
12093#[allow(clippy::module_inception)]
12094pub mod sniffer {
12095 #![doc = "Parent class: [`animal`][super::animal]."]
12096 #[doc = "The bundle of components for spawning `sniffer` entities."]
12097 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
12098 pub struct SnifferEntityBundle {
12099 pub sniffer_entity: super::sniffer::SnifferEntity,
12100 pub sniffer_state: super::sniffer::State,
12101 pub sniffer_finish_dig_time: super::sniffer::FinishDigTime,
12102 pub animal_entity: super::animal::AnimalEntity,
12103 pub passive_entity: super::passive::PassiveEntity,
12104 pub passive_child: super::passive::Child,
12105 pub path_aware_entity: super::path_aware::PathAwareEntity,
12106 pub mob_entity: super::mob::MobEntity,
12107 pub mob_mob_flags: super::mob::MobFlags,
12108 pub living_entity: super::living::LivingEntity,
12109 pub living_absorption: super::living::Absorption,
12110 pub living_attributes: super::attributes::EntityAttributes,
12111 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
12112 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
12113 pub living_living_flags: super::living::LivingFlags,
12114 pub living_health: super::living::Health,
12115 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
12116 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
12117 pub living_stuck_arrow_count: super::living::StuckArrowCount,
12118 pub living_stinger_count: super::living::StingerCount,
12119 pub living_sleeping_position: super::living::SleepingPosition,
12120 pub entity: super::entity::Entity,
12121 pub entity_flags: super::entity::Flags,
12122 pub entity_air: super::entity::Air,
12123 pub entity_custom_name: super::entity::CustomName,
12124 pub entity_name_visible: super::entity::NameVisible,
12125 pub entity_silent: super::entity::Silent,
12126 pub entity_no_gravity: super::entity::NoGravity,
12127 pub entity_pose: super::entity::Pose,
12128 pub entity_frozen_ticks: super::entity::FrozenTicks,
12129 pub kind: super::EntityKind,
12130 pub id: super::EntityId,
12131 pub uuid: super::UniqueId,
12132 pub layer: super::EntityLayerId,
12133 pub old_layer: super::OldEntityLayerId,
12134 pub position: super::Position,
12135 pub old_position: super::OldPosition,
12136 pub look: super::Look,
12137 pub head_yaw: super::HeadYaw,
12138 pub on_ground: super::OnGround,
12139 pub velocity: super::Velocity,
12140 pub statuses: super::EntityStatuses,
12141 pub animations: super::EntityAnimations,
12142 pub object_data: super::ObjectData,
12143 pub tracked_data: super::tracked_data::TrackedData,
12144 }
12145 impl Default for SnifferEntityBundle {
12146 fn default() -> Self {
12147 Self {
12148 sniffer_entity: Default::default(),
12149 sniffer_state: Default::default(),
12150 sniffer_finish_dig_time: Default::default(),
12151 animal_entity: Default::default(),
12152 passive_entity: Default::default(),
12153 passive_child: Default::default(),
12154 path_aware_entity: Default::default(),
12155 mob_entity: Default::default(),
12156 mob_mob_flags: Default::default(),
12157 living_entity: Default::default(),
12158 living_absorption: Default::default(),
12159 living_attributes: super::attributes::EntityAttributes::new()
12160 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
12161 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
12162 .with_attribute_and_value(
12163 super::EntityAttribute::GenericKnockbackResistance,
12164 0f64,
12165 )
12166 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
12167 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
12168 .with_attribute_and_value(
12169 super::EntityAttribute::GenericMovementSpeed,
12170 0.10000000149011612f64,
12171 )
12172 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 14f64),
12173 living_attributes_tracker: Default::default(),
12174 living_active_status_effects: Default::default(),
12175 living_living_flags: Default::default(),
12176 living_health: Default::default(),
12177 living_potion_swirls_color: Default::default(),
12178 living_potion_swirls_ambient: Default::default(),
12179 living_stuck_arrow_count: Default::default(),
12180 living_stinger_count: Default::default(),
12181 living_sleeping_position: Default::default(),
12182 entity: Default::default(),
12183 entity_flags: Default::default(),
12184 entity_air: Default::default(),
12185 entity_custom_name: Default::default(),
12186 entity_name_visible: Default::default(),
12187 entity_silent: Default::default(),
12188 entity_no_gravity: Default::default(),
12189 entity_pose: Default::default(),
12190 entity_frozen_ticks: Default::default(),
12191 kind: super::EntityKind::SNIFFER,
12192 id: Default::default(),
12193 uuid: Default::default(),
12194 layer: Default::default(),
12195 old_layer: Default::default(),
12196 position: Default::default(),
12197 old_position: Default::default(),
12198 look: Default::default(),
12199 head_yaw: Default::default(),
12200 on_ground: Default::default(),
12201 velocity: Default::default(),
12202 statuses: Default::default(),
12203 animations: Default::default(),
12204 object_data: Default::default(),
12205 tracked_data: Default::default(),
12206 }
12207 }
12208 }
12209 #[derive(
12210 bevy_ecs :: component :: Component,
12211 PartialEq,
12212 Clone,
12213 Debug,
12214 :: derive_more :: Deref,
12215 :: derive_more :: DerefMut,
12216 )]
12217 pub struct State(pub crate::SnifferState);
12218 #[allow(clippy::derivable_impls)]
12219 impl Default for State {
12220 fn default() -> Self {
12221 Self(crate::SnifferState::Idling)
12222 }
12223 }
12224 #[derive(
12225 bevy_ecs :: component :: Component,
12226 PartialEq,
12227 Clone,
12228 Debug,
12229 :: derive_more :: Deref,
12230 :: derive_more :: DerefMut,
12231 )]
12232 pub struct FinishDigTime(pub i32);
12233 #[allow(clippy::derivable_impls)]
12234 impl Default for FinishDigTime {
12235 fn default() -> Self {
12236 Self(0i32)
12237 }
12238 }
12239 #[doc = "Marker component for `sniffer` entities."]
12240 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
12241 pub struct SnifferEntity;
12242}
12243#[allow(clippy::module_inception)]
12244pub mod snow_golem {
12245 #![doc = "Parent class: [`golem`][super::golem]."]
12246 #[doc = "The bundle of components for spawning `snow_golem` entities."]
12247 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
12248 pub struct SnowGolemEntityBundle {
12249 pub snow_golem_entity: super::snow_golem::SnowGolemEntity,
12250 pub snow_golem_snow_golem_flags: super::snow_golem::SnowGolemFlags,
12251 pub golem_entity: super::golem::GolemEntity,
12252 pub path_aware_entity: super::path_aware::PathAwareEntity,
12253 pub mob_entity: super::mob::MobEntity,
12254 pub mob_mob_flags: super::mob::MobFlags,
12255 pub living_entity: super::living::LivingEntity,
12256 pub living_absorption: super::living::Absorption,
12257 pub living_attributes: super::attributes::EntityAttributes,
12258 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
12259 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
12260 pub living_living_flags: super::living::LivingFlags,
12261 pub living_health: super::living::Health,
12262 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
12263 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
12264 pub living_stuck_arrow_count: super::living::StuckArrowCount,
12265 pub living_stinger_count: super::living::StingerCount,
12266 pub living_sleeping_position: super::living::SleepingPosition,
12267 pub entity: super::entity::Entity,
12268 pub entity_flags: super::entity::Flags,
12269 pub entity_air: super::entity::Air,
12270 pub entity_custom_name: super::entity::CustomName,
12271 pub entity_name_visible: super::entity::NameVisible,
12272 pub entity_silent: super::entity::Silent,
12273 pub entity_no_gravity: super::entity::NoGravity,
12274 pub entity_pose: super::entity::Pose,
12275 pub entity_frozen_ticks: super::entity::FrozenTicks,
12276 pub kind: super::EntityKind,
12277 pub id: super::EntityId,
12278 pub uuid: super::UniqueId,
12279 pub layer: super::EntityLayerId,
12280 pub old_layer: super::OldEntityLayerId,
12281 pub position: super::Position,
12282 pub old_position: super::OldPosition,
12283 pub look: super::Look,
12284 pub head_yaw: super::HeadYaw,
12285 pub on_ground: super::OnGround,
12286 pub velocity: super::Velocity,
12287 pub statuses: super::EntityStatuses,
12288 pub animations: super::EntityAnimations,
12289 pub object_data: super::ObjectData,
12290 pub tracked_data: super::tracked_data::TrackedData,
12291 }
12292 impl Default for SnowGolemEntityBundle {
12293 fn default() -> Self {
12294 Self {
12295 snow_golem_entity: Default::default(),
12296 snow_golem_snow_golem_flags: Default::default(),
12297 golem_entity: Default::default(),
12298 path_aware_entity: Default::default(),
12299 mob_entity: Default::default(),
12300 mob_mob_flags: Default::default(),
12301 living_entity: Default::default(),
12302 living_absorption: Default::default(),
12303 living_attributes: super::attributes::EntityAttributes::new()
12304 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
12305 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
12306 .with_attribute_and_value(
12307 super::EntityAttribute::GenericKnockbackResistance,
12308 0f64,
12309 )
12310 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
12311 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
12312 .with_attribute_and_value(
12313 super::EntityAttribute::GenericMovementSpeed,
12314 0.20000000298023224f64,
12315 )
12316 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 4f64),
12317 living_attributes_tracker: Default::default(),
12318 living_active_status_effects: Default::default(),
12319 living_living_flags: Default::default(),
12320 living_health: Default::default(),
12321 living_potion_swirls_color: Default::default(),
12322 living_potion_swirls_ambient: Default::default(),
12323 living_stuck_arrow_count: Default::default(),
12324 living_stinger_count: Default::default(),
12325 living_sleeping_position: Default::default(),
12326 entity: Default::default(),
12327 entity_flags: Default::default(),
12328 entity_air: Default::default(),
12329 entity_custom_name: Default::default(),
12330 entity_name_visible: Default::default(),
12331 entity_silent: Default::default(),
12332 entity_no_gravity: Default::default(),
12333 entity_pose: Default::default(),
12334 entity_frozen_ticks: Default::default(),
12335 kind: super::EntityKind::SNOW_GOLEM,
12336 id: Default::default(),
12337 uuid: Default::default(),
12338 layer: Default::default(),
12339 old_layer: Default::default(),
12340 position: Default::default(),
12341 old_position: Default::default(),
12342 look: Default::default(),
12343 head_yaw: Default::default(),
12344 on_ground: Default::default(),
12345 velocity: Default::default(),
12346 statuses: Default::default(),
12347 animations: Default::default(),
12348 object_data: Default::default(),
12349 tracked_data: Default::default(),
12350 }
12351 }
12352 }
12353 #[derive(
12354 bevy_ecs :: component :: Component,
12355 PartialEq,
12356 Clone,
12357 Debug,
12358 :: derive_more :: Deref,
12359 :: derive_more :: DerefMut,
12360 )]
12361 pub struct SnowGolemFlags(pub i8);
12362 #[allow(clippy::derivable_impls)]
12363 impl Default for SnowGolemFlags {
12364 fn default() -> Self {
12365 Self(16i8)
12366 }
12367 }
12368 #[doc = "Marker component for `snow_golem` entities."]
12369 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
12370 pub struct SnowGolemEntity;
12371}
12372#[allow(clippy::module_inception)]
12373pub mod snowball {
12374 #![doc = "Parent class: [`thrown_item`][super::thrown_item]."]
12375 #[doc = "The bundle of components for spawning `snowball` entities."]
12376 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
12377 pub struct SnowballEntityBundle {
12378 pub snowball_entity: super::snowball::SnowballEntity,
12379 pub thrown_item_entity: super::thrown_item::ThrownItemEntity,
12380 pub thrown_item_item: super::thrown_item::Item,
12381 pub thrown_entity: super::thrown::ThrownEntity,
12382 pub projectile_entity: super::projectile::ProjectileEntity,
12383 pub entity: super::entity::Entity,
12384 pub entity_flags: super::entity::Flags,
12385 pub entity_air: super::entity::Air,
12386 pub entity_custom_name: super::entity::CustomName,
12387 pub entity_name_visible: super::entity::NameVisible,
12388 pub entity_silent: super::entity::Silent,
12389 pub entity_no_gravity: super::entity::NoGravity,
12390 pub entity_pose: super::entity::Pose,
12391 pub entity_frozen_ticks: super::entity::FrozenTicks,
12392 pub kind: super::EntityKind,
12393 pub id: super::EntityId,
12394 pub uuid: super::UniqueId,
12395 pub layer: super::EntityLayerId,
12396 pub old_layer: super::OldEntityLayerId,
12397 pub position: super::Position,
12398 pub old_position: super::OldPosition,
12399 pub look: super::Look,
12400 pub head_yaw: super::HeadYaw,
12401 pub on_ground: super::OnGround,
12402 pub velocity: super::Velocity,
12403 pub statuses: super::EntityStatuses,
12404 pub animations: super::EntityAnimations,
12405 pub object_data: super::ObjectData,
12406 pub tracked_data: super::tracked_data::TrackedData,
12407 }
12408 impl Default for SnowballEntityBundle {
12409 fn default() -> Self {
12410 Self {
12411 snowball_entity: Default::default(),
12412 thrown_item_entity: Default::default(),
12413 thrown_item_item: Default::default(),
12414 thrown_entity: Default::default(),
12415 projectile_entity: Default::default(),
12416 entity: Default::default(),
12417 entity_flags: Default::default(),
12418 entity_air: Default::default(),
12419 entity_custom_name: Default::default(),
12420 entity_name_visible: Default::default(),
12421 entity_silent: Default::default(),
12422 entity_no_gravity: Default::default(),
12423 entity_pose: Default::default(),
12424 entity_frozen_ticks: Default::default(),
12425 kind: super::EntityKind::SNOWBALL,
12426 id: Default::default(),
12427 uuid: Default::default(),
12428 layer: Default::default(),
12429 old_layer: Default::default(),
12430 position: Default::default(),
12431 old_position: Default::default(),
12432 look: Default::default(),
12433 head_yaw: Default::default(),
12434 on_ground: Default::default(),
12435 velocity: Default::default(),
12436 statuses: Default::default(),
12437 animations: Default::default(),
12438 object_data: Default::default(),
12439 tracked_data: Default::default(),
12440 }
12441 }
12442 }
12443 #[doc = "Marker component for `snowball` entities."]
12444 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
12445 pub struct SnowballEntity;
12446}
12447#[allow(clippy::module_inception)]
12448pub mod spawner_minecart {
12449 #![doc = "Parent class: [`abstract_minecart`][super::abstract_minecart]."]
12450 #[doc = "The bundle of components for spawning `spawner_minecart` entities."]
12451 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
12452 pub struct SpawnerMinecartEntityBundle {
12453 pub spawner_minecart_entity: super::spawner_minecart::SpawnerMinecartEntity,
12454 pub abstract_minecart_entity: super::abstract_minecart::AbstractMinecartEntity,
12455 pub abstract_minecart_damage_wobble_ticks: super::abstract_minecart::DamageWobbleTicks,
12456 pub abstract_minecart_damage_wobble_side: super::abstract_minecart::DamageWobbleSide,
12457 pub abstract_minecart_damage_wobble_strength:
12458 super::abstract_minecart::DamageWobbleStrength,
12459 pub abstract_minecart_custom_block_id: super::abstract_minecart::CustomBlockId,
12460 pub abstract_minecart_custom_block_offset: super::abstract_minecart::CustomBlockOffset,
12461 pub abstract_minecart_custom_block_present: super::abstract_minecart::CustomBlockPresent,
12462 pub entity: super::entity::Entity,
12463 pub entity_flags: super::entity::Flags,
12464 pub entity_air: super::entity::Air,
12465 pub entity_custom_name: super::entity::CustomName,
12466 pub entity_name_visible: super::entity::NameVisible,
12467 pub entity_silent: super::entity::Silent,
12468 pub entity_no_gravity: super::entity::NoGravity,
12469 pub entity_pose: super::entity::Pose,
12470 pub entity_frozen_ticks: super::entity::FrozenTicks,
12471 pub kind: super::EntityKind,
12472 pub id: super::EntityId,
12473 pub uuid: super::UniqueId,
12474 pub layer: super::EntityLayerId,
12475 pub old_layer: super::OldEntityLayerId,
12476 pub position: super::Position,
12477 pub old_position: super::OldPosition,
12478 pub look: super::Look,
12479 pub head_yaw: super::HeadYaw,
12480 pub on_ground: super::OnGround,
12481 pub velocity: super::Velocity,
12482 pub statuses: super::EntityStatuses,
12483 pub animations: super::EntityAnimations,
12484 pub object_data: super::ObjectData,
12485 pub tracked_data: super::tracked_data::TrackedData,
12486 }
12487 impl Default for SpawnerMinecartEntityBundle {
12488 fn default() -> Self {
12489 Self {
12490 spawner_minecart_entity: Default::default(),
12491 abstract_minecart_entity: Default::default(),
12492 abstract_minecart_damage_wobble_ticks: Default::default(),
12493 abstract_minecart_damage_wobble_side: Default::default(),
12494 abstract_minecart_damage_wobble_strength: Default::default(),
12495 abstract_minecart_custom_block_id: Default::default(),
12496 abstract_minecart_custom_block_offset: Default::default(),
12497 abstract_minecart_custom_block_present: Default::default(),
12498 entity: Default::default(),
12499 entity_flags: Default::default(),
12500 entity_air: Default::default(),
12501 entity_custom_name: Default::default(),
12502 entity_name_visible: Default::default(),
12503 entity_silent: Default::default(),
12504 entity_no_gravity: Default::default(),
12505 entity_pose: Default::default(),
12506 entity_frozen_ticks: Default::default(),
12507 kind: super::EntityKind::SPAWNER_MINECART,
12508 id: Default::default(),
12509 uuid: Default::default(),
12510 layer: Default::default(),
12511 old_layer: Default::default(),
12512 position: Default::default(),
12513 old_position: Default::default(),
12514 look: Default::default(),
12515 head_yaw: Default::default(),
12516 on_ground: Default::default(),
12517 velocity: Default::default(),
12518 statuses: Default::default(),
12519 animations: Default::default(),
12520 object_data: Default::default(),
12521 tracked_data: Default::default(),
12522 }
12523 }
12524 }
12525 #[doc = "Marker component for `spawner_minecart` entities."]
12526 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
12527 pub struct SpawnerMinecartEntity;
12528}
12529#[allow(clippy::module_inception)]
12530pub mod spectral_arrow {
12531 #![doc = "Parent class: [`persistent_projectile`][super::persistent_projectile]."]
12532 #[doc = "The bundle of components for spawning `spectral_arrow` entities."]
12533 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
12534 pub struct SpectralArrowEntityBundle {
12535 pub spectral_arrow_entity: super::spectral_arrow::SpectralArrowEntity,
12536 pub persistent_projectile_entity: super::persistent_projectile::PersistentProjectileEntity,
12537 pub persistent_projectile_projectile_flags: super::persistent_projectile::ProjectileFlags,
12538 pub persistent_projectile_pierce_level: super::persistent_projectile::PierceLevel,
12539 pub projectile_entity: super::projectile::ProjectileEntity,
12540 pub entity: super::entity::Entity,
12541 pub entity_flags: super::entity::Flags,
12542 pub entity_air: super::entity::Air,
12543 pub entity_custom_name: super::entity::CustomName,
12544 pub entity_name_visible: super::entity::NameVisible,
12545 pub entity_silent: super::entity::Silent,
12546 pub entity_no_gravity: super::entity::NoGravity,
12547 pub entity_pose: super::entity::Pose,
12548 pub entity_frozen_ticks: super::entity::FrozenTicks,
12549 pub kind: super::EntityKind,
12550 pub id: super::EntityId,
12551 pub uuid: super::UniqueId,
12552 pub layer: super::EntityLayerId,
12553 pub old_layer: super::OldEntityLayerId,
12554 pub position: super::Position,
12555 pub old_position: super::OldPosition,
12556 pub look: super::Look,
12557 pub head_yaw: super::HeadYaw,
12558 pub on_ground: super::OnGround,
12559 pub velocity: super::Velocity,
12560 pub statuses: super::EntityStatuses,
12561 pub animations: super::EntityAnimations,
12562 pub object_data: super::ObjectData,
12563 pub tracked_data: super::tracked_data::TrackedData,
12564 }
12565 impl Default for SpectralArrowEntityBundle {
12566 fn default() -> Self {
12567 Self {
12568 spectral_arrow_entity: Default::default(),
12569 persistent_projectile_entity: Default::default(),
12570 persistent_projectile_projectile_flags: Default::default(),
12571 persistent_projectile_pierce_level: Default::default(),
12572 projectile_entity: Default::default(),
12573 entity: Default::default(),
12574 entity_flags: Default::default(),
12575 entity_air: Default::default(),
12576 entity_custom_name: Default::default(),
12577 entity_name_visible: Default::default(),
12578 entity_silent: Default::default(),
12579 entity_no_gravity: Default::default(),
12580 entity_pose: Default::default(),
12581 entity_frozen_ticks: Default::default(),
12582 kind: super::EntityKind::SPECTRAL_ARROW,
12583 id: Default::default(),
12584 uuid: Default::default(),
12585 layer: Default::default(),
12586 old_layer: Default::default(),
12587 position: Default::default(),
12588 old_position: Default::default(),
12589 look: Default::default(),
12590 head_yaw: Default::default(),
12591 on_ground: Default::default(),
12592 velocity: Default::default(),
12593 statuses: Default::default(),
12594 animations: Default::default(),
12595 object_data: Default::default(),
12596 tracked_data: Default::default(),
12597 }
12598 }
12599 }
12600 #[doc = "Marker component for `spectral_arrow` entities."]
12601 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
12602 pub struct SpectralArrowEntity;
12603}
12604#[allow(clippy::module_inception)]
12605pub mod spellcasting_illager {
12606 #![doc = "Parent class: [`illager`][super::illager]."]
12607 #[derive(
12608 bevy_ecs :: component :: Component,
12609 PartialEq,
12610 Clone,
12611 Debug,
12612 :: derive_more :: Deref,
12613 :: derive_more :: DerefMut,
12614 )]
12615 pub struct Spell(pub i8);
12616 #[allow(clippy::derivable_impls)]
12617 impl Default for Spell {
12618 fn default() -> Self {
12619 Self(0i8)
12620 }
12621 }
12622 #[doc = "Marker component for `spellcasting_illager` entities."]
12623 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
12624 pub struct SpellcastingIllagerEntity;
12625}
12626#[allow(clippy::module_inception)]
12627pub mod spider {
12628 #![doc = "Parent class: [`hostile`][super::hostile]."]
12629 #[doc = "The bundle of components for spawning `spider` entities."]
12630 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
12631 pub struct SpiderEntityBundle {
12632 pub spider_entity: super::spider::SpiderEntity,
12633 pub spider_spider_flags: super::spider::SpiderFlags,
12634 pub hostile_entity: super::hostile::HostileEntity,
12635 pub path_aware_entity: super::path_aware::PathAwareEntity,
12636 pub mob_entity: super::mob::MobEntity,
12637 pub mob_mob_flags: super::mob::MobFlags,
12638 pub living_entity: super::living::LivingEntity,
12639 pub living_absorption: super::living::Absorption,
12640 pub living_attributes: super::attributes::EntityAttributes,
12641 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
12642 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
12643 pub living_living_flags: super::living::LivingFlags,
12644 pub living_health: super::living::Health,
12645 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
12646 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
12647 pub living_stuck_arrow_count: super::living::StuckArrowCount,
12648 pub living_stinger_count: super::living::StingerCount,
12649 pub living_sleeping_position: super::living::SleepingPosition,
12650 pub entity: super::entity::Entity,
12651 pub entity_flags: super::entity::Flags,
12652 pub entity_air: super::entity::Air,
12653 pub entity_custom_name: super::entity::CustomName,
12654 pub entity_name_visible: super::entity::NameVisible,
12655 pub entity_silent: super::entity::Silent,
12656 pub entity_no_gravity: super::entity::NoGravity,
12657 pub entity_pose: super::entity::Pose,
12658 pub entity_frozen_ticks: super::entity::FrozenTicks,
12659 pub kind: super::EntityKind,
12660 pub id: super::EntityId,
12661 pub uuid: super::UniqueId,
12662 pub layer: super::EntityLayerId,
12663 pub old_layer: super::OldEntityLayerId,
12664 pub position: super::Position,
12665 pub old_position: super::OldPosition,
12666 pub look: super::Look,
12667 pub head_yaw: super::HeadYaw,
12668 pub on_ground: super::OnGround,
12669 pub velocity: super::Velocity,
12670 pub statuses: super::EntityStatuses,
12671 pub animations: super::EntityAnimations,
12672 pub object_data: super::ObjectData,
12673 pub tracked_data: super::tracked_data::TrackedData,
12674 }
12675 impl Default for SpiderEntityBundle {
12676 fn default() -> Self {
12677 Self {
12678 spider_entity: Default::default(),
12679 spider_spider_flags: Default::default(),
12680 hostile_entity: Default::default(),
12681 path_aware_entity: Default::default(),
12682 mob_entity: Default::default(),
12683 mob_mob_flags: Default::default(),
12684 living_entity: Default::default(),
12685 living_absorption: Default::default(),
12686 living_attributes: super::attributes::EntityAttributes::new()
12687 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
12688 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
12689 .with_attribute_and_value(
12690 super::EntityAttribute::GenericKnockbackResistance,
12691 0f64,
12692 )
12693 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
12694 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 2f64)
12695 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
12696 .with_attribute_and_value(
12697 super::EntityAttribute::GenericMovementSpeed,
12698 0.30000001192092896f64,
12699 )
12700 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 16f64),
12701 living_attributes_tracker: Default::default(),
12702 living_active_status_effects: Default::default(),
12703 living_living_flags: Default::default(),
12704 living_health: Default::default(),
12705 living_potion_swirls_color: Default::default(),
12706 living_potion_swirls_ambient: Default::default(),
12707 living_stuck_arrow_count: Default::default(),
12708 living_stinger_count: Default::default(),
12709 living_sleeping_position: Default::default(),
12710 entity: Default::default(),
12711 entity_flags: Default::default(),
12712 entity_air: Default::default(),
12713 entity_custom_name: Default::default(),
12714 entity_name_visible: Default::default(),
12715 entity_silent: Default::default(),
12716 entity_no_gravity: Default::default(),
12717 entity_pose: Default::default(),
12718 entity_frozen_ticks: Default::default(),
12719 kind: super::EntityKind::SPIDER,
12720 id: Default::default(),
12721 uuid: Default::default(),
12722 layer: Default::default(),
12723 old_layer: Default::default(),
12724 position: Default::default(),
12725 old_position: Default::default(),
12726 look: Default::default(),
12727 head_yaw: Default::default(),
12728 on_ground: Default::default(),
12729 velocity: Default::default(),
12730 statuses: Default::default(),
12731 animations: Default::default(),
12732 object_data: Default::default(),
12733 tracked_data: Default::default(),
12734 }
12735 }
12736 }
12737 #[derive(
12738 bevy_ecs :: component :: Component,
12739 PartialEq,
12740 Clone,
12741 Debug,
12742 :: derive_more :: Deref,
12743 :: derive_more :: DerefMut,
12744 )]
12745 pub struct SpiderFlags(pub i8);
12746 #[allow(clippy::derivable_impls)]
12747 impl Default for SpiderFlags {
12748 fn default() -> Self {
12749 Self(0i8)
12750 }
12751 }
12752 #[doc = "Marker component for `spider` entities."]
12753 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
12754 pub struct SpiderEntity;
12755}
12756#[allow(clippy::module_inception)]
12757pub mod squid {
12758 #![doc = "Parent class: [`water_creature`][super::water_creature]."]
12759 #[doc = "The bundle of components for spawning `squid` entities."]
12760 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
12761 pub struct SquidEntityBundle {
12762 pub squid_entity: super::squid::SquidEntity,
12763 pub water_creature_entity: super::water_creature::WaterCreatureEntity,
12764 pub path_aware_entity: super::path_aware::PathAwareEntity,
12765 pub mob_entity: super::mob::MobEntity,
12766 pub mob_mob_flags: super::mob::MobFlags,
12767 pub living_entity: super::living::LivingEntity,
12768 pub living_absorption: super::living::Absorption,
12769 pub living_attributes: super::attributes::EntityAttributes,
12770 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
12771 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
12772 pub living_living_flags: super::living::LivingFlags,
12773 pub living_health: super::living::Health,
12774 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
12775 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
12776 pub living_stuck_arrow_count: super::living::StuckArrowCount,
12777 pub living_stinger_count: super::living::StingerCount,
12778 pub living_sleeping_position: super::living::SleepingPosition,
12779 pub entity: super::entity::Entity,
12780 pub entity_flags: super::entity::Flags,
12781 pub entity_air: super::entity::Air,
12782 pub entity_custom_name: super::entity::CustomName,
12783 pub entity_name_visible: super::entity::NameVisible,
12784 pub entity_silent: super::entity::Silent,
12785 pub entity_no_gravity: super::entity::NoGravity,
12786 pub entity_pose: super::entity::Pose,
12787 pub entity_frozen_ticks: super::entity::FrozenTicks,
12788 pub kind: super::EntityKind,
12789 pub id: super::EntityId,
12790 pub uuid: super::UniqueId,
12791 pub layer: super::EntityLayerId,
12792 pub old_layer: super::OldEntityLayerId,
12793 pub position: super::Position,
12794 pub old_position: super::OldPosition,
12795 pub look: super::Look,
12796 pub head_yaw: super::HeadYaw,
12797 pub on_ground: super::OnGround,
12798 pub velocity: super::Velocity,
12799 pub statuses: super::EntityStatuses,
12800 pub animations: super::EntityAnimations,
12801 pub object_data: super::ObjectData,
12802 pub tracked_data: super::tracked_data::TrackedData,
12803 }
12804 impl Default for SquidEntityBundle {
12805 fn default() -> Self {
12806 Self {
12807 squid_entity: Default::default(),
12808 water_creature_entity: Default::default(),
12809 path_aware_entity: Default::default(),
12810 mob_entity: Default::default(),
12811 mob_mob_flags: Default::default(),
12812 living_entity: Default::default(),
12813 living_absorption: Default::default(),
12814 living_attributes: super::attributes::EntityAttributes::new()
12815 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
12816 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
12817 .with_attribute_and_value(
12818 super::EntityAttribute::GenericKnockbackResistance,
12819 0f64,
12820 )
12821 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
12822 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
12823 .with_attribute_and_value(
12824 super::EntityAttribute::GenericMovementSpeed,
12825 0.699999988079071f64,
12826 )
12827 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 10f64),
12828 living_attributes_tracker: Default::default(),
12829 living_active_status_effects: Default::default(),
12830 living_living_flags: Default::default(),
12831 living_health: Default::default(),
12832 living_potion_swirls_color: Default::default(),
12833 living_potion_swirls_ambient: Default::default(),
12834 living_stuck_arrow_count: Default::default(),
12835 living_stinger_count: Default::default(),
12836 living_sleeping_position: Default::default(),
12837 entity: Default::default(),
12838 entity_flags: Default::default(),
12839 entity_air: Default::default(),
12840 entity_custom_name: Default::default(),
12841 entity_name_visible: Default::default(),
12842 entity_silent: Default::default(),
12843 entity_no_gravity: Default::default(),
12844 entity_pose: Default::default(),
12845 entity_frozen_ticks: Default::default(),
12846 kind: super::EntityKind::SQUID,
12847 id: Default::default(),
12848 uuid: Default::default(),
12849 layer: Default::default(),
12850 old_layer: Default::default(),
12851 position: Default::default(),
12852 old_position: Default::default(),
12853 look: Default::default(),
12854 head_yaw: Default::default(),
12855 on_ground: Default::default(),
12856 velocity: Default::default(),
12857 statuses: Default::default(),
12858 animations: Default::default(),
12859 object_data: Default::default(),
12860 tracked_data: Default::default(),
12861 }
12862 }
12863 }
12864 #[doc = "Marker component for `squid` entities."]
12865 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
12866 pub struct SquidEntity;
12867}
12868#[allow(clippy::module_inception)]
12869pub mod storage_minecart {
12870 #![doc = "Parent class: [`abstract_minecart`][super::abstract_minecart]."]
12871 #[doc = "Marker component for `storage_minecart` entities."]
12872 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
12873 pub struct StorageMinecartEntity;
12874}
12875#[allow(clippy::module_inception)]
12876pub mod stray {
12877 #![doc = "Parent class: [`abstract_skeleton`][super::abstract_skeleton]."]
12878 #[doc = "The bundle of components for spawning `stray` entities."]
12879 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
12880 pub struct StrayEntityBundle {
12881 pub stray_entity: super::stray::StrayEntity,
12882 pub abstract_skeleton_entity: super::abstract_skeleton::AbstractSkeletonEntity,
12883 pub hostile_entity: super::hostile::HostileEntity,
12884 pub path_aware_entity: super::path_aware::PathAwareEntity,
12885 pub mob_entity: super::mob::MobEntity,
12886 pub mob_mob_flags: super::mob::MobFlags,
12887 pub living_entity: super::living::LivingEntity,
12888 pub living_absorption: super::living::Absorption,
12889 pub living_attributes: super::attributes::EntityAttributes,
12890 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
12891 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
12892 pub living_living_flags: super::living::LivingFlags,
12893 pub living_health: super::living::Health,
12894 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
12895 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
12896 pub living_stuck_arrow_count: super::living::StuckArrowCount,
12897 pub living_stinger_count: super::living::StingerCount,
12898 pub living_sleeping_position: super::living::SleepingPosition,
12899 pub entity: super::entity::Entity,
12900 pub entity_flags: super::entity::Flags,
12901 pub entity_air: super::entity::Air,
12902 pub entity_custom_name: super::entity::CustomName,
12903 pub entity_name_visible: super::entity::NameVisible,
12904 pub entity_silent: super::entity::Silent,
12905 pub entity_no_gravity: super::entity::NoGravity,
12906 pub entity_pose: super::entity::Pose,
12907 pub entity_frozen_ticks: super::entity::FrozenTicks,
12908 pub kind: super::EntityKind,
12909 pub id: super::EntityId,
12910 pub uuid: super::UniqueId,
12911 pub layer: super::EntityLayerId,
12912 pub old_layer: super::OldEntityLayerId,
12913 pub position: super::Position,
12914 pub old_position: super::OldPosition,
12915 pub look: super::Look,
12916 pub head_yaw: super::HeadYaw,
12917 pub on_ground: super::OnGround,
12918 pub velocity: super::Velocity,
12919 pub statuses: super::EntityStatuses,
12920 pub animations: super::EntityAnimations,
12921 pub object_data: super::ObjectData,
12922 pub tracked_data: super::tracked_data::TrackedData,
12923 }
12924 impl Default for StrayEntityBundle {
12925 fn default() -> Self {
12926 Self {
12927 stray_entity: Default::default(),
12928 abstract_skeleton_entity: Default::default(),
12929 hostile_entity: Default::default(),
12930 path_aware_entity: Default::default(),
12931 mob_entity: Default::default(),
12932 mob_mob_flags: Default::default(),
12933 living_entity: Default::default(),
12934 living_absorption: Default::default(),
12935 living_attributes: super::attributes::EntityAttributes::new()
12936 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
12937 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
12938 .with_attribute_and_value(
12939 super::EntityAttribute::GenericKnockbackResistance,
12940 0f64,
12941 )
12942 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
12943 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 2f64)
12944 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
12945 .with_attribute_and_value(super::EntityAttribute::GenericMovementSpeed, 0.25f64)
12946 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 20f64),
12947 living_attributes_tracker: Default::default(),
12948 living_active_status_effects: Default::default(),
12949 living_living_flags: Default::default(),
12950 living_health: Default::default(),
12951 living_potion_swirls_color: Default::default(),
12952 living_potion_swirls_ambient: Default::default(),
12953 living_stuck_arrow_count: Default::default(),
12954 living_stinger_count: Default::default(),
12955 living_sleeping_position: Default::default(),
12956 entity: Default::default(),
12957 entity_flags: Default::default(),
12958 entity_air: Default::default(),
12959 entity_custom_name: Default::default(),
12960 entity_name_visible: Default::default(),
12961 entity_silent: Default::default(),
12962 entity_no_gravity: Default::default(),
12963 entity_pose: Default::default(),
12964 entity_frozen_ticks: Default::default(),
12965 kind: super::EntityKind::STRAY,
12966 id: Default::default(),
12967 uuid: Default::default(),
12968 layer: Default::default(),
12969 old_layer: Default::default(),
12970 position: Default::default(),
12971 old_position: Default::default(),
12972 look: Default::default(),
12973 head_yaw: Default::default(),
12974 on_ground: Default::default(),
12975 velocity: Default::default(),
12976 statuses: Default::default(),
12977 animations: Default::default(),
12978 object_data: Default::default(),
12979 tracked_data: Default::default(),
12980 }
12981 }
12982 }
12983 #[doc = "Marker component for `stray` entities."]
12984 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
12985 pub struct StrayEntity;
12986}
12987#[allow(clippy::module_inception)]
12988pub mod strider {
12989 #![doc = "Parent class: [`animal`][super::animal]."]
12990 #[doc = "The bundle of components for spawning `strider` entities."]
12991 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
12992 pub struct StriderEntityBundle {
12993 pub strider_entity: super::strider::StriderEntity,
12994 pub strider_boost_time: super::strider::BoostTime,
12995 pub strider_cold: super::strider::Cold,
12996 pub strider_saddled: super::strider::Saddled,
12997 pub animal_entity: super::animal::AnimalEntity,
12998 pub passive_entity: super::passive::PassiveEntity,
12999 pub passive_child: super::passive::Child,
13000 pub path_aware_entity: super::path_aware::PathAwareEntity,
13001 pub mob_entity: super::mob::MobEntity,
13002 pub mob_mob_flags: super::mob::MobFlags,
13003 pub living_entity: super::living::LivingEntity,
13004 pub living_absorption: super::living::Absorption,
13005 pub living_attributes: super::attributes::EntityAttributes,
13006 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
13007 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
13008 pub living_living_flags: super::living::LivingFlags,
13009 pub living_health: super::living::Health,
13010 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
13011 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
13012 pub living_stuck_arrow_count: super::living::StuckArrowCount,
13013 pub living_stinger_count: super::living::StingerCount,
13014 pub living_sleeping_position: super::living::SleepingPosition,
13015 pub entity: super::entity::Entity,
13016 pub entity_flags: super::entity::Flags,
13017 pub entity_air: super::entity::Air,
13018 pub entity_custom_name: super::entity::CustomName,
13019 pub entity_name_visible: super::entity::NameVisible,
13020 pub entity_silent: super::entity::Silent,
13021 pub entity_no_gravity: super::entity::NoGravity,
13022 pub entity_pose: super::entity::Pose,
13023 pub entity_frozen_ticks: super::entity::FrozenTicks,
13024 pub kind: super::EntityKind,
13025 pub id: super::EntityId,
13026 pub uuid: super::UniqueId,
13027 pub layer: super::EntityLayerId,
13028 pub old_layer: super::OldEntityLayerId,
13029 pub position: super::Position,
13030 pub old_position: super::OldPosition,
13031 pub look: super::Look,
13032 pub head_yaw: super::HeadYaw,
13033 pub on_ground: super::OnGround,
13034 pub velocity: super::Velocity,
13035 pub statuses: super::EntityStatuses,
13036 pub animations: super::EntityAnimations,
13037 pub object_data: super::ObjectData,
13038 pub tracked_data: super::tracked_data::TrackedData,
13039 }
13040 impl Default for StriderEntityBundle {
13041 fn default() -> Self {
13042 Self {
13043 strider_entity: Default::default(),
13044 strider_boost_time: Default::default(),
13045 strider_cold: Default::default(),
13046 strider_saddled: Default::default(),
13047 animal_entity: Default::default(),
13048 passive_entity: Default::default(),
13049 passive_child: Default::default(),
13050 path_aware_entity: Default::default(),
13051 mob_entity: Default::default(),
13052 mob_mob_flags: Default::default(),
13053 living_entity: Default::default(),
13054 living_absorption: Default::default(),
13055 living_attributes: super::attributes::EntityAttributes::new()
13056 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
13057 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
13058 .with_attribute_and_value(
13059 super::EntityAttribute::GenericKnockbackResistance,
13060 0f64,
13061 )
13062 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
13063 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
13064 .with_attribute_and_value(
13065 super::EntityAttribute::GenericMovementSpeed,
13066 0.17499999701976776f64,
13067 )
13068 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 20f64),
13069 living_attributes_tracker: Default::default(),
13070 living_active_status_effects: Default::default(),
13071 living_living_flags: Default::default(),
13072 living_health: Default::default(),
13073 living_potion_swirls_color: Default::default(),
13074 living_potion_swirls_ambient: Default::default(),
13075 living_stuck_arrow_count: Default::default(),
13076 living_stinger_count: Default::default(),
13077 living_sleeping_position: Default::default(),
13078 entity: Default::default(),
13079 entity_flags: Default::default(),
13080 entity_air: Default::default(),
13081 entity_custom_name: Default::default(),
13082 entity_name_visible: Default::default(),
13083 entity_silent: Default::default(),
13084 entity_no_gravity: Default::default(),
13085 entity_pose: Default::default(),
13086 entity_frozen_ticks: Default::default(),
13087 kind: super::EntityKind::STRIDER,
13088 id: Default::default(),
13089 uuid: Default::default(),
13090 layer: Default::default(),
13091 old_layer: Default::default(),
13092 position: Default::default(),
13093 old_position: Default::default(),
13094 look: Default::default(),
13095 head_yaw: Default::default(),
13096 on_ground: Default::default(),
13097 velocity: Default::default(),
13098 statuses: Default::default(),
13099 animations: Default::default(),
13100 object_data: Default::default(),
13101 tracked_data: Default::default(),
13102 }
13103 }
13104 }
13105 #[derive(
13106 bevy_ecs :: component :: Component,
13107 PartialEq,
13108 Clone,
13109 Debug,
13110 :: derive_more :: Deref,
13111 :: derive_more :: DerefMut,
13112 )]
13113 pub struct BoostTime(pub i32);
13114 #[allow(clippy::derivable_impls)]
13115 impl Default for BoostTime {
13116 fn default() -> Self {
13117 Self(0i32)
13118 }
13119 }
13120 #[derive(
13121 bevy_ecs :: component :: Component,
13122 PartialEq,
13123 Clone,
13124 Debug,
13125 :: derive_more :: Deref,
13126 :: derive_more :: DerefMut,
13127 )]
13128 pub struct Cold(pub bool);
13129 #[allow(clippy::derivable_impls)]
13130 impl Default for Cold {
13131 fn default() -> Self {
13132 Self(false)
13133 }
13134 }
13135 #[derive(
13136 bevy_ecs :: component :: Component,
13137 PartialEq,
13138 Clone,
13139 Debug,
13140 :: derive_more :: Deref,
13141 :: derive_more :: DerefMut,
13142 )]
13143 pub struct Saddled(pub bool);
13144 #[allow(clippy::derivable_impls)]
13145 impl Default for Saddled {
13146 fn default() -> Self {
13147 Self(false)
13148 }
13149 }
13150 #[doc = "Marker component for `strider` entities."]
13151 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
13152 pub struct StriderEntity;
13153}
13154#[allow(clippy::module_inception)]
13155pub mod tadpole {
13156 #![doc = "Parent class: [`fish`][super::fish]."]
13157 #[doc = "The bundle of components for spawning `tadpole` entities."]
13158 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
13159 pub struct TadpoleEntityBundle {
13160 pub tadpole_entity: super::tadpole::TadpoleEntity,
13161 pub fish_entity: super::fish::FishEntity,
13162 pub fish_from_bucket: super::fish::FromBucket,
13163 pub water_creature_entity: super::water_creature::WaterCreatureEntity,
13164 pub path_aware_entity: super::path_aware::PathAwareEntity,
13165 pub mob_entity: super::mob::MobEntity,
13166 pub mob_mob_flags: super::mob::MobFlags,
13167 pub living_entity: super::living::LivingEntity,
13168 pub living_absorption: super::living::Absorption,
13169 pub living_attributes: super::attributes::EntityAttributes,
13170 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
13171 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
13172 pub living_living_flags: super::living::LivingFlags,
13173 pub living_health: super::living::Health,
13174 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
13175 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
13176 pub living_stuck_arrow_count: super::living::StuckArrowCount,
13177 pub living_stinger_count: super::living::StingerCount,
13178 pub living_sleeping_position: super::living::SleepingPosition,
13179 pub entity: super::entity::Entity,
13180 pub entity_flags: super::entity::Flags,
13181 pub entity_air: super::entity::Air,
13182 pub entity_custom_name: super::entity::CustomName,
13183 pub entity_name_visible: super::entity::NameVisible,
13184 pub entity_silent: super::entity::Silent,
13185 pub entity_no_gravity: super::entity::NoGravity,
13186 pub entity_pose: super::entity::Pose,
13187 pub entity_frozen_ticks: super::entity::FrozenTicks,
13188 pub kind: super::EntityKind,
13189 pub id: super::EntityId,
13190 pub uuid: super::UniqueId,
13191 pub layer: super::EntityLayerId,
13192 pub old_layer: super::OldEntityLayerId,
13193 pub position: super::Position,
13194 pub old_position: super::OldPosition,
13195 pub look: super::Look,
13196 pub head_yaw: super::HeadYaw,
13197 pub on_ground: super::OnGround,
13198 pub velocity: super::Velocity,
13199 pub statuses: super::EntityStatuses,
13200 pub animations: super::EntityAnimations,
13201 pub object_data: super::ObjectData,
13202 pub tracked_data: super::tracked_data::TrackedData,
13203 }
13204 impl Default for TadpoleEntityBundle {
13205 fn default() -> Self {
13206 Self {
13207 tadpole_entity: Default::default(),
13208 fish_entity: Default::default(),
13209 fish_from_bucket: Default::default(),
13210 water_creature_entity: Default::default(),
13211 path_aware_entity: Default::default(),
13212 mob_entity: Default::default(),
13213 mob_mob_flags: Default::default(),
13214 living_entity: Default::default(),
13215 living_absorption: Default::default(),
13216 living_attributes: super::attributes::EntityAttributes::new()
13217 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
13218 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
13219 .with_attribute_and_value(
13220 super::EntityAttribute::GenericKnockbackResistance,
13221 0f64,
13222 )
13223 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
13224 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
13225 .with_attribute_and_value(super::EntityAttribute::GenericMovementSpeed, 1f64)
13226 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 6f64),
13227 living_attributes_tracker: Default::default(),
13228 living_active_status_effects: Default::default(),
13229 living_living_flags: Default::default(),
13230 living_health: Default::default(),
13231 living_potion_swirls_color: Default::default(),
13232 living_potion_swirls_ambient: Default::default(),
13233 living_stuck_arrow_count: Default::default(),
13234 living_stinger_count: Default::default(),
13235 living_sleeping_position: Default::default(),
13236 entity: Default::default(),
13237 entity_flags: Default::default(),
13238 entity_air: Default::default(),
13239 entity_custom_name: Default::default(),
13240 entity_name_visible: Default::default(),
13241 entity_silent: Default::default(),
13242 entity_no_gravity: Default::default(),
13243 entity_pose: Default::default(),
13244 entity_frozen_ticks: Default::default(),
13245 kind: super::EntityKind::TADPOLE,
13246 id: Default::default(),
13247 uuid: Default::default(),
13248 layer: Default::default(),
13249 old_layer: Default::default(),
13250 position: Default::default(),
13251 old_position: Default::default(),
13252 look: Default::default(),
13253 head_yaw: Default::default(),
13254 on_ground: Default::default(),
13255 velocity: Default::default(),
13256 statuses: Default::default(),
13257 animations: Default::default(),
13258 object_data: Default::default(),
13259 tracked_data: Default::default(),
13260 }
13261 }
13262 }
13263 #[doc = "Marker component for `tadpole` entities."]
13264 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
13265 pub struct TadpoleEntity;
13266}
13267#[allow(clippy::module_inception)]
13268pub mod tameable {
13269 #![doc = "Parent class: [`animal`][super::animal]."]
13270 #[derive(
13271 bevy_ecs :: component :: Component,
13272 PartialEq,
13273 Clone,
13274 Debug,
13275 :: derive_more :: Deref,
13276 :: derive_more :: DerefMut,
13277 )]
13278 pub struct TameableFlags(pub i8);
13279 #[allow(clippy::derivable_impls)]
13280 impl Default for TameableFlags {
13281 fn default() -> Self {
13282 Self(0i8)
13283 }
13284 }
13285 #[derive(
13286 bevy_ecs :: component :: Component,
13287 PartialEq,
13288 Clone,
13289 Debug,
13290 :: derive_more :: Deref,
13291 :: derive_more :: DerefMut,
13292 )]
13293 pub struct OwnerUuid(pub Option<::uuid::Uuid>);
13294 #[allow(clippy::derivable_impls)]
13295 impl Default for OwnerUuid {
13296 fn default() -> Self {
13297 Self(None)
13298 }
13299 }
13300 #[doc = "Marker component for `tameable` entities."]
13301 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
13302 pub struct TameableEntity;
13303}
13304#[allow(clippy::module_inception)]
13305pub mod tameable_shoulder {
13306 #![doc = "Parent class: [`tameable`][super::tameable]."]
13307 #[doc = "Marker component for `tameable_shoulder` entities."]
13308 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
13309 pub struct TameableShoulderEntity;
13310}
13311#[allow(clippy::module_inception)]
13312pub mod text_display {
13313 #![doc = "Parent class: [`display`][super::display]."]
13314 #[doc = "The bundle of components for spawning `text_display` entities."]
13315 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
13316 pub struct TextDisplayEntityBundle {
13317 pub text_display_entity: super::text_display::TextDisplayEntity,
13318 pub text_display_text: super::text_display::Text,
13319 pub text_display_line_width: super::text_display::LineWidth,
13320 pub text_display_background: super::text_display::Background,
13321 pub text_display_text_opacity: super::text_display::TextOpacity,
13322 pub text_display_text_display_flags: super::text_display::TextDisplayFlags,
13323 pub display_entity: super::display::DisplayEntity,
13324 pub display_start_interpolation: super::display::StartInterpolation,
13325 pub display_interpolation_duration: super::display::InterpolationDuration,
13326 pub display_translation: super::display::Translation,
13327 pub display_scale: super::display::Scale,
13328 pub display_left_rotation: super::display::LeftRotation,
13329 pub display_right_rotation: super::display::RightRotation,
13330 pub display_billboard: super::display::Billboard,
13331 pub display_brightness: super::display::Brightness,
13332 pub display_view_range: super::display::ViewRange,
13333 pub display_shadow_radius: super::display::ShadowRadius,
13334 pub display_shadow_strength: super::display::ShadowStrength,
13335 pub display_width: super::display::Width,
13336 pub display_height: super::display::Height,
13337 pub display_glow_color_override: super::display::GlowColorOverride,
13338 pub entity: super::entity::Entity,
13339 pub entity_flags: super::entity::Flags,
13340 pub entity_air: super::entity::Air,
13341 pub entity_custom_name: super::entity::CustomName,
13342 pub entity_name_visible: super::entity::NameVisible,
13343 pub entity_silent: super::entity::Silent,
13344 pub entity_no_gravity: super::entity::NoGravity,
13345 pub entity_pose: super::entity::Pose,
13346 pub entity_frozen_ticks: super::entity::FrozenTicks,
13347 pub kind: super::EntityKind,
13348 pub id: super::EntityId,
13349 pub uuid: super::UniqueId,
13350 pub layer: super::EntityLayerId,
13351 pub old_layer: super::OldEntityLayerId,
13352 pub position: super::Position,
13353 pub old_position: super::OldPosition,
13354 pub look: super::Look,
13355 pub head_yaw: super::HeadYaw,
13356 pub on_ground: super::OnGround,
13357 pub velocity: super::Velocity,
13358 pub statuses: super::EntityStatuses,
13359 pub animations: super::EntityAnimations,
13360 pub object_data: super::ObjectData,
13361 pub tracked_data: super::tracked_data::TrackedData,
13362 }
13363 impl Default for TextDisplayEntityBundle {
13364 fn default() -> Self {
13365 Self {
13366 text_display_entity: Default::default(),
13367 text_display_text: Default::default(),
13368 text_display_line_width: Default::default(),
13369 text_display_background: Default::default(),
13370 text_display_text_opacity: Default::default(),
13371 text_display_text_display_flags: Default::default(),
13372 display_entity: Default::default(),
13373 display_start_interpolation: Default::default(),
13374 display_interpolation_duration: Default::default(),
13375 display_translation: Default::default(),
13376 display_scale: Default::default(),
13377 display_left_rotation: Default::default(),
13378 display_right_rotation: Default::default(),
13379 display_billboard: Default::default(),
13380 display_brightness: Default::default(),
13381 display_view_range: Default::default(),
13382 display_shadow_radius: Default::default(),
13383 display_shadow_strength: Default::default(),
13384 display_width: Default::default(),
13385 display_height: Default::default(),
13386 display_glow_color_override: Default::default(),
13387 entity: Default::default(),
13388 entity_flags: Default::default(),
13389 entity_air: Default::default(),
13390 entity_custom_name: Default::default(),
13391 entity_name_visible: Default::default(),
13392 entity_silent: Default::default(),
13393 entity_no_gravity: Default::default(),
13394 entity_pose: Default::default(),
13395 entity_frozen_ticks: Default::default(),
13396 kind: super::EntityKind::TEXT_DISPLAY,
13397 id: Default::default(),
13398 uuid: Default::default(),
13399 layer: Default::default(),
13400 old_layer: Default::default(),
13401 position: Default::default(),
13402 old_position: Default::default(),
13403 look: Default::default(),
13404 head_yaw: Default::default(),
13405 on_ground: Default::default(),
13406 velocity: Default::default(),
13407 statuses: Default::default(),
13408 animations: Default::default(),
13409 object_data: Default::default(),
13410 tracked_data: Default::default(),
13411 }
13412 }
13413 }
13414 #[derive(
13415 bevy_ecs :: component :: Component,
13416 PartialEq,
13417 Clone,
13418 Debug,
13419 :: derive_more :: Deref,
13420 :: derive_more :: DerefMut,
13421 )]
13422 pub struct Text(pub valence_protocol::Text);
13423 #[allow(clippy::derivable_impls)]
13424 impl Default for Text {
13425 fn default() -> Self {
13426 Self(valence_protocol::Text::default())
13427 }
13428 }
13429 #[derive(
13430 bevy_ecs :: component :: Component,
13431 PartialEq,
13432 Clone,
13433 Debug,
13434 :: derive_more :: Deref,
13435 :: derive_more :: DerefMut,
13436 )]
13437 pub struct LineWidth(pub i32);
13438 #[allow(clippy::derivable_impls)]
13439 impl Default for LineWidth {
13440 fn default() -> Self {
13441 Self(200i32)
13442 }
13443 }
13444 #[derive(
13445 bevy_ecs :: component :: Component,
13446 PartialEq,
13447 Clone,
13448 Debug,
13449 :: derive_more :: Deref,
13450 :: derive_more :: DerefMut,
13451 )]
13452 pub struct Background(pub i32);
13453 #[allow(clippy::derivable_impls)]
13454 impl Default for Background {
13455 fn default() -> Self {
13456 Self(1073741824i32)
13457 }
13458 }
13459 #[derive(
13460 bevy_ecs :: component :: Component,
13461 PartialEq,
13462 Clone,
13463 Debug,
13464 :: derive_more :: Deref,
13465 :: derive_more :: DerefMut,
13466 )]
13467 pub struct TextOpacity(pub i8);
13468 #[allow(clippy::derivable_impls)]
13469 impl Default for TextOpacity {
13470 fn default() -> Self {
13471 Self(-1i8)
13472 }
13473 }
13474 #[derive(
13475 bevy_ecs :: component :: Component,
13476 PartialEq,
13477 Clone,
13478 Debug,
13479 :: derive_more :: Deref,
13480 :: derive_more :: DerefMut,
13481 )]
13482 pub struct TextDisplayFlags(pub i8);
13483 #[allow(clippy::derivable_impls)]
13484 impl Default for TextDisplayFlags {
13485 fn default() -> Self {
13486 Self(0i8)
13487 }
13488 }
13489 #[doc = "Marker component for `text_display` entities."]
13490 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
13491 pub struct TextDisplayEntity;
13492}
13493#[allow(clippy::module_inception)]
13494pub mod thrown {
13495 #![doc = "Parent class: [`projectile`][super::projectile]."]
13496 #[doc = "Marker component for `thrown` entities."]
13497 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
13498 pub struct ThrownEntity;
13499}
13500#[allow(clippy::module_inception)]
13501pub mod thrown_item {
13502 #![doc = "Parent class: [`thrown`][super::thrown]."]
13503 #[derive(
13504 bevy_ecs :: component :: Component,
13505 PartialEq,
13506 Clone,
13507 Debug,
13508 :: derive_more :: Deref,
13509 :: derive_more :: DerefMut,
13510 )]
13511 pub struct Item(pub valence_protocol::ItemStack);
13512 #[allow(clippy::derivable_impls)]
13513 impl Default for Item {
13514 fn default() -> Self {
13515 Self(valence_protocol::ItemStack::default())
13516 }
13517 }
13518 #[doc = "Marker component for `thrown_item` entities."]
13519 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
13520 pub struct ThrownItemEntity;
13521}
13522#[allow(clippy::module_inception)]
13523pub mod tnt {
13524 #![doc = "Parent class: [`entity`][super::entity]."]
13525 #[doc = "The bundle of components for spawning `tnt` entities."]
13526 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
13527 pub struct TntEntityBundle {
13528 pub tnt_entity: super::tnt::TntEntity,
13529 pub tnt_fuse: super::tnt::Fuse,
13530 pub entity: super::entity::Entity,
13531 pub entity_flags: super::entity::Flags,
13532 pub entity_air: super::entity::Air,
13533 pub entity_custom_name: super::entity::CustomName,
13534 pub entity_name_visible: super::entity::NameVisible,
13535 pub entity_silent: super::entity::Silent,
13536 pub entity_no_gravity: super::entity::NoGravity,
13537 pub entity_pose: super::entity::Pose,
13538 pub entity_frozen_ticks: super::entity::FrozenTicks,
13539 pub kind: super::EntityKind,
13540 pub id: super::EntityId,
13541 pub uuid: super::UniqueId,
13542 pub layer: super::EntityLayerId,
13543 pub old_layer: super::OldEntityLayerId,
13544 pub position: super::Position,
13545 pub old_position: super::OldPosition,
13546 pub look: super::Look,
13547 pub head_yaw: super::HeadYaw,
13548 pub on_ground: super::OnGround,
13549 pub velocity: super::Velocity,
13550 pub statuses: super::EntityStatuses,
13551 pub animations: super::EntityAnimations,
13552 pub object_data: super::ObjectData,
13553 pub tracked_data: super::tracked_data::TrackedData,
13554 }
13555 impl Default for TntEntityBundle {
13556 fn default() -> Self {
13557 Self {
13558 tnt_entity: Default::default(),
13559 tnt_fuse: Default::default(),
13560 entity: Default::default(),
13561 entity_flags: Default::default(),
13562 entity_air: Default::default(),
13563 entity_custom_name: Default::default(),
13564 entity_name_visible: Default::default(),
13565 entity_silent: Default::default(),
13566 entity_no_gravity: Default::default(),
13567 entity_pose: Default::default(),
13568 entity_frozen_ticks: Default::default(),
13569 kind: super::EntityKind::TNT,
13570 id: Default::default(),
13571 uuid: Default::default(),
13572 layer: Default::default(),
13573 old_layer: Default::default(),
13574 position: Default::default(),
13575 old_position: Default::default(),
13576 look: Default::default(),
13577 head_yaw: Default::default(),
13578 on_ground: Default::default(),
13579 velocity: Default::default(),
13580 statuses: Default::default(),
13581 animations: Default::default(),
13582 object_data: Default::default(),
13583 tracked_data: Default::default(),
13584 }
13585 }
13586 }
13587 #[derive(
13588 bevy_ecs :: component :: Component,
13589 PartialEq,
13590 Clone,
13591 Debug,
13592 :: derive_more :: Deref,
13593 :: derive_more :: DerefMut,
13594 )]
13595 pub struct Fuse(pub i32);
13596 #[allow(clippy::derivable_impls)]
13597 impl Default for Fuse {
13598 fn default() -> Self {
13599 Self(80i32)
13600 }
13601 }
13602 #[doc = "Marker component for `tnt` entities."]
13603 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
13604 pub struct TntEntity;
13605}
13606#[allow(clippy::module_inception)]
13607pub mod tnt_minecart {
13608 #![doc = "Parent class: [`abstract_minecart`][super::abstract_minecart]."]
13609 #[doc = "The bundle of components for spawning `tnt_minecart` entities."]
13610 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
13611 pub struct TntMinecartEntityBundle {
13612 pub tnt_minecart_entity: super::tnt_minecart::TntMinecartEntity,
13613 pub abstract_minecart_entity: super::abstract_minecart::AbstractMinecartEntity,
13614 pub abstract_minecart_damage_wobble_ticks: super::abstract_minecart::DamageWobbleTicks,
13615 pub abstract_minecart_damage_wobble_side: super::abstract_minecart::DamageWobbleSide,
13616 pub abstract_minecart_damage_wobble_strength:
13617 super::abstract_minecart::DamageWobbleStrength,
13618 pub abstract_minecart_custom_block_id: super::abstract_minecart::CustomBlockId,
13619 pub abstract_minecart_custom_block_offset: super::abstract_minecart::CustomBlockOffset,
13620 pub abstract_minecart_custom_block_present: super::abstract_minecart::CustomBlockPresent,
13621 pub entity: super::entity::Entity,
13622 pub entity_flags: super::entity::Flags,
13623 pub entity_air: super::entity::Air,
13624 pub entity_custom_name: super::entity::CustomName,
13625 pub entity_name_visible: super::entity::NameVisible,
13626 pub entity_silent: super::entity::Silent,
13627 pub entity_no_gravity: super::entity::NoGravity,
13628 pub entity_pose: super::entity::Pose,
13629 pub entity_frozen_ticks: super::entity::FrozenTicks,
13630 pub kind: super::EntityKind,
13631 pub id: super::EntityId,
13632 pub uuid: super::UniqueId,
13633 pub layer: super::EntityLayerId,
13634 pub old_layer: super::OldEntityLayerId,
13635 pub position: super::Position,
13636 pub old_position: super::OldPosition,
13637 pub look: super::Look,
13638 pub head_yaw: super::HeadYaw,
13639 pub on_ground: super::OnGround,
13640 pub velocity: super::Velocity,
13641 pub statuses: super::EntityStatuses,
13642 pub animations: super::EntityAnimations,
13643 pub object_data: super::ObjectData,
13644 pub tracked_data: super::tracked_data::TrackedData,
13645 }
13646 impl Default for TntMinecartEntityBundle {
13647 fn default() -> Self {
13648 Self {
13649 tnt_minecart_entity: Default::default(),
13650 abstract_minecart_entity: Default::default(),
13651 abstract_minecart_damage_wobble_ticks: Default::default(),
13652 abstract_minecart_damage_wobble_side: Default::default(),
13653 abstract_minecart_damage_wobble_strength: Default::default(),
13654 abstract_minecart_custom_block_id: Default::default(),
13655 abstract_minecart_custom_block_offset: Default::default(),
13656 abstract_minecart_custom_block_present: Default::default(),
13657 entity: Default::default(),
13658 entity_flags: Default::default(),
13659 entity_air: Default::default(),
13660 entity_custom_name: Default::default(),
13661 entity_name_visible: Default::default(),
13662 entity_silent: Default::default(),
13663 entity_no_gravity: Default::default(),
13664 entity_pose: Default::default(),
13665 entity_frozen_ticks: Default::default(),
13666 kind: super::EntityKind::TNT_MINECART,
13667 id: Default::default(),
13668 uuid: Default::default(),
13669 layer: Default::default(),
13670 old_layer: Default::default(),
13671 position: Default::default(),
13672 old_position: Default::default(),
13673 look: Default::default(),
13674 head_yaw: Default::default(),
13675 on_ground: Default::default(),
13676 velocity: Default::default(),
13677 statuses: Default::default(),
13678 animations: Default::default(),
13679 object_data: Default::default(),
13680 tracked_data: Default::default(),
13681 }
13682 }
13683 }
13684 #[doc = "Marker component for `tnt_minecart` entities."]
13685 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
13686 pub struct TntMinecartEntity;
13687}
13688#[allow(clippy::module_inception)]
13689pub mod trader_llama {
13690 #![doc = "Parent class: [`llama`][super::llama]."]
13691 #[doc = "The bundle of components for spawning `trader_llama` entities."]
13692 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
13693 pub struct TraderLlamaEntityBundle {
13694 pub trader_llama_entity: super::trader_llama::TraderLlamaEntity,
13695 pub llama_entity: super::llama::LlamaEntity,
13696 pub llama_strength: super::llama::Strength,
13697 pub llama_carpet_color: super::llama::CarpetColor,
13698 pub llama_variant: super::llama::Variant,
13699 pub abstract_donkey_entity: super::abstract_donkey::AbstractDonkeyEntity,
13700 pub abstract_donkey_chest: super::abstract_donkey::Chest,
13701 pub abstract_horse_entity: super::abstract_horse::AbstractHorseEntity,
13702 pub abstract_horse_horse_flags: super::abstract_horse::HorseFlags,
13703 pub animal_entity: super::animal::AnimalEntity,
13704 pub passive_entity: super::passive::PassiveEntity,
13705 pub passive_child: super::passive::Child,
13706 pub path_aware_entity: super::path_aware::PathAwareEntity,
13707 pub mob_entity: super::mob::MobEntity,
13708 pub mob_mob_flags: super::mob::MobFlags,
13709 pub living_entity: super::living::LivingEntity,
13710 pub living_absorption: super::living::Absorption,
13711 pub living_attributes: super::attributes::EntityAttributes,
13712 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
13713 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
13714 pub living_living_flags: super::living::LivingFlags,
13715 pub living_health: super::living::Health,
13716 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
13717 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
13718 pub living_stuck_arrow_count: super::living::StuckArrowCount,
13719 pub living_stinger_count: super::living::StingerCount,
13720 pub living_sleeping_position: super::living::SleepingPosition,
13721 pub entity: super::entity::Entity,
13722 pub entity_flags: super::entity::Flags,
13723 pub entity_air: super::entity::Air,
13724 pub entity_custom_name: super::entity::CustomName,
13725 pub entity_name_visible: super::entity::NameVisible,
13726 pub entity_silent: super::entity::Silent,
13727 pub entity_no_gravity: super::entity::NoGravity,
13728 pub entity_pose: super::entity::Pose,
13729 pub entity_frozen_ticks: super::entity::FrozenTicks,
13730 pub kind: super::EntityKind,
13731 pub id: super::EntityId,
13732 pub uuid: super::UniqueId,
13733 pub layer: super::EntityLayerId,
13734 pub old_layer: super::OldEntityLayerId,
13735 pub position: super::Position,
13736 pub old_position: super::OldPosition,
13737 pub look: super::Look,
13738 pub head_yaw: super::HeadYaw,
13739 pub on_ground: super::OnGround,
13740 pub velocity: super::Velocity,
13741 pub statuses: super::EntityStatuses,
13742 pub animations: super::EntityAnimations,
13743 pub object_data: super::ObjectData,
13744 pub tracked_data: super::tracked_data::TrackedData,
13745 }
13746 impl Default for TraderLlamaEntityBundle {
13747 fn default() -> Self {
13748 Self {
13749 trader_llama_entity: Default::default(),
13750 llama_entity: Default::default(),
13751 llama_strength: Default::default(),
13752 llama_carpet_color: Default::default(),
13753 llama_variant: Default::default(),
13754 abstract_donkey_entity: Default::default(),
13755 abstract_donkey_chest: Default::default(),
13756 abstract_horse_entity: Default::default(),
13757 abstract_horse_horse_flags: Default::default(),
13758 animal_entity: Default::default(),
13759 passive_entity: Default::default(),
13760 passive_child: Default::default(),
13761 path_aware_entity: Default::default(),
13762 mob_entity: Default::default(),
13763 mob_mob_flags: Default::default(),
13764 living_entity: Default::default(),
13765 living_absorption: Default::default(),
13766 living_attributes: super::attributes::EntityAttributes::new()
13767 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
13768 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
13769 .with_attribute_and_value(
13770 super::EntityAttribute::GenericKnockbackResistance,
13771 0f64,
13772 )
13773 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
13774 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 40f64)
13775 .with_attribute_and_value(super::EntityAttribute::HorseJumpStrength, 0.5f64)
13776 .with_attribute_and_value(
13777 super::EntityAttribute::GenericMovementSpeed,
13778 0.17499999701976776f64,
13779 )
13780 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 53f64),
13781 living_attributes_tracker: Default::default(),
13782 living_active_status_effects: Default::default(),
13783 living_living_flags: Default::default(),
13784 living_health: Default::default(),
13785 living_potion_swirls_color: Default::default(),
13786 living_potion_swirls_ambient: Default::default(),
13787 living_stuck_arrow_count: Default::default(),
13788 living_stinger_count: Default::default(),
13789 living_sleeping_position: Default::default(),
13790 entity: Default::default(),
13791 entity_flags: Default::default(),
13792 entity_air: Default::default(),
13793 entity_custom_name: Default::default(),
13794 entity_name_visible: Default::default(),
13795 entity_silent: Default::default(),
13796 entity_no_gravity: Default::default(),
13797 entity_pose: Default::default(),
13798 entity_frozen_ticks: Default::default(),
13799 kind: super::EntityKind::TRADER_LLAMA,
13800 id: Default::default(),
13801 uuid: Default::default(),
13802 layer: Default::default(),
13803 old_layer: Default::default(),
13804 position: Default::default(),
13805 old_position: Default::default(),
13806 look: Default::default(),
13807 head_yaw: Default::default(),
13808 on_ground: Default::default(),
13809 velocity: Default::default(),
13810 statuses: Default::default(),
13811 animations: Default::default(),
13812 object_data: Default::default(),
13813 tracked_data: Default::default(),
13814 }
13815 }
13816 }
13817 #[doc = "Marker component for `trader_llama` entities."]
13818 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
13819 pub struct TraderLlamaEntity;
13820}
13821#[allow(clippy::module_inception)]
13822pub mod trident {
13823 #![doc = "Parent class: [`persistent_projectile`][super::persistent_projectile]."]
13824 #[doc = "The bundle of components for spawning `trident` entities."]
13825 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
13826 pub struct TridentEntityBundle {
13827 pub trident_entity: super::trident::TridentEntity,
13828 pub trident_loyalty: super::trident::Loyalty,
13829 pub trident_enchanted: super::trident::Enchanted,
13830 pub persistent_projectile_entity: super::persistent_projectile::PersistentProjectileEntity,
13831 pub persistent_projectile_projectile_flags: super::persistent_projectile::ProjectileFlags,
13832 pub persistent_projectile_pierce_level: super::persistent_projectile::PierceLevel,
13833 pub projectile_entity: super::projectile::ProjectileEntity,
13834 pub entity: super::entity::Entity,
13835 pub entity_flags: super::entity::Flags,
13836 pub entity_air: super::entity::Air,
13837 pub entity_custom_name: super::entity::CustomName,
13838 pub entity_name_visible: super::entity::NameVisible,
13839 pub entity_silent: super::entity::Silent,
13840 pub entity_no_gravity: super::entity::NoGravity,
13841 pub entity_pose: super::entity::Pose,
13842 pub entity_frozen_ticks: super::entity::FrozenTicks,
13843 pub kind: super::EntityKind,
13844 pub id: super::EntityId,
13845 pub uuid: super::UniqueId,
13846 pub layer: super::EntityLayerId,
13847 pub old_layer: super::OldEntityLayerId,
13848 pub position: super::Position,
13849 pub old_position: super::OldPosition,
13850 pub look: super::Look,
13851 pub head_yaw: super::HeadYaw,
13852 pub on_ground: super::OnGround,
13853 pub velocity: super::Velocity,
13854 pub statuses: super::EntityStatuses,
13855 pub animations: super::EntityAnimations,
13856 pub object_data: super::ObjectData,
13857 pub tracked_data: super::tracked_data::TrackedData,
13858 }
13859 impl Default for TridentEntityBundle {
13860 fn default() -> Self {
13861 Self {
13862 trident_entity: Default::default(),
13863 trident_loyalty: Default::default(),
13864 trident_enchanted: Default::default(),
13865 persistent_projectile_entity: Default::default(),
13866 persistent_projectile_projectile_flags: Default::default(),
13867 persistent_projectile_pierce_level: Default::default(),
13868 projectile_entity: Default::default(),
13869 entity: Default::default(),
13870 entity_flags: Default::default(),
13871 entity_air: Default::default(),
13872 entity_custom_name: Default::default(),
13873 entity_name_visible: Default::default(),
13874 entity_silent: Default::default(),
13875 entity_no_gravity: Default::default(),
13876 entity_pose: Default::default(),
13877 entity_frozen_ticks: Default::default(),
13878 kind: super::EntityKind::TRIDENT,
13879 id: Default::default(),
13880 uuid: Default::default(),
13881 layer: Default::default(),
13882 old_layer: Default::default(),
13883 position: Default::default(),
13884 old_position: Default::default(),
13885 look: Default::default(),
13886 head_yaw: Default::default(),
13887 on_ground: Default::default(),
13888 velocity: Default::default(),
13889 statuses: Default::default(),
13890 animations: Default::default(),
13891 object_data: Default::default(),
13892 tracked_data: Default::default(),
13893 }
13894 }
13895 }
13896 #[derive(
13897 bevy_ecs :: component :: Component,
13898 PartialEq,
13899 Clone,
13900 Debug,
13901 :: derive_more :: Deref,
13902 :: derive_more :: DerefMut,
13903 )]
13904 pub struct Loyalty(pub i8);
13905 #[allow(clippy::derivable_impls)]
13906 impl Default for Loyalty {
13907 fn default() -> Self {
13908 Self(0i8)
13909 }
13910 }
13911 #[derive(
13912 bevy_ecs :: component :: Component,
13913 PartialEq,
13914 Clone,
13915 Debug,
13916 :: derive_more :: Deref,
13917 :: derive_more :: DerefMut,
13918 )]
13919 pub struct Enchanted(pub bool);
13920 #[allow(clippy::derivable_impls)]
13921 impl Default for Enchanted {
13922 fn default() -> Self {
13923 Self(false)
13924 }
13925 }
13926 #[doc = "Marker component for `trident` entities."]
13927 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
13928 pub struct TridentEntity;
13929}
13930#[allow(clippy::module_inception)]
13931pub mod tropical_fish {
13932 #![doc = "Parent class: [`schooling_fish`][super::schooling_fish]."]
13933 #[doc = "The bundle of components for spawning `tropical_fish` entities."]
13934 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
13935 pub struct TropicalFishEntityBundle {
13936 pub tropical_fish_entity: super::tropical_fish::TropicalFishEntity,
13937 pub tropical_fish_variant: super::tropical_fish::Variant,
13938 pub schooling_fish_entity: super::schooling_fish::SchoolingFishEntity,
13939 pub fish_entity: super::fish::FishEntity,
13940 pub fish_from_bucket: super::fish::FromBucket,
13941 pub water_creature_entity: super::water_creature::WaterCreatureEntity,
13942 pub path_aware_entity: super::path_aware::PathAwareEntity,
13943 pub mob_entity: super::mob::MobEntity,
13944 pub mob_mob_flags: super::mob::MobFlags,
13945 pub living_entity: super::living::LivingEntity,
13946 pub living_absorption: super::living::Absorption,
13947 pub living_attributes: super::attributes::EntityAttributes,
13948 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
13949 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
13950 pub living_living_flags: super::living::LivingFlags,
13951 pub living_health: super::living::Health,
13952 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
13953 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
13954 pub living_stuck_arrow_count: super::living::StuckArrowCount,
13955 pub living_stinger_count: super::living::StingerCount,
13956 pub living_sleeping_position: super::living::SleepingPosition,
13957 pub entity: super::entity::Entity,
13958 pub entity_flags: super::entity::Flags,
13959 pub entity_air: super::entity::Air,
13960 pub entity_custom_name: super::entity::CustomName,
13961 pub entity_name_visible: super::entity::NameVisible,
13962 pub entity_silent: super::entity::Silent,
13963 pub entity_no_gravity: super::entity::NoGravity,
13964 pub entity_pose: super::entity::Pose,
13965 pub entity_frozen_ticks: super::entity::FrozenTicks,
13966 pub kind: super::EntityKind,
13967 pub id: super::EntityId,
13968 pub uuid: super::UniqueId,
13969 pub layer: super::EntityLayerId,
13970 pub old_layer: super::OldEntityLayerId,
13971 pub position: super::Position,
13972 pub old_position: super::OldPosition,
13973 pub look: super::Look,
13974 pub head_yaw: super::HeadYaw,
13975 pub on_ground: super::OnGround,
13976 pub velocity: super::Velocity,
13977 pub statuses: super::EntityStatuses,
13978 pub animations: super::EntityAnimations,
13979 pub object_data: super::ObjectData,
13980 pub tracked_data: super::tracked_data::TrackedData,
13981 }
13982 impl Default for TropicalFishEntityBundle {
13983 fn default() -> Self {
13984 Self {
13985 tropical_fish_entity: Default::default(),
13986 tropical_fish_variant: Default::default(),
13987 schooling_fish_entity: Default::default(),
13988 fish_entity: Default::default(),
13989 fish_from_bucket: Default::default(),
13990 water_creature_entity: Default::default(),
13991 path_aware_entity: Default::default(),
13992 mob_entity: Default::default(),
13993 mob_mob_flags: Default::default(),
13994 living_entity: Default::default(),
13995 living_absorption: Default::default(),
13996 living_attributes: super::attributes::EntityAttributes::new()
13997 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
13998 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
13999 .with_attribute_and_value(
14000 super::EntityAttribute::GenericKnockbackResistance,
14001 0f64,
14002 )
14003 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
14004 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
14005 .with_attribute_and_value(
14006 super::EntityAttribute::GenericMovementSpeed,
14007 0.699999988079071f64,
14008 )
14009 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 3f64),
14010 living_attributes_tracker: Default::default(),
14011 living_active_status_effects: Default::default(),
14012 living_living_flags: Default::default(),
14013 living_health: Default::default(),
14014 living_potion_swirls_color: Default::default(),
14015 living_potion_swirls_ambient: Default::default(),
14016 living_stuck_arrow_count: Default::default(),
14017 living_stinger_count: Default::default(),
14018 living_sleeping_position: Default::default(),
14019 entity: Default::default(),
14020 entity_flags: Default::default(),
14021 entity_air: Default::default(),
14022 entity_custom_name: Default::default(),
14023 entity_name_visible: Default::default(),
14024 entity_silent: Default::default(),
14025 entity_no_gravity: Default::default(),
14026 entity_pose: Default::default(),
14027 entity_frozen_ticks: Default::default(),
14028 kind: super::EntityKind::TROPICAL_FISH,
14029 id: Default::default(),
14030 uuid: Default::default(),
14031 layer: Default::default(),
14032 old_layer: Default::default(),
14033 position: Default::default(),
14034 old_position: Default::default(),
14035 look: Default::default(),
14036 head_yaw: Default::default(),
14037 on_ground: Default::default(),
14038 velocity: Default::default(),
14039 statuses: Default::default(),
14040 animations: Default::default(),
14041 object_data: Default::default(),
14042 tracked_data: Default::default(),
14043 }
14044 }
14045 }
14046 #[derive(
14047 bevy_ecs :: component :: Component,
14048 PartialEq,
14049 Clone,
14050 Debug,
14051 :: derive_more :: Deref,
14052 :: derive_more :: DerefMut,
14053 )]
14054 pub struct Variant(pub i32);
14055 #[allow(clippy::derivable_impls)]
14056 impl Default for Variant {
14057 fn default() -> Self {
14058 Self(0i32)
14059 }
14060 }
14061 #[doc = "Marker component for `tropical_fish` entities."]
14062 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
14063 pub struct TropicalFishEntity;
14064}
14065#[allow(clippy::module_inception)]
14066pub mod turtle {
14067 #![doc = "Parent class: [`animal`][super::animal]."]
14068 #[doc = "The bundle of components for spawning `turtle` entities."]
14069 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
14070 pub struct TurtleEntityBundle {
14071 pub turtle_entity: super::turtle::TurtleEntity,
14072 pub turtle_home_pos: super::turtle::HomePos,
14073 pub turtle_has_egg: super::turtle::HasEgg,
14074 pub turtle_digging_sand: super::turtle::DiggingSand,
14075 pub turtle_travel_pos: super::turtle::TravelPos,
14076 pub turtle_land_bound: super::turtle::LandBound,
14077 pub turtle_actively_traveling: super::turtle::ActivelyTraveling,
14078 pub animal_entity: super::animal::AnimalEntity,
14079 pub passive_entity: super::passive::PassiveEntity,
14080 pub passive_child: super::passive::Child,
14081 pub path_aware_entity: super::path_aware::PathAwareEntity,
14082 pub mob_entity: super::mob::MobEntity,
14083 pub mob_mob_flags: super::mob::MobFlags,
14084 pub living_entity: super::living::LivingEntity,
14085 pub living_absorption: super::living::Absorption,
14086 pub living_attributes: super::attributes::EntityAttributes,
14087 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
14088 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
14089 pub living_living_flags: super::living::LivingFlags,
14090 pub living_health: super::living::Health,
14091 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
14092 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
14093 pub living_stuck_arrow_count: super::living::StuckArrowCount,
14094 pub living_stinger_count: super::living::StingerCount,
14095 pub living_sleeping_position: super::living::SleepingPosition,
14096 pub entity: super::entity::Entity,
14097 pub entity_flags: super::entity::Flags,
14098 pub entity_air: super::entity::Air,
14099 pub entity_custom_name: super::entity::CustomName,
14100 pub entity_name_visible: super::entity::NameVisible,
14101 pub entity_silent: super::entity::Silent,
14102 pub entity_no_gravity: super::entity::NoGravity,
14103 pub entity_pose: super::entity::Pose,
14104 pub entity_frozen_ticks: super::entity::FrozenTicks,
14105 pub kind: super::EntityKind,
14106 pub id: super::EntityId,
14107 pub uuid: super::UniqueId,
14108 pub layer: super::EntityLayerId,
14109 pub old_layer: super::OldEntityLayerId,
14110 pub position: super::Position,
14111 pub old_position: super::OldPosition,
14112 pub look: super::Look,
14113 pub head_yaw: super::HeadYaw,
14114 pub on_ground: super::OnGround,
14115 pub velocity: super::Velocity,
14116 pub statuses: super::EntityStatuses,
14117 pub animations: super::EntityAnimations,
14118 pub object_data: super::ObjectData,
14119 pub tracked_data: super::tracked_data::TrackedData,
14120 }
14121 impl Default for TurtleEntityBundle {
14122 fn default() -> Self {
14123 Self {
14124 turtle_entity: Default::default(),
14125 turtle_home_pos: Default::default(),
14126 turtle_has_egg: Default::default(),
14127 turtle_digging_sand: Default::default(),
14128 turtle_travel_pos: Default::default(),
14129 turtle_land_bound: Default::default(),
14130 turtle_actively_traveling: Default::default(),
14131 animal_entity: Default::default(),
14132 passive_entity: Default::default(),
14133 passive_child: Default::default(),
14134 path_aware_entity: Default::default(),
14135 mob_entity: Default::default(),
14136 mob_mob_flags: Default::default(),
14137 living_entity: Default::default(),
14138 living_absorption: Default::default(),
14139 living_attributes: super::attributes::EntityAttributes::new()
14140 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
14141 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
14142 .with_attribute_and_value(
14143 super::EntityAttribute::GenericKnockbackResistance,
14144 0f64,
14145 )
14146 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
14147 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
14148 .with_attribute_and_value(super::EntityAttribute::GenericMovementSpeed, 0.25f64)
14149 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 30f64),
14150 living_attributes_tracker: Default::default(),
14151 living_active_status_effects: Default::default(),
14152 living_living_flags: Default::default(),
14153 living_health: Default::default(),
14154 living_potion_swirls_color: Default::default(),
14155 living_potion_swirls_ambient: Default::default(),
14156 living_stuck_arrow_count: Default::default(),
14157 living_stinger_count: Default::default(),
14158 living_sleeping_position: Default::default(),
14159 entity: Default::default(),
14160 entity_flags: Default::default(),
14161 entity_air: Default::default(),
14162 entity_custom_name: Default::default(),
14163 entity_name_visible: Default::default(),
14164 entity_silent: Default::default(),
14165 entity_no_gravity: Default::default(),
14166 entity_pose: Default::default(),
14167 entity_frozen_ticks: Default::default(),
14168 kind: super::EntityKind::TURTLE,
14169 id: Default::default(),
14170 uuid: Default::default(),
14171 layer: Default::default(),
14172 old_layer: Default::default(),
14173 position: Default::default(),
14174 old_position: Default::default(),
14175 look: Default::default(),
14176 head_yaw: Default::default(),
14177 on_ground: Default::default(),
14178 velocity: Default::default(),
14179 statuses: Default::default(),
14180 animations: Default::default(),
14181 object_data: Default::default(),
14182 tracked_data: Default::default(),
14183 }
14184 }
14185 }
14186 #[derive(
14187 bevy_ecs :: component :: Component,
14188 PartialEq,
14189 Clone,
14190 Debug,
14191 :: derive_more :: Deref,
14192 :: derive_more :: DerefMut,
14193 )]
14194 pub struct HomePos(pub valence_protocol::BlockPos);
14195 #[allow(clippy::derivable_impls)]
14196 impl Default for HomePos {
14197 fn default() -> Self {
14198 Self(valence_protocol::BlockPos {
14199 x: 0i32,
14200 y: 0i32,
14201 z: 0i32,
14202 })
14203 }
14204 }
14205 #[derive(
14206 bevy_ecs :: component :: Component,
14207 PartialEq,
14208 Clone,
14209 Debug,
14210 :: derive_more :: Deref,
14211 :: derive_more :: DerefMut,
14212 )]
14213 pub struct HasEgg(pub bool);
14214 #[allow(clippy::derivable_impls)]
14215 impl Default for HasEgg {
14216 fn default() -> Self {
14217 Self(false)
14218 }
14219 }
14220 #[derive(
14221 bevy_ecs :: component :: Component,
14222 PartialEq,
14223 Clone,
14224 Debug,
14225 :: derive_more :: Deref,
14226 :: derive_more :: DerefMut,
14227 )]
14228 pub struct DiggingSand(pub bool);
14229 #[allow(clippy::derivable_impls)]
14230 impl Default for DiggingSand {
14231 fn default() -> Self {
14232 Self(false)
14233 }
14234 }
14235 #[derive(
14236 bevy_ecs :: component :: Component,
14237 PartialEq,
14238 Clone,
14239 Debug,
14240 :: derive_more :: Deref,
14241 :: derive_more :: DerefMut,
14242 )]
14243 pub struct TravelPos(pub valence_protocol::BlockPos);
14244 #[allow(clippy::derivable_impls)]
14245 impl Default for TravelPos {
14246 fn default() -> Self {
14247 Self(valence_protocol::BlockPos {
14248 x: 0i32,
14249 y: 0i32,
14250 z: 0i32,
14251 })
14252 }
14253 }
14254 #[derive(
14255 bevy_ecs :: component :: Component,
14256 PartialEq,
14257 Clone,
14258 Debug,
14259 :: derive_more :: Deref,
14260 :: derive_more :: DerefMut,
14261 )]
14262 pub struct LandBound(pub bool);
14263 #[allow(clippy::derivable_impls)]
14264 impl Default for LandBound {
14265 fn default() -> Self {
14266 Self(false)
14267 }
14268 }
14269 #[derive(
14270 bevy_ecs :: component :: Component,
14271 PartialEq,
14272 Clone,
14273 Debug,
14274 :: derive_more :: Deref,
14275 :: derive_more :: DerefMut,
14276 )]
14277 pub struct ActivelyTraveling(pub bool);
14278 #[allow(clippy::derivable_impls)]
14279 impl Default for ActivelyTraveling {
14280 fn default() -> Self {
14281 Self(false)
14282 }
14283 }
14284 #[doc = "Marker component for `turtle` entities."]
14285 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
14286 pub struct TurtleEntity;
14287}
14288#[allow(clippy::module_inception)]
14289pub mod vex {
14290 #![doc = "Parent class: [`hostile`][super::hostile]."]
14291 #[doc = "The bundle of components for spawning `vex` entities."]
14292 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
14293 pub struct VexEntityBundle {
14294 pub vex_entity: super::vex::VexEntity,
14295 pub vex_vex_flags: super::vex::VexFlags,
14296 pub hostile_entity: super::hostile::HostileEntity,
14297 pub path_aware_entity: super::path_aware::PathAwareEntity,
14298 pub mob_entity: super::mob::MobEntity,
14299 pub mob_mob_flags: super::mob::MobFlags,
14300 pub living_entity: super::living::LivingEntity,
14301 pub living_absorption: super::living::Absorption,
14302 pub living_attributes: super::attributes::EntityAttributes,
14303 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
14304 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
14305 pub living_living_flags: super::living::LivingFlags,
14306 pub living_health: super::living::Health,
14307 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
14308 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
14309 pub living_stuck_arrow_count: super::living::StuckArrowCount,
14310 pub living_stinger_count: super::living::StingerCount,
14311 pub living_sleeping_position: super::living::SleepingPosition,
14312 pub entity: super::entity::Entity,
14313 pub entity_flags: super::entity::Flags,
14314 pub entity_air: super::entity::Air,
14315 pub entity_custom_name: super::entity::CustomName,
14316 pub entity_name_visible: super::entity::NameVisible,
14317 pub entity_silent: super::entity::Silent,
14318 pub entity_no_gravity: super::entity::NoGravity,
14319 pub entity_pose: super::entity::Pose,
14320 pub entity_frozen_ticks: super::entity::FrozenTicks,
14321 pub kind: super::EntityKind,
14322 pub id: super::EntityId,
14323 pub uuid: super::UniqueId,
14324 pub layer: super::EntityLayerId,
14325 pub old_layer: super::OldEntityLayerId,
14326 pub position: super::Position,
14327 pub old_position: super::OldPosition,
14328 pub look: super::Look,
14329 pub head_yaw: super::HeadYaw,
14330 pub on_ground: super::OnGround,
14331 pub velocity: super::Velocity,
14332 pub statuses: super::EntityStatuses,
14333 pub animations: super::EntityAnimations,
14334 pub object_data: super::ObjectData,
14335 pub tracked_data: super::tracked_data::TrackedData,
14336 }
14337 impl Default for VexEntityBundle {
14338 fn default() -> Self {
14339 Self {
14340 vex_entity: Default::default(),
14341 vex_vex_flags: Default::default(),
14342 hostile_entity: Default::default(),
14343 path_aware_entity: Default::default(),
14344 mob_entity: Default::default(),
14345 mob_mob_flags: Default::default(),
14346 living_entity: Default::default(),
14347 living_absorption: Default::default(),
14348 living_attributes: super::attributes::EntityAttributes::new()
14349 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
14350 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
14351 .with_attribute_and_value(
14352 super::EntityAttribute::GenericKnockbackResistance,
14353 0f64,
14354 )
14355 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
14356 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 4f64)
14357 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
14358 .with_attribute_and_value(
14359 super::EntityAttribute::GenericMovementSpeed,
14360 0.699999988079071f64,
14361 )
14362 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 14f64),
14363 living_attributes_tracker: Default::default(),
14364 living_active_status_effects: Default::default(),
14365 living_living_flags: Default::default(),
14366 living_health: Default::default(),
14367 living_potion_swirls_color: Default::default(),
14368 living_potion_swirls_ambient: Default::default(),
14369 living_stuck_arrow_count: Default::default(),
14370 living_stinger_count: Default::default(),
14371 living_sleeping_position: Default::default(),
14372 entity: Default::default(),
14373 entity_flags: Default::default(),
14374 entity_air: Default::default(),
14375 entity_custom_name: Default::default(),
14376 entity_name_visible: Default::default(),
14377 entity_silent: Default::default(),
14378 entity_no_gravity: Default::default(),
14379 entity_pose: Default::default(),
14380 entity_frozen_ticks: Default::default(),
14381 kind: super::EntityKind::VEX,
14382 id: Default::default(),
14383 uuid: Default::default(),
14384 layer: Default::default(),
14385 old_layer: Default::default(),
14386 position: Default::default(),
14387 old_position: Default::default(),
14388 look: Default::default(),
14389 head_yaw: Default::default(),
14390 on_ground: Default::default(),
14391 velocity: Default::default(),
14392 statuses: Default::default(),
14393 animations: Default::default(),
14394 object_data: Default::default(),
14395 tracked_data: Default::default(),
14396 }
14397 }
14398 }
14399 #[derive(
14400 bevy_ecs :: component :: Component,
14401 PartialEq,
14402 Clone,
14403 Debug,
14404 :: derive_more :: Deref,
14405 :: derive_more :: DerefMut,
14406 )]
14407 pub struct VexFlags(pub i8);
14408 #[allow(clippy::derivable_impls)]
14409 impl Default for VexFlags {
14410 fn default() -> Self {
14411 Self(0i8)
14412 }
14413 }
14414 #[doc = "Marker component for `vex` entities."]
14415 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
14416 pub struct VexEntity;
14417}
14418#[allow(clippy::module_inception)]
14419pub mod villager {
14420 #![doc = "Parent class: [`merchant`][super::merchant]."]
14421 #[doc = "The bundle of components for spawning `villager` entities."]
14422 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
14423 pub struct VillagerEntityBundle {
14424 pub villager_entity: super::villager::VillagerEntity,
14425 pub villager_villager_data: super::villager::VillagerData,
14426 pub merchant_entity: super::merchant::MerchantEntity,
14427 pub merchant_head_rolling_time_left: super::merchant::HeadRollingTimeLeft,
14428 pub passive_entity: super::passive::PassiveEntity,
14429 pub passive_child: super::passive::Child,
14430 pub path_aware_entity: super::path_aware::PathAwareEntity,
14431 pub mob_entity: super::mob::MobEntity,
14432 pub mob_mob_flags: super::mob::MobFlags,
14433 pub living_entity: super::living::LivingEntity,
14434 pub living_absorption: super::living::Absorption,
14435 pub living_attributes: super::attributes::EntityAttributes,
14436 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
14437 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
14438 pub living_living_flags: super::living::LivingFlags,
14439 pub living_health: super::living::Health,
14440 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
14441 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
14442 pub living_stuck_arrow_count: super::living::StuckArrowCount,
14443 pub living_stinger_count: super::living::StingerCount,
14444 pub living_sleeping_position: super::living::SleepingPosition,
14445 pub entity: super::entity::Entity,
14446 pub entity_flags: super::entity::Flags,
14447 pub entity_air: super::entity::Air,
14448 pub entity_custom_name: super::entity::CustomName,
14449 pub entity_name_visible: super::entity::NameVisible,
14450 pub entity_silent: super::entity::Silent,
14451 pub entity_no_gravity: super::entity::NoGravity,
14452 pub entity_pose: super::entity::Pose,
14453 pub entity_frozen_ticks: super::entity::FrozenTicks,
14454 pub kind: super::EntityKind,
14455 pub id: super::EntityId,
14456 pub uuid: super::UniqueId,
14457 pub layer: super::EntityLayerId,
14458 pub old_layer: super::OldEntityLayerId,
14459 pub position: super::Position,
14460 pub old_position: super::OldPosition,
14461 pub look: super::Look,
14462 pub head_yaw: super::HeadYaw,
14463 pub on_ground: super::OnGround,
14464 pub velocity: super::Velocity,
14465 pub statuses: super::EntityStatuses,
14466 pub animations: super::EntityAnimations,
14467 pub object_data: super::ObjectData,
14468 pub tracked_data: super::tracked_data::TrackedData,
14469 }
14470 impl Default for VillagerEntityBundle {
14471 fn default() -> Self {
14472 Self {
14473 villager_entity: Default::default(),
14474 villager_villager_data: Default::default(),
14475 merchant_entity: Default::default(),
14476 merchant_head_rolling_time_left: Default::default(),
14477 passive_entity: Default::default(),
14478 passive_child: Default::default(),
14479 path_aware_entity: Default::default(),
14480 mob_entity: Default::default(),
14481 mob_mob_flags: Default::default(),
14482 living_entity: Default::default(),
14483 living_absorption: Default::default(),
14484 living_attributes: super::attributes::EntityAttributes::new()
14485 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
14486 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
14487 .with_attribute_and_value(
14488 super::EntityAttribute::GenericKnockbackResistance,
14489 0f64,
14490 )
14491 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
14492 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 48f64)
14493 .with_attribute_and_value(super::EntityAttribute::GenericMovementSpeed, 0.5f64)
14494 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 20f64),
14495 living_attributes_tracker: Default::default(),
14496 living_active_status_effects: Default::default(),
14497 living_living_flags: Default::default(),
14498 living_health: Default::default(),
14499 living_potion_swirls_color: Default::default(),
14500 living_potion_swirls_ambient: Default::default(),
14501 living_stuck_arrow_count: Default::default(),
14502 living_stinger_count: Default::default(),
14503 living_sleeping_position: Default::default(),
14504 entity: Default::default(),
14505 entity_flags: Default::default(),
14506 entity_air: Default::default(),
14507 entity_custom_name: Default::default(),
14508 entity_name_visible: Default::default(),
14509 entity_silent: Default::default(),
14510 entity_no_gravity: Default::default(),
14511 entity_pose: Default::default(),
14512 entity_frozen_ticks: Default::default(),
14513 kind: super::EntityKind::VILLAGER,
14514 id: Default::default(),
14515 uuid: Default::default(),
14516 layer: Default::default(),
14517 old_layer: Default::default(),
14518 position: Default::default(),
14519 old_position: Default::default(),
14520 look: Default::default(),
14521 head_yaw: Default::default(),
14522 on_ground: Default::default(),
14523 velocity: Default::default(),
14524 statuses: Default::default(),
14525 animations: Default::default(),
14526 object_data: Default::default(),
14527 tracked_data: Default::default(),
14528 }
14529 }
14530 }
14531 #[derive(
14532 bevy_ecs :: component :: Component,
14533 PartialEq,
14534 Clone,
14535 Debug,
14536 :: derive_more :: Deref,
14537 :: derive_more :: DerefMut,
14538 )]
14539 pub struct VillagerData(pub crate::VillagerData);
14540 #[allow(clippy::derivable_impls)]
14541 impl Default for VillagerData {
14542 fn default() -> Self {
14543 Self(crate::VillagerData {
14544 kind: crate::VillagerKind::Plains,
14545 profession: crate::VillagerProfession::None,
14546 level: 1i32,
14547 })
14548 }
14549 }
14550 #[doc = "Marker component for `villager` entities."]
14551 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
14552 pub struct VillagerEntity;
14553}
14554#[allow(clippy::module_inception)]
14555pub mod vindicator {
14556 #![doc = "Parent class: [`illager`][super::illager]."]
14557 #[doc = "The bundle of components for spawning `vindicator` entities."]
14558 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
14559 pub struct VindicatorEntityBundle {
14560 pub vindicator_entity: super::vindicator::VindicatorEntity,
14561 pub illager_entity: super::illager::IllagerEntity,
14562 pub raider_entity: super::raider::RaiderEntity,
14563 pub raider_celebrating: super::raider::Celebrating,
14564 pub patrol_entity: super::patrol::PatrolEntity,
14565 pub hostile_entity: super::hostile::HostileEntity,
14566 pub path_aware_entity: super::path_aware::PathAwareEntity,
14567 pub mob_entity: super::mob::MobEntity,
14568 pub mob_mob_flags: super::mob::MobFlags,
14569 pub living_entity: super::living::LivingEntity,
14570 pub living_absorption: super::living::Absorption,
14571 pub living_attributes: super::attributes::EntityAttributes,
14572 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
14573 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
14574 pub living_living_flags: super::living::LivingFlags,
14575 pub living_health: super::living::Health,
14576 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
14577 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
14578 pub living_stuck_arrow_count: super::living::StuckArrowCount,
14579 pub living_stinger_count: super::living::StingerCount,
14580 pub living_sleeping_position: super::living::SleepingPosition,
14581 pub entity: super::entity::Entity,
14582 pub entity_flags: super::entity::Flags,
14583 pub entity_air: super::entity::Air,
14584 pub entity_custom_name: super::entity::CustomName,
14585 pub entity_name_visible: super::entity::NameVisible,
14586 pub entity_silent: super::entity::Silent,
14587 pub entity_no_gravity: super::entity::NoGravity,
14588 pub entity_pose: super::entity::Pose,
14589 pub entity_frozen_ticks: super::entity::FrozenTicks,
14590 pub kind: super::EntityKind,
14591 pub id: super::EntityId,
14592 pub uuid: super::UniqueId,
14593 pub layer: super::EntityLayerId,
14594 pub old_layer: super::OldEntityLayerId,
14595 pub position: super::Position,
14596 pub old_position: super::OldPosition,
14597 pub look: super::Look,
14598 pub head_yaw: super::HeadYaw,
14599 pub on_ground: super::OnGround,
14600 pub velocity: super::Velocity,
14601 pub statuses: super::EntityStatuses,
14602 pub animations: super::EntityAnimations,
14603 pub object_data: super::ObjectData,
14604 pub tracked_data: super::tracked_data::TrackedData,
14605 }
14606 impl Default for VindicatorEntityBundle {
14607 fn default() -> Self {
14608 Self {
14609 vindicator_entity: Default::default(),
14610 illager_entity: Default::default(),
14611 raider_entity: Default::default(),
14612 raider_celebrating: Default::default(),
14613 patrol_entity: Default::default(),
14614 hostile_entity: Default::default(),
14615 path_aware_entity: Default::default(),
14616 mob_entity: Default::default(),
14617 mob_mob_flags: Default::default(),
14618 living_entity: Default::default(),
14619 living_absorption: Default::default(),
14620 living_attributes: super::attributes::EntityAttributes::new()
14621 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
14622 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
14623 .with_attribute_and_value(
14624 super::EntityAttribute::GenericKnockbackResistance,
14625 0f64,
14626 )
14627 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
14628 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 5f64)
14629 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 12f64)
14630 .with_attribute_and_value(
14631 super::EntityAttribute::GenericMovementSpeed,
14632 0.3499999940395355f64,
14633 )
14634 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 24f64),
14635 living_attributes_tracker: Default::default(),
14636 living_active_status_effects: Default::default(),
14637 living_living_flags: Default::default(),
14638 living_health: Default::default(),
14639 living_potion_swirls_color: Default::default(),
14640 living_potion_swirls_ambient: Default::default(),
14641 living_stuck_arrow_count: Default::default(),
14642 living_stinger_count: Default::default(),
14643 living_sleeping_position: Default::default(),
14644 entity: Default::default(),
14645 entity_flags: Default::default(),
14646 entity_air: Default::default(),
14647 entity_custom_name: Default::default(),
14648 entity_name_visible: Default::default(),
14649 entity_silent: Default::default(),
14650 entity_no_gravity: Default::default(),
14651 entity_pose: Default::default(),
14652 entity_frozen_ticks: Default::default(),
14653 kind: super::EntityKind::VINDICATOR,
14654 id: Default::default(),
14655 uuid: Default::default(),
14656 layer: Default::default(),
14657 old_layer: Default::default(),
14658 position: Default::default(),
14659 old_position: Default::default(),
14660 look: Default::default(),
14661 head_yaw: Default::default(),
14662 on_ground: Default::default(),
14663 velocity: Default::default(),
14664 statuses: Default::default(),
14665 animations: Default::default(),
14666 object_data: Default::default(),
14667 tracked_data: Default::default(),
14668 }
14669 }
14670 }
14671 #[doc = "Marker component for `vindicator` entities."]
14672 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
14673 pub struct VindicatorEntity;
14674}
14675#[allow(clippy::module_inception)]
14676pub mod wandering_trader {
14677 #![doc = "Parent class: [`merchant`][super::merchant]."]
14678 #[doc = "The bundle of components for spawning `wandering_trader` entities."]
14679 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
14680 pub struct WanderingTraderEntityBundle {
14681 pub wandering_trader_entity: super::wandering_trader::WanderingTraderEntity,
14682 pub merchant_entity: super::merchant::MerchantEntity,
14683 pub merchant_head_rolling_time_left: super::merchant::HeadRollingTimeLeft,
14684 pub passive_entity: super::passive::PassiveEntity,
14685 pub passive_child: super::passive::Child,
14686 pub path_aware_entity: super::path_aware::PathAwareEntity,
14687 pub mob_entity: super::mob::MobEntity,
14688 pub mob_mob_flags: super::mob::MobFlags,
14689 pub living_entity: super::living::LivingEntity,
14690 pub living_absorption: super::living::Absorption,
14691 pub living_attributes: super::attributes::EntityAttributes,
14692 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
14693 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
14694 pub living_living_flags: super::living::LivingFlags,
14695 pub living_health: super::living::Health,
14696 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
14697 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
14698 pub living_stuck_arrow_count: super::living::StuckArrowCount,
14699 pub living_stinger_count: super::living::StingerCount,
14700 pub living_sleeping_position: super::living::SleepingPosition,
14701 pub entity: super::entity::Entity,
14702 pub entity_flags: super::entity::Flags,
14703 pub entity_air: super::entity::Air,
14704 pub entity_custom_name: super::entity::CustomName,
14705 pub entity_name_visible: super::entity::NameVisible,
14706 pub entity_silent: super::entity::Silent,
14707 pub entity_no_gravity: super::entity::NoGravity,
14708 pub entity_pose: super::entity::Pose,
14709 pub entity_frozen_ticks: super::entity::FrozenTicks,
14710 pub kind: super::EntityKind,
14711 pub id: super::EntityId,
14712 pub uuid: super::UniqueId,
14713 pub layer: super::EntityLayerId,
14714 pub old_layer: super::OldEntityLayerId,
14715 pub position: super::Position,
14716 pub old_position: super::OldPosition,
14717 pub look: super::Look,
14718 pub head_yaw: super::HeadYaw,
14719 pub on_ground: super::OnGround,
14720 pub velocity: super::Velocity,
14721 pub statuses: super::EntityStatuses,
14722 pub animations: super::EntityAnimations,
14723 pub object_data: super::ObjectData,
14724 pub tracked_data: super::tracked_data::TrackedData,
14725 }
14726 impl Default for WanderingTraderEntityBundle {
14727 fn default() -> Self {
14728 Self {
14729 wandering_trader_entity: Default::default(),
14730 merchant_entity: Default::default(),
14731 merchant_head_rolling_time_left: Default::default(),
14732 passive_entity: Default::default(),
14733 passive_child: Default::default(),
14734 path_aware_entity: Default::default(),
14735 mob_entity: Default::default(),
14736 mob_mob_flags: Default::default(),
14737 living_entity: Default::default(),
14738 living_absorption: Default::default(),
14739 living_attributes: super::attributes::EntityAttributes::new()
14740 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
14741 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
14742 .with_attribute_and_value(
14743 super::EntityAttribute::GenericKnockbackResistance,
14744 0f64,
14745 )
14746 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
14747 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
14748 .with_attribute_and_value(
14749 super::EntityAttribute::GenericMovementSpeed,
14750 0.699999988079071f64,
14751 )
14752 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 20f64),
14753 living_attributes_tracker: Default::default(),
14754 living_active_status_effects: Default::default(),
14755 living_living_flags: Default::default(),
14756 living_health: Default::default(),
14757 living_potion_swirls_color: Default::default(),
14758 living_potion_swirls_ambient: Default::default(),
14759 living_stuck_arrow_count: Default::default(),
14760 living_stinger_count: Default::default(),
14761 living_sleeping_position: Default::default(),
14762 entity: Default::default(),
14763 entity_flags: Default::default(),
14764 entity_air: Default::default(),
14765 entity_custom_name: Default::default(),
14766 entity_name_visible: Default::default(),
14767 entity_silent: Default::default(),
14768 entity_no_gravity: Default::default(),
14769 entity_pose: Default::default(),
14770 entity_frozen_ticks: Default::default(),
14771 kind: super::EntityKind::WANDERING_TRADER,
14772 id: Default::default(),
14773 uuid: Default::default(),
14774 layer: Default::default(),
14775 old_layer: Default::default(),
14776 position: Default::default(),
14777 old_position: Default::default(),
14778 look: Default::default(),
14779 head_yaw: Default::default(),
14780 on_ground: Default::default(),
14781 velocity: Default::default(),
14782 statuses: Default::default(),
14783 animations: Default::default(),
14784 object_data: Default::default(),
14785 tracked_data: Default::default(),
14786 }
14787 }
14788 }
14789 #[doc = "Marker component for `wandering_trader` entities."]
14790 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
14791 pub struct WanderingTraderEntity;
14792}
14793#[allow(clippy::module_inception)]
14794pub mod warden {
14795 #![doc = "Parent class: [`hostile`][super::hostile]."]
14796 #[doc = "The bundle of components for spawning `warden` entities."]
14797 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
14798 pub struct WardenEntityBundle {
14799 pub warden_entity: super::warden::WardenEntity,
14800 pub warden_anger: super::warden::Anger,
14801 pub hostile_entity: super::hostile::HostileEntity,
14802 pub path_aware_entity: super::path_aware::PathAwareEntity,
14803 pub mob_entity: super::mob::MobEntity,
14804 pub mob_mob_flags: super::mob::MobFlags,
14805 pub living_entity: super::living::LivingEntity,
14806 pub living_absorption: super::living::Absorption,
14807 pub living_attributes: super::attributes::EntityAttributes,
14808 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
14809 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
14810 pub living_living_flags: super::living::LivingFlags,
14811 pub living_health: super::living::Health,
14812 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
14813 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
14814 pub living_stuck_arrow_count: super::living::StuckArrowCount,
14815 pub living_stinger_count: super::living::StingerCount,
14816 pub living_sleeping_position: super::living::SleepingPosition,
14817 pub entity: super::entity::Entity,
14818 pub entity_flags: super::entity::Flags,
14819 pub entity_air: super::entity::Air,
14820 pub entity_custom_name: super::entity::CustomName,
14821 pub entity_name_visible: super::entity::NameVisible,
14822 pub entity_silent: super::entity::Silent,
14823 pub entity_no_gravity: super::entity::NoGravity,
14824 pub entity_pose: super::entity::Pose,
14825 pub entity_frozen_ticks: super::entity::FrozenTicks,
14826 pub kind: super::EntityKind,
14827 pub id: super::EntityId,
14828 pub uuid: super::UniqueId,
14829 pub layer: super::EntityLayerId,
14830 pub old_layer: super::OldEntityLayerId,
14831 pub position: super::Position,
14832 pub old_position: super::OldPosition,
14833 pub look: super::Look,
14834 pub head_yaw: super::HeadYaw,
14835 pub on_ground: super::OnGround,
14836 pub velocity: super::Velocity,
14837 pub statuses: super::EntityStatuses,
14838 pub animations: super::EntityAnimations,
14839 pub object_data: super::ObjectData,
14840 pub tracked_data: super::tracked_data::TrackedData,
14841 }
14842 impl Default for WardenEntityBundle {
14843 fn default() -> Self {
14844 Self {
14845 warden_entity: Default::default(),
14846 warden_anger: Default::default(),
14847 hostile_entity: Default::default(),
14848 path_aware_entity: Default::default(),
14849 mob_entity: Default::default(),
14850 mob_mob_flags: Default::default(),
14851 living_entity: Default::default(),
14852 living_absorption: Default::default(),
14853 living_attributes: super::attributes::EntityAttributes::new()
14854 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
14855 .with_attribute_and_value(
14856 super::EntityAttribute::GenericAttackKnockback,
14857 1.5f64,
14858 )
14859 .with_attribute_and_value(
14860 super::EntityAttribute::GenericKnockbackResistance,
14861 1f64,
14862 )
14863 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
14864 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 30f64)
14865 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
14866 .with_attribute_and_value(
14867 super::EntityAttribute::GenericMovementSpeed,
14868 0.30000001192092896f64,
14869 )
14870 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 500f64),
14871 living_attributes_tracker: Default::default(),
14872 living_active_status_effects: Default::default(),
14873 living_living_flags: Default::default(),
14874 living_health: Default::default(),
14875 living_potion_swirls_color: Default::default(),
14876 living_potion_swirls_ambient: Default::default(),
14877 living_stuck_arrow_count: Default::default(),
14878 living_stinger_count: Default::default(),
14879 living_sleeping_position: Default::default(),
14880 entity: Default::default(),
14881 entity_flags: Default::default(),
14882 entity_air: Default::default(),
14883 entity_custom_name: Default::default(),
14884 entity_name_visible: Default::default(),
14885 entity_silent: Default::default(),
14886 entity_no_gravity: Default::default(),
14887 entity_pose: Default::default(),
14888 entity_frozen_ticks: Default::default(),
14889 kind: super::EntityKind::WARDEN,
14890 id: Default::default(),
14891 uuid: Default::default(),
14892 layer: Default::default(),
14893 old_layer: Default::default(),
14894 position: Default::default(),
14895 old_position: Default::default(),
14896 look: Default::default(),
14897 head_yaw: Default::default(),
14898 on_ground: Default::default(),
14899 velocity: Default::default(),
14900 statuses: Default::default(),
14901 animations: Default::default(),
14902 object_data: Default::default(),
14903 tracked_data: Default::default(),
14904 }
14905 }
14906 }
14907 #[derive(
14908 bevy_ecs :: component :: Component,
14909 PartialEq,
14910 Clone,
14911 Debug,
14912 :: derive_more :: Deref,
14913 :: derive_more :: DerefMut,
14914 )]
14915 pub struct Anger(pub i32);
14916 #[allow(clippy::derivable_impls)]
14917 impl Default for Anger {
14918 fn default() -> Self {
14919 Self(0i32)
14920 }
14921 }
14922 #[doc = "Marker component for `warden` entities."]
14923 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
14924 pub struct WardenEntity;
14925}
14926#[allow(clippy::module_inception)]
14927pub mod water_creature {
14928 #![doc = "Parent class: [`path_aware`][super::path_aware]."]
14929 #[doc = "Marker component for `water_creature` entities."]
14930 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
14931 pub struct WaterCreatureEntity;
14932}
14933#[allow(clippy::module_inception)]
14934pub mod witch {
14935 #![doc = "Parent class: [`raider`][super::raider]."]
14936 #[doc = "The bundle of components for spawning `witch` entities."]
14937 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
14938 pub struct WitchEntityBundle {
14939 pub witch_entity: super::witch::WitchEntity,
14940 pub witch_drinking: super::witch::Drinking,
14941 pub raider_entity: super::raider::RaiderEntity,
14942 pub raider_celebrating: super::raider::Celebrating,
14943 pub patrol_entity: super::patrol::PatrolEntity,
14944 pub hostile_entity: super::hostile::HostileEntity,
14945 pub path_aware_entity: super::path_aware::PathAwareEntity,
14946 pub mob_entity: super::mob::MobEntity,
14947 pub mob_mob_flags: super::mob::MobFlags,
14948 pub living_entity: super::living::LivingEntity,
14949 pub living_absorption: super::living::Absorption,
14950 pub living_attributes: super::attributes::EntityAttributes,
14951 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
14952 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
14953 pub living_living_flags: super::living::LivingFlags,
14954 pub living_health: super::living::Health,
14955 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
14956 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
14957 pub living_stuck_arrow_count: super::living::StuckArrowCount,
14958 pub living_stinger_count: super::living::StingerCount,
14959 pub living_sleeping_position: super::living::SleepingPosition,
14960 pub entity: super::entity::Entity,
14961 pub entity_flags: super::entity::Flags,
14962 pub entity_air: super::entity::Air,
14963 pub entity_custom_name: super::entity::CustomName,
14964 pub entity_name_visible: super::entity::NameVisible,
14965 pub entity_silent: super::entity::Silent,
14966 pub entity_no_gravity: super::entity::NoGravity,
14967 pub entity_pose: super::entity::Pose,
14968 pub entity_frozen_ticks: super::entity::FrozenTicks,
14969 pub kind: super::EntityKind,
14970 pub id: super::EntityId,
14971 pub uuid: super::UniqueId,
14972 pub layer: super::EntityLayerId,
14973 pub old_layer: super::OldEntityLayerId,
14974 pub position: super::Position,
14975 pub old_position: super::OldPosition,
14976 pub look: super::Look,
14977 pub head_yaw: super::HeadYaw,
14978 pub on_ground: super::OnGround,
14979 pub velocity: super::Velocity,
14980 pub statuses: super::EntityStatuses,
14981 pub animations: super::EntityAnimations,
14982 pub object_data: super::ObjectData,
14983 pub tracked_data: super::tracked_data::TrackedData,
14984 }
14985 impl Default for WitchEntityBundle {
14986 fn default() -> Self {
14987 Self {
14988 witch_entity: Default::default(),
14989 witch_drinking: Default::default(),
14990 raider_entity: Default::default(),
14991 raider_celebrating: Default::default(),
14992 patrol_entity: Default::default(),
14993 hostile_entity: Default::default(),
14994 path_aware_entity: Default::default(),
14995 mob_entity: Default::default(),
14996 mob_mob_flags: Default::default(),
14997 living_entity: Default::default(),
14998 living_absorption: Default::default(),
14999 living_attributes: super::attributes::EntityAttributes::new()
15000 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
15001 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
15002 .with_attribute_and_value(
15003 super::EntityAttribute::GenericKnockbackResistance,
15004 0f64,
15005 )
15006 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
15007 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 2f64)
15008 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
15009 .with_attribute_and_value(super::EntityAttribute::GenericMovementSpeed, 0.25f64)
15010 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 26f64),
15011 living_attributes_tracker: Default::default(),
15012 living_active_status_effects: Default::default(),
15013 living_living_flags: Default::default(),
15014 living_health: Default::default(),
15015 living_potion_swirls_color: Default::default(),
15016 living_potion_swirls_ambient: Default::default(),
15017 living_stuck_arrow_count: Default::default(),
15018 living_stinger_count: Default::default(),
15019 living_sleeping_position: Default::default(),
15020 entity: Default::default(),
15021 entity_flags: Default::default(),
15022 entity_air: Default::default(),
15023 entity_custom_name: Default::default(),
15024 entity_name_visible: Default::default(),
15025 entity_silent: Default::default(),
15026 entity_no_gravity: Default::default(),
15027 entity_pose: Default::default(),
15028 entity_frozen_ticks: Default::default(),
15029 kind: super::EntityKind::WITCH,
15030 id: Default::default(),
15031 uuid: Default::default(),
15032 layer: Default::default(),
15033 old_layer: Default::default(),
15034 position: Default::default(),
15035 old_position: Default::default(),
15036 look: Default::default(),
15037 head_yaw: Default::default(),
15038 on_ground: Default::default(),
15039 velocity: Default::default(),
15040 statuses: Default::default(),
15041 animations: Default::default(),
15042 object_data: Default::default(),
15043 tracked_data: Default::default(),
15044 }
15045 }
15046 }
15047 #[derive(
15048 bevy_ecs :: component :: Component,
15049 PartialEq,
15050 Clone,
15051 Debug,
15052 :: derive_more :: Deref,
15053 :: derive_more :: DerefMut,
15054 )]
15055 pub struct Drinking(pub bool);
15056 #[allow(clippy::derivable_impls)]
15057 impl Default for Drinking {
15058 fn default() -> Self {
15059 Self(false)
15060 }
15061 }
15062 #[doc = "Marker component for `witch` entities."]
15063 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
15064 pub struct WitchEntity;
15065}
15066#[allow(clippy::module_inception)]
15067pub mod wither {
15068 #![doc = "Parent class: [`hostile`][super::hostile]."]
15069 #[doc = "The bundle of components for spawning `wither` entities."]
15070 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
15071 pub struct WitherEntityBundle {
15072 pub wither_entity: super::wither::WitherEntity,
15073 pub wither_tracked_entity_id_1: super::wither::TrackedEntityId1,
15074 pub wither_tracked_entity_id_2: super::wither::TrackedEntityId2,
15075 pub wither_tracked_entity_id_3: super::wither::TrackedEntityId3,
15076 pub wither_invul_timer: super::wither::InvulTimer,
15077 pub hostile_entity: super::hostile::HostileEntity,
15078 pub path_aware_entity: super::path_aware::PathAwareEntity,
15079 pub mob_entity: super::mob::MobEntity,
15080 pub mob_mob_flags: super::mob::MobFlags,
15081 pub living_entity: super::living::LivingEntity,
15082 pub living_absorption: super::living::Absorption,
15083 pub living_attributes: super::attributes::EntityAttributes,
15084 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
15085 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
15086 pub living_living_flags: super::living::LivingFlags,
15087 pub living_health: super::living::Health,
15088 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
15089 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
15090 pub living_stuck_arrow_count: super::living::StuckArrowCount,
15091 pub living_stinger_count: super::living::StingerCount,
15092 pub living_sleeping_position: super::living::SleepingPosition,
15093 pub entity: super::entity::Entity,
15094 pub entity_flags: super::entity::Flags,
15095 pub entity_air: super::entity::Air,
15096 pub entity_custom_name: super::entity::CustomName,
15097 pub entity_name_visible: super::entity::NameVisible,
15098 pub entity_silent: super::entity::Silent,
15099 pub entity_no_gravity: super::entity::NoGravity,
15100 pub entity_pose: super::entity::Pose,
15101 pub entity_frozen_ticks: super::entity::FrozenTicks,
15102 pub kind: super::EntityKind,
15103 pub id: super::EntityId,
15104 pub uuid: super::UniqueId,
15105 pub layer: super::EntityLayerId,
15106 pub old_layer: super::OldEntityLayerId,
15107 pub position: super::Position,
15108 pub old_position: super::OldPosition,
15109 pub look: super::Look,
15110 pub head_yaw: super::HeadYaw,
15111 pub on_ground: super::OnGround,
15112 pub velocity: super::Velocity,
15113 pub statuses: super::EntityStatuses,
15114 pub animations: super::EntityAnimations,
15115 pub object_data: super::ObjectData,
15116 pub tracked_data: super::tracked_data::TrackedData,
15117 }
15118 impl Default for WitherEntityBundle {
15119 fn default() -> Self {
15120 Self {
15121 wither_entity: Default::default(),
15122 wither_tracked_entity_id_1: Default::default(),
15123 wither_tracked_entity_id_2: Default::default(),
15124 wither_tracked_entity_id_3: Default::default(),
15125 wither_invul_timer: Default::default(),
15126 hostile_entity: Default::default(),
15127 path_aware_entity: Default::default(),
15128 mob_entity: Default::default(),
15129 mob_mob_flags: Default::default(),
15130 living_entity: Default::default(),
15131 living_absorption: Default::default(),
15132 living_attributes: super::attributes::EntityAttributes::new()
15133 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
15134 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
15135 .with_attribute_and_value(
15136 super::EntityAttribute::GenericKnockbackResistance,
15137 0f64,
15138 )
15139 .with_attribute_and_value(
15140 super::EntityAttribute::GenericFlyingSpeed,
15141 0.6000000238418579f64,
15142 )
15143 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 4f64)
15144 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 2f64)
15145 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 40f64)
15146 .with_attribute_and_value(
15147 super::EntityAttribute::GenericMovementSpeed,
15148 0.6000000238418579f64,
15149 )
15150 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 300f64),
15151 living_attributes_tracker: Default::default(),
15152 living_active_status_effects: Default::default(),
15153 living_living_flags: Default::default(),
15154 living_health: Default::default(),
15155 living_potion_swirls_color: Default::default(),
15156 living_potion_swirls_ambient: Default::default(),
15157 living_stuck_arrow_count: Default::default(),
15158 living_stinger_count: Default::default(),
15159 living_sleeping_position: Default::default(),
15160 entity: Default::default(),
15161 entity_flags: Default::default(),
15162 entity_air: Default::default(),
15163 entity_custom_name: Default::default(),
15164 entity_name_visible: Default::default(),
15165 entity_silent: Default::default(),
15166 entity_no_gravity: Default::default(),
15167 entity_pose: Default::default(),
15168 entity_frozen_ticks: Default::default(),
15169 kind: super::EntityKind::WITHER,
15170 id: Default::default(),
15171 uuid: Default::default(),
15172 layer: Default::default(),
15173 old_layer: Default::default(),
15174 position: Default::default(),
15175 old_position: Default::default(),
15176 look: Default::default(),
15177 head_yaw: Default::default(),
15178 on_ground: Default::default(),
15179 velocity: Default::default(),
15180 statuses: Default::default(),
15181 animations: Default::default(),
15182 object_data: Default::default(),
15183 tracked_data: Default::default(),
15184 }
15185 }
15186 }
15187 #[derive(
15188 bevy_ecs :: component :: Component,
15189 PartialEq,
15190 Clone,
15191 Debug,
15192 :: derive_more :: Deref,
15193 :: derive_more :: DerefMut,
15194 )]
15195 pub struct TrackedEntityId1(pub i32);
15196 #[allow(clippy::derivable_impls)]
15197 impl Default for TrackedEntityId1 {
15198 fn default() -> Self {
15199 Self(0i32)
15200 }
15201 }
15202 #[derive(
15203 bevy_ecs :: component :: Component,
15204 PartialEq,
15205 Clone,
15206 Debug,
15207 :: derive_more :: Deref,
15208 :: derive_more :: DerefMut,
15209 )]
15210 pub struct TrackedEntityId2(pub i32);
15211 #[allow(clippy::derivable_impls)]
15212 impl Default for TrackedEntityId2 {
15213 fn default() -> Self {
15214 Self(0i32)
15215 }
15216 }
15217 #[derive(
15218 bevy_ecs :: component :: Component,
15219 PartialEq,
15220 Clone,
15221 Debug,
15222 :: derive_more :: Deref,
15223 :: derive_more :: DerefMut,
15224 )]
15225 pub struct TrackedEntityId3(pub i32);
15226 #[allow(clippy::derivable_impls)]
15227 impl Default for TrackedEntityId3 {
15228 fn default() -> Self {
15229 Self(0i32)
15230 }
15231 }
15232 #[derive(
15233 bevy_ecs :: component :: Component,
15234 PartialEq,
15235 Clone,
15236 Debug,
15237 :: derive_more :: Deref,
15238 :: derive_more :: DerefMut,
15239 )]
15240 pub struct InvulTimer(pub i32);
15241 #[allow(clippy::derivable_impls)]
15242 impl Default for InvulTimer {
15243 fn default() -> Self {
15244 Self(0i32)
15245 }
15246 }
15247 #[doc = "Marker component for `wither` entities."]
15248 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
15249 pub struct WitherEntity;
15250}
15251#[allow(clippy::module_inception)]
15252pub mod wither_skeleton {
15253 #![doc = "Parent class: [`abstract_skeleton`][super::abstract_skeleton]."]
15254 #[doc = "The bundle of components for spawning `wither_skeleton` entities."]
15255 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
15256 pub struct WitherSkeletonEntityBundle {
15257 pub wither_skeleton_entity: super::wither_skeleton::WitherSkeletonEntity,
15258 pub abstract_skeleton_entity: super::abstract_skeleton::AbstractSkeletonEntity,
15259 pub hostile_entity: super::hostile::HostileEntity,
15260 pub path_aware_entity: super::path_aware::PathAwareEntity,
15261 pub mob_entity: super::mob::MobEntity,
15262 pub mob_mob_flags: super::mob::MobFlags,
15263 pub living_entity: super::living::LivingEntity,
15264 pub living_absorption: super::living::Absorption,
15265 pub living_attributes: super::attributes::EntityAttributes,
15266 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
15267 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
15268 pub living_living_flags: super::living::LivingFlags,
15269 pub living_health: super::living::Health,
15270 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
15271 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
15272 pub living_stuck_arrow_count: super::living::StuckArrowCount,
15273 pub living_stinger_count: super::living::StingerCount,
15274 pub living_sleeping_position: super::living::SleepingPosition,
15275 pub entity: super::entity::Entity,
15276 pub entity_flags: super::entity::Flags,
15277 pub entity_air: super::entity::Air,
15278 pub entity_custom_name: super::entity::CustomName,
15279 pub entity_name_visible: super::entity::NameVisible,
15280 pub entity_silent: super::entity::Silent,
15281 pub entity_no_gravity: super::entity::NoGravity,
15282 pub entity_pose: super::entity::Pose,
15283 pub entity_frozen_ticks: super::entity::FrozenTicks,
15284 pub kind: super::EntityKind,
15285 pub id: super::EntityId,
15286 pub uuid: super::UniqueId,
15287 pub layer: super::EntityLayerId,
15288 pub old_layer: super::OldEntityLayerId,
15289 pub position: super::Position,
15290 pub old_position: super::OldPosition,
15291 pub look: super::Look,
15292 pub head_yaw: super::HeadYaw,
15293 pub on_ground: super::OnGround,
15294 pub velocity: super::Velocity,
15295 pub statuses: super::EntityStatuses,
15296 pub animations: super::EntityAnimations,
15297 pub object_data: super::ObjectData,
15298 pub tracked_data: super::tracked_data::TrackedData,
15299 }
15300 impl Default for WitherSkeletonEntityBundle {
15301 fn default() -> Self {
15302 Self {
15303 wither_skeleton_entity: Default::default(),
15304 abstract_skeleton_entity: Default::default(),
15305 hostile_entity: Default::default(),
15306 path_aware_entity: Default::default(),
15307 mob_entity: Default::default(),
15308 mob_mob_flags: Default::default(),
15309 living_entity: Default::default(),
15310 living_absorption: Default::default(),
15311 living_attributes: super::attributes::EntityAttributes::new()
15312 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
15313 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
15314 .with_attribute_and_value(
15315 super::EntityAttribute::GenericKnockbackResistance,
15316 0f64,
15317 )
15318 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
15319 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 2f64)
15320 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
15321 .with_attribute_and_value(super::EntityAttribute::GenericMovementSpeed, 0.25f64)
15322 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 20f64),
15323 living_attributes_tracker: Default::default(),
15324 living_active_status_effects: Default::default(),
15325 living_living_flags: Default::default(),
15326 living_health: Default::default(),
15327 living_potion_swirls_color: Default::default(),
15328 living_potion_swirls_ambient: Default::default(),
15329 living_stuck_arrow_count: Default::default(),
15330 living_stinger_count: Default::default(),
15331 living_sleeping_position: Default::default(),
15332 entity: Default::default(),
15333 entity_flags: Default::default(),
15334 entity_air: Default::default(),
15335 entity_custom_name: Default::default(),
15336 entity_name_visible: Default::default(),
15337 entity_silent: Default::default(),
15338 entity_no_gravity: Default::default(),
15339 entity_pose: Default::default(),
15340 entity_frozen_ticks: Default::default(),
15341 kind: super::EntityKind::WITHER_SKELETON,
15342 id: Default::default(),
15343 uuid: Default::default(),
15344 layer: Default::default(),
15345 old_layer: Default::default(),
15346 position: Default::default(),
15347 old_position: Default::default(),
15348 look: Default::default(),
15349 head_yaw: Default::default(),
15350 on_ground: Default::default(),
15351 velocity: Default::default(),
15352 statuses: Default::default(),
15353 animations: Default::default(),
15354 object_data: Default::default(),
15355 tracked_data: Default::default(),
15356 }
15357 }
15358 }
15359 #[doc = "Marker component for `wither_skeleton` entities."]
15360 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
15361 pub struct WitherSkeletonEntity;
15362}
15363#[allow(clippy::module_inception)]
15364pub mod wither_skull {
15365 #![doc = "Parent class: [`explosive_projectile`][super::explosive_projectile]."]
15366 #[doc = "The bundle of components for spawning `wither_skull` entities."]
15367 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
15368 pub struct WitherSkullEntityBundle {
15369 pub wither_skull_entity: super::wither_skull::WitherSkullEntity,
15370 pub wither_skull_charged: super::wither_skull::Charged,
15371 pub explosive_projectile_entity: super::explosive_projectile::ExplosiveProjectileEntity,
15372 pub projectile_entity: super::projectile::ProjectileEntity,
15373 pub entity: super::entity::Entity,
15374 pub entity_flags: super::entity::Flags,
15375 pub entity_air: super::entity::Air,
15376 pub entity_custom_name: super::entity::CustomName,
15377 pub entity_name_visible: super::entity::NameVisible,
15378 pub entity_silent: super::entity::Silent,
15379 pub entity_no_gravity: super::entity::NoGravity,
15380 pub entity_pose: super::entity::Pose,
15381 pub entity_frozen_ticks: super::entity::FrozenTicks,
15382 pub kind: super::EntityKind,
15383 pub id: super::EntityId,
15384 pub uuid: super::UniqueId,
15385 pub layer: super::EntityLayerId,
15386 pub old_layer: super::OldEntityLayerId,
15387 pub position: super::Position,
15388 pub old_position: super::OldPosition,
15389 pub look: super::Look,
15390 pub head_yaw: super::HeadYaw,
15391 pub on_ground: super::OnGround,
15392 pub velocity: super::Velocity,
15393 pub statuses: super::EntityStatuses,
15394 pub animations: super::EntityAnimations,
15395 pub object_data: super::ObjectData,
15396 pub tracked_data: super::tracked_data::TrackedData,
15397 }
15398 impl Default for WitherSkullEntityBundle {
15399 fn default() -> Self {
15400 Self {
15401 wither_skull_entity: Default::default(),
15402 wither_skull_charged: Default::default(),
15403 explosive_projectile_entity: Default::default(),
15404 projectile_entity: Default::default(),
15405 entity: Default::default(),
15406 entity_flags: Default::default(),
15407 entity_air: Default::default(),
15408 entity_custom_name: Default::default(),
15409 entity_name_visible: Default::default(),
15410 entity_silent: Default::default(),
15411 entity_no_gravity: Default::default(),
15412 entity_pose: Default::default(),
15413 entity_frozen_ticks: Default::default(),
15414 kind: super::EntityKind::WITHER_SKULL,
15415 id: Default::default(),
15416 uuid: Default::default(),
15417 layer: Default::default(),
15418 old_layer: Default::default(),
15419 position: Default::default(),
15420 old_position: Default::default(),
15421 look: Default::default(),
15422 head_yaw: Default::default(),
15423 on_ground: Default::default(),
15424 velocity: Default::default(),
15425 statuses: Default::default(),
15426 animations: Default::default(),
15427 object_data: Default::default(),
15428 tracked_data: Default::default(),
15429 }
15430 }
15431 }
15432 #[derive(
15433 bevy_ecs :: component :: Component,
15434 PartialEq,
15435 Clone,
15436 Debug,
15437 :: derive_more :: Deref,
15438 :: derive_more :: DerefMut,
15439 )]
15440 pub struct Charged(pub bool);
15441 #[allow(clippy::derivable_impls)]
15442 impl Default for Charged {
15443 fn default() -> Self {
15444 Self(false)
15445 }
15446 }
15447 #[doc = "Marker component for `wither_skull` entities."]
15448 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
15449 pub struct WitherSkullEntity;
15450}
15451#[allow(clippy::module_inception)]
15452pub mod wolf {
15453 #![doc = "Parent class: [`tameable`][super::tameable]."]
15454 #[doc = "The bundle of components for spawning `wolf` entities."]
15455 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
15456 pub struct WolfEntityBundle {
15457 pub wolf_entity: super::wolf::WolfEntity,
15458 pub wolf_begging: super::wolf::Begging,
15459 pub wolf_collar_color: super::wolf::CollarColor,
15460 pub wolf_anger_time: super::wolf::AngerTime,
15461 pub tameable_entity: super::tameable::TameableEntity,
15462 pub tameable_tameable_flags: super::tameable::TameableFlags,
15463 pub tameable_owner_uuid: super::tameable::OwnerUuid,
15464 pub animal_entity: super::animal::AnimalEntity,
15465 pub passive_entity: super::passive::PassiveEntity,
15466 pub passive_child: super::passive::Child,
15467 pub path_aware_entity: super::path_aware::PathAwareEntity,
15468 pub mob_entity: super::mob::MobEntity,
15469 pub mob_mob_flags: super::mob::MobFlags,
15470 pub living_entity: super::living::LivingEntity,
15471 pub living_absorption: super::living::Absorption,
15472 pub living_attributes: super::attributes::EntityAttributes,
15473 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
15474 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
15475 pub living_living_flags: super::living::LivingFlags,
15476 pub living_health: super::living::Health,
15477 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
15478 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
15479 pub living_stuck_arrow_count: super::living::StuckArrowCount,
15480 pub living_stinger_count: super::living::StingerCount,
15481 pub living_sleeping_position: super::living::SleepingPosition,
15482 pub entity: super::entity::Entity,
15483 pub entity_flags: super::entity::Flags,
15484 pub entity_air: super::entity::Air,
15485 pub entity_custom_name: super::entity::CustomName,
15486 pub entity_name_visible: super::entity::NameVisible,
15487 pub entity_silent: super::entity::Silent,
15488 pub entity_no_gravity: super::entity::NoGravity,
15489 pub entity_pose: super::entity::Pose,
15490 pub entity_frozen_ticks: super::entity::FrozenTicks,
15491 pub kind: super::EntityKind,
15492 pub id: super::EntityId,
15493 pub uuid: super::UniqueId,
15494 pub layer: super::EntityLayerId,
15495 pub old_layer: super::OldEntityLayerId,
15496 pub position: super::Position,
15497 pub old_position: super::OldPosition,
15498 pub look: super::Look,
15499 pub head_yaw: super::HeadYaw,
15500 pub on_ground: super::OnGround,
15501 pub velocity: super::Velocity,
15502 pub statuses: super::EntityStatuses,
15503 pub animations: super::EntityAnimations,
15504 pub object_data: super::ObjectData,
15505 pub tracked_data: super::tracked_data::TrackedData,
15506 }
15507 impl Default for WolfEntityBundle {
15508 fn default() -> Self {
15509 Self {
15510 wolf_entity: Default::default(),
15511 wolf_begging: Default::default(),
15512 wolf_collar_color: Default::default(),
15513 wolf_anger_time: Default::default(),
15514 tameable_entity: Default::default(),
15515 tameable_tameable_flags: Default::default(),
15516 tameable_owner_uuid: Default::default(),
15517 animal_entity: Default::default(),
15518 passive_entity: Default::default(),
15519 passive_child: Default::default(),
15520 path_aware_entity: Default::default(),
15521 mob_entity: Default::default(),
15522 mob_mob_flags: Default::default(),
15523 living_entity: Default::default(),
15524 living_absorption: Default::default(),
15525 living_attributes: super::attributes::EntityAttributes::new()
15526 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
15527 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
15528 .with_attribute_and_value(
15529 super::EntityAttribute::GenericKnockbackResistance,
15530 0f64,
15531 )
15532 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
15533 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 2f64)
15534 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
15535 .with_attribute_and_value(
15536 super::EntityAttribute::GenericMovementSpeed,
15537 0.30000001192092896f64,
15538 )
15539 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 8f64),
15540 living_attributes_tracker: Default::default(),
15541 living_active_status_effects: Default::default(),
15542 living_living_flags: Default::default(),
15543 living_health: Default::default(),
15544 living_potion_swirls_color: Default::default(),
15545 living_potion_swirls_ambient: Default::default(),
15546 living_stuck_arrow_count: Default::default(),
15547 living_stinger_count: Default::default(),
15548 living_sleeping_position: Default::default(),
15549 entity: Default::default(),
15550 entity_flags: Default::default(),
15551 entity_air: Default::default(),
15552 entity_custom_name: Default::default(),
15553 entity_name_visible: Default::default(),
15554 entity_silent: Default::default(),
15555 entity_no_gravity: Default::default(),
15556 entity_pose: Default::default(),
15557 entity_frozen_ticks: Default::default(),
15558 kind: super::EntityKind::WOLF,
15559 id: Default::default(),
15560 uuid: Default::default(),
15561 layer: Default::default(),
15562 old_layer: Default::default(),
15563 position: Default::default(),
15564 old_position: Default::default(),
15565 look: Default::default(),
15566 head_yaw: Default::default(),
15567 on_ground: Default::default(),
15568 velocity: Default::default(),
15569 statuses: Default::default(),
15570 animations: Default::default(),
15571 object_data: Default::default(),
15572 tracked_data: Default::default(),
15573 }
15574 }
15575 }
15576 #[derive(
15577 bevy_ecs :: component :: Component,
15578 PartialEq,
15579 Clone,
15580 Debug,
15581 :: derive_more :: Deref,
15582 :: derive_more :: DerefMut,
15583 )]
15584 pub struct Begging(pub bool);
15585 #[allow(clippy::derivable_impls)]
15586 impl Default for Begging {
15587 fn default() -> Self {
15588 Self(false)
15589 }
15590 }
15591 #[derive(
15592 bevy_ecs :: component :: Component,
15593 PartialEq,
15594 Clone,
15595 Debug,
15596 :: derive_more :: Deref,
15597 :: derive_more :: DerefMut,
15598 )]
15599 pub struct CollarColor(pub i32);
15600 #[allow(clippy::derivable_impls)]
15601 impl Default for CollarColor {
15602 fn default() -> Self {
15603 Self(14i32)
15604 }
15605 }
15606 #[derive(
15607 bevy_ecs :: component :: Component,
15608 PartialEq,
15609 Clone,
15610 Debug,
15611 :: derive_more :: Deref,
15612 :: derive_more :: DerefMut,
15613 )]
15614 pub struct AngerTime(pub i32);
15615 #[allow(clippy::derivable_impls)]
15616 impl Default for AngerTime {
15617 fn default() -> Self {
15618 Self(0i32)
15619 }
15620 }
15621 #[doc = "Marker component for `wolf` entities."]
15622 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
15623 pub struct WolfEntity;
15624}
15625#[allow(clippy::module_inception)]
15626pub mod zoglin {
15627 #![doc = "Parent class: [`hostile`][super::hostile]."]
15628 #[doc = "The bundle of components for spawning `zoglin` entities."]
15629 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
15630 pub struct ZoglinEntityBundle {
15631 pub zoglin_entity: super::zoglin::ZoglinEntity,
15632 pub zoglin_baby: super::zoglin::Baby,
15633 pub hostile_entity: super::hostile::HostileEntity,
15634 pub path_aware_entity: super::path_aware::PathAwareEntity,
15635 pub mob_entity: super::mob::MobEntity,
15636 pub mob_mob_flags: super::mob::MobFlags,
15637 pub living_entity: super::living::LivingEntity,
15638 pub living_absorption: super::living::Absorption,
15639 pub living_attributes: super::attributes::EntityAttributes,
15640 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
15641 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
15642 pub living_living_flags: super::living::LivingFlags,
15643 pub living_health: super::living::Health,
15644 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
15645 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
15646 pub living_stuck_arrow_count: super::living::StuckArrowCount,
15647 pub living_stinger_count: super::living::StingerCount,
15648 pub living_sleeping_position: super::living::SleepingPosition,
15649 pub entity: super::entity::Entity,
15650 pub entity_flags: super::entity::Flags,
15651 pub entity_air: super::entity::Air,
15652 pub entity_custom_name: super::entity::CustomName,
15653 pub entity_name_visible: super::entity::NameVisible,
15654 pub entity_silent: super::entity::Silent,
15655 pub entity_no_gravity: super::entity::NoGravity,
15656 pub entity_pose: super::entity::Pose,
15657 pub entity_frozen_ticks: super::entity::FrozenTicks,
15658 pub kind: super::EntityKind,
15659 pub id: super::EntityId,
15660 pub uuid: super::UniqueId,
15661 pub layer: super::EntityLayerId,
15662 pub old_layer: super::OldEntityLayerId,
15663 pub position: super::Position,
15664 pub old_position: super::OldPosition,
15665 pub look: super::Look,
15666 pub head_yaw: super::HeadYaw,
15667 pub on_ground: super::OnGround,
15668 pub velocity: super::Velocity,
15669 pub statuses: super::EntityStatuses,
15670 pub animations: super::EntityAnimations,
15671 pub object_data: super::ObjectData,
15672 pub tracked_data: super::tracked_data::TrackedData,
15673 }
15674 impl Default for ZoglinEntityBundle {
15675 fn default() -> Self {
15676 Self {
15677 zoglin_entity: Default::default(),
15678 zoglin_baby: Default::default(),
15679 hostile_entity: Default::default(),
15680 path_aware_entity: Default::default(),
15681 mob_entity: Default::default(),
15682 mob_mob_flags: Default::default(),
15683 living_entity: Default::default(),
15684 living_absorption: Default::default(),
15685 living_attributes: super::attributes::EntityAttributes::new()
15686 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
15687 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 1f64)
15688 .with_attribute_and_value(
15689 super::EntityAttribute::GenericKnockbackResistance,
15690 0.6000000238418579f64,
15691 )
15692 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
15693 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 6f64)
15694 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
15695 .with_attribute_and_value(
15696 super::EntityAttribute::GenericMovementSpeed,
15697 0.30000001192092896f64,
15698 )
15699 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 40f64),
15700 living_attributes_tracker: Default::default(),
15701 living_active_status_effects: Default::default(),
15702 living_living_flags: Default::default(),
15703 living_health: Default::default(),
15704 living_potion_swirls_color: Default::default(),
15705 living_potion_swirls_ambient: Default::default(),
15706 living_stuck_arrow_count: Default::default(),
15707 living_stinger_count: Default::default(),
15708 living_sleeping_position: Default::default(),
15709 entity: Default::default(),
15710 entity_flags: Default::default(),
15711 entity_air: Default::default(),
15712 entity_custom_name: Default::default(),
15713 entity_name_visible: Default::default(),
15714 entity_silent: Default::default(),
15715 entity_no_gravity: Default::default(),
15716 entity_pose: Default::default(),
15717 entity_frozen_ticks: Default::default(),
15718 kind: super::EntityKind::ZOGLIN,
15719 id: Default::default(),
15720 uuid: Default::default(),
15721 layer: Default::default(),
15722 old_layer: Default::default(),
15723 position: Default::default(),
15724 old_position: Default::default(),
15725 look: Default::default(),
15726 head_yaw: Default::default(),
15727 on_ground: Default::default(),
15728 velocity: Default::default(),
15729 statuses: Default::default(),
15730 animations: Default::default(),
15731 object_data: Default::default(),
15732 tracked_data: Default::default(),
15733 }
15734 }
15735 }
15736 #[derive(
15737 bevy_ecs :: component :: Component,
15738 PartialEq,
15739 Clone,
15740 Debug,
15741 :: derive_more :: Deref,
15742 :: derive_more :: DerefMut,
15743 )]
15744 pub struct Baby(pub bool);
15745 #[allow(clippy::derivable_impls)]
15746 impl Default for Baby {
15747 fn default() -> Self {
15748 Self(false)
15749 }
15750 }
15751 #[doc = "Marker component for `zoglin` entities."]
15752 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
15753 pub struct ZoglinEntity;
15754}
15755#[allow(clippy::module_inception)]
15756pub mod zombie {
15757 #![doc = "Parent class: [`hostile`][super::hostile]."]
15758 #[doc = "The bundle of components for spawning `zombie` entities."]
15759 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
15760 pub struct ZombieEntityBundle {
15761 pub zombie_entity: super::zombie::ZombieEntity,
15762 pub zombie_baby: super::zombie::Baby,
15763 pub zombie_zombie_type: super::zombie::ZombieType,
15764 pub zombie_converting_in_water: super::zombie::ConvertingInWater,
15765 pub hostile_entity: super::hostile::HostileEntity,
15766 pub path_aware_entity: super::path_aware::PathAwareEntity,
15767 pub mob_entity: super::mob::MobEntity,
15768 pub mob_mob_flags: super::mob::MobFlags,
15769 pub living_entity: super::living::LivingEntity,
15770 pub living_absorption: super::living::Absorption,
15771 pub living_attributes: super::attributes::EntityAttributes,
15772 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
15773 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
15774 pub living_living_flags: super::living::LivingFlags,
15775 pub living_health: super::living::Health,
15776 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
15777 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
15778 pub living_stuck_arrow_count: super::living::StuckArrowCount,
15779 pub living_stinger_count: super::living::StingerCount,
15780 pub living_sleeping_position: super::living::SleepingPosition,
15781 pub entity: super::entity::Entity,
15782 pub entity_flags: super::entity::Flags,
15783 pub entity_air: super::entity::Air,
15784 pub entity_custom_name: super::entity::CustomName,
15785 pub entity_name_visible: super::entity::NameVisible,
15786 pub entity_silent: super::entity::Silent,
15787 pub entity_no_gravity: super::entity::NoGravity,
15788 pub entity_pose: super::entity::Pose,
15789 pub entity_frozen_ticks: super::entity::FrozenTicks,
15790 pub kind: super::EntityKind,
15791 pub id: super::EntityId,
15792 pub uuid: super::UniqueId,
15793 pub layer: super::EntityLayerId,
15794 pub old_layer: super::OldEntityLayerId,
15795 pub position: super::Position,
15796 pub old_position: super::OldPosition,
15797 pub look: super::Look,
15798 pub head_yaw: super::HeadYaw,
15799 pub on_ground: super::OnGround,
15800 pub velocity: super::Velocity,
15801 pub statuses: super::EntityStatuses,
15802 pub animations: super::EntityAnimations,
15803 pub object_data: super::ObjectData,
15804 pub tracked_data: super::tracked_data::TrackedData,
15805 }
15806 impl Default for ZombieEntityBundle {
15807 fn default() -> Self {
15808 Self {
15809 zombie_entity: Default::default(),
15810 zombie_baby: Default::default(),
15811 zombie_zombie_type: Default::default(),
15812 zombie_converting_in_water: Default::default(),
15813 hostile_entity: Default::default(),
15814 path_aware_entity: Default::default(),
15815 mob_entity: Default::default(),
15816 mob_mob_flags: Default::default(),
15817 living_entity: Default::default(),
15818 living_absorption: Default::default(),
15819 living_attributes: super::attributes::EntityAttributes::new()
15820 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
15821 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
15822 .with_attribute_and_value(
15823 super::EntityAttribute::GenericKnockbackResistance,
15824 0f64,
15825 )
15826 .with_attribute_and_value(
15827 super::EntityAttribute::ZombieSpawnReinforcements,
15828 0f64,
15829 )
15830 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 2f64)
15831 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 3f64)
15832 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 35f64)
15833 .with_attribute_and_value(
15834 super::EntityAttribute::GenericMovementSpeed,
15835 0.2300000041723251f64,
15836 )
15837 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 20f64),
15838 living_attributes_tracker: Default::default(),
15839 living_active_status_effects: Default::default(),
15840 living_living_flags: Default::default(),
15841 living_health: Default::default(),
15842 living_potion_swirls_color: Default::default(),
15843 living_potion_swirls_ambient: Default::default(),
15844 living_stuck_arrow_count: Default::default(),
15845 living_stinger_count: Default::default(),
15846 living_sleeping_position: Default::default(),
15847 entity: Default::default(),
15848 entity_flags: Default::default(),
15849 entity_air: Default::default(),
15850 entity_custom_name: Default::default(),
15851 entity_name_visible: Default::default(),
15852 entity_silent: Default::default(),
15853 entity_no_gravity: Default::default(),
15854 entity_pose: Default::default(),
15855 entity_frozen_ticks: Default::default(),
15856 kind: super::EntityKind::ZOMBIE,
15857 id: Default::default(),
15858 uuid: Default::default(),
15859 layer: Default::default(),
15860 old_layer: Default::default(),
15861 position: Default::default(),
15862 old_position: Default::default(),
15863 look: Default::default(),
15864 head_yaw: Default::default(),
15865 on_ground: Default::default(),
15866 velocity: Default::default(),
15867 statuses: Default::default(),
15868 animations: Default::default(),
15869 object_data: Default::default(),
15870 tracked_data: Default::default(),
15871 }
15872 }
15873 }
15874 #[derive(
15875 bevy_ecs :: component :: Component,
15876 PartialEq,
15877 Clone,
15878 Debug,
15879 :: derive_more :: Deref,
15880 :: derive_more :: DerefMut,
15881 )]
15882 pub struct Baby(pub bool);
15883 #[allow(clippy::derivable_impls)]
15884 impl Default for Baby {
15885 fn default() -> Self {
15886 Self(false)
15887 }
15888 }
15889 #[derive(
15890 bevy_ecs :: component :: Component,
15891 PartialEq,
15892 Clone,
15893 Debug,
15894 :: derive_more :: Deref,
15895 :: derive_more :: DerefMut,
15896 )]
15897 pub struct ZombieType(pub i32);
15898 #[allow(clippy::derivable_impls)]
15899 impl Default for ZombieType {
15900 fn default() -> Self {
15901 Self(0i32)
15902 }
15903 }
15904 #[derive(
15905 bevy_ecs :: component :: Component,
15906 PartialEq,
15907 Clone,
15908 Debug,
15909 :: derive_more :: Deref,
15910 :: derive_more :: DerefMut,
15911 )]
15912 pub struct ConvertingInWater(pub bool);
15913 #[allow(clippy::derivable_impls)]
15914 impl Default for ConvertingInWater {
15915 fn default() -> Self {
15916 Self(false)
15917 }
15918 }
15919 #[doc = "Marker component for `zombie` entities."]
15920 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
15921 pub struct ZombieEntity;
15922}
15923#[allow(clippy::module_inception)]
15924pub mod zombie_horse {
15925 #![doc = "Parent class: [`abstract_horse`][super::abstract_horse]."]
15926 #[doc = "The bundle of components for spawning `zombie_horse` entities."]
15927 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
15928 pub struct ZombieHorseEntityBundle {
15929 pub zombie_horse_entity: super::zombie_horse::ZombieHorseEntity,
15930 pub abstract_horse_entity: super::abstract_horse::AbstractHorseEntity,
15931 pub abstract_horse_horse_flags: super::abstract_horse::HorseFlags,
15932 pub animal_entity: super::animal::AnimalEntity,
15933 pub passive_entity: super::passive::PassiveEntity,
15934 pub passive_child: super::passive::Child,
15935 pub path_aware_entity: super::path_aware::PathAwareEntity,
15936 pub mob_entity: super::mob::MobEntity,
15937 pub mob_mob_flags: super::mob::MobFlags,
15938 pub living_entity: super::living::LivingEntity,
15939 pub living_absorption: super::living::Absorption,
15940 pub living_attributes: super::attributes::EntityAttributes,
15941 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
15942 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
15943 pub living_living_flags: super::living::LivingFlags,
15944 pub living_health: super::living::Health,
15945 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
15946 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
15947 pub living_stuck_arrow_count: super::living::StuckArrowCount,
15948 pub living_stinger_count: super::living::StingerCount,
15949 pub living_sleeping_position: super::living::SleepingPosition,
15950 pub entity: super::entity::Entity,
15951 pub entity_flags: super::entity::Flags,
15952 pub entity_air: super::entity::Air,
15953 pub entity_custom_name: super::entity::CustomName,
15954 pub entity_name_visible: super::entity::NameVisible,
15955 pub entity_silent: super::entity::Silent,
15956 pub entity_no_gravity: super::entity::NoGravity,
15957 pub entity_pose: super::entity::Pose,
15958 pub entity_frozen_ticks: super::entity::FrozenTicks,
15959 pub kind: super::EntityKind,
15960 pub id: super::EntityId,
15961 pub uuid: super::UniqueId,
15962 pub layer: super::EntityLayerId,
15963 pub old_layer: super::OldEntityLayerId,
15964 pub position: super::Position,
15965 pub old_position: super::OldPosition,
15966 pub look: super::Look,
15967 pub head_yaw: super::HeadYaw,
15968 pub on_ground: super::OnGround,
15969 pub velocity: super::Velocity,
15970 pub statuses: super::EntityStatuses,
15971 pub animations: super::EntityAnimations,
15972 pub object_data: super::ObjectData,
15973 pub tracked_data: super::tracked_data::TrackedData,
15974 }
15975 impl Default for ZombieHorseEntityBundle {
15976 fn default() -> Self {
15977 Self {
15978 zombie_horse_entity: Default::default(),
15979 abstract_horse_entity: Default::default(),
15980 abstract_horse_horse_flags: Default::default(),
15981 animal_entity: Default::default(),
15982 passive_entity: Default::default(),
15983 passive_child: Default::default(),
15984 path_aware_entity: Default::default(),
15985 mob_entity: Default::default(),
15986 mob_mob_flags: Default::default(),
15987 living_entity: Default::default(),
15988 living_absorption: Default::default(),
15989 living_attributes: super::attributes::EntityAttributes::new()
15990 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
15991 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
15992 .with_attribute_and_value(
15993 super::EntityAttribute::GenericKnockbackResistance,
15994 0f64,
15995 )
15996 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 0f64)
15997 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 16f64)
15998 .with_attribute_and_value(super::EntityAttribute::HorseJumpStrength, 0.7f64)
15999 .with_attribute_and_value(
16000 super::EntityAttribute::GenericMovementSpeed,
16001 0.20000000298023224f64,
16002 )
16003 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 15f64),
16004 living_attributes_tracker: Default::default(),
16005 living_active_status_effects: Default::default(),
16006 living_living_flags: Default::default(),
16007 living_health: Default::default(),
16008 living_potion_swirls_color: Default::default(),
16009 living_potion_swirls_ambient: Default::default(),
16010 living_stuck_arrow_count: Default::default(),
16011 living_stinger_count: Default::default(),
16012 living_sleeping_position: Default::default(),
16013 entity: Default::default(),
16014 entity_flags: Default::default(),
16015 entity_air: Default::default(),
16016 entity_custom_name: Default::default(),
16017 entity_name_visible: Default::default(),
16018 entity_silent: Default::default(),
16019 entity_no_gravity: Default::default(),
16020 entity_pose: Default::default(),
16021 entity_frozen_ticks: Default::default(),
16022 kind: super::EntityKind::ZOMBIE_HORSE,
16023 id: Default::default(),
16024 uuid: Default::default(),
16025 layer: Default::default(),
16026 old_layer: Default::default(),
16027 position: Default::default(),
16028 old_position: Default::default(),
16029 look: Default::default(),
16030 head_yaw: Default::default(),
16031 on_ground: Default::default(),
16032 velocity: Default::default(),
16033 statuses: Default::default(),
16034 animations: Default::default(),
16035 object_data: Default::default(),
16036 tracked_data: Default::default(),
16037 }
16038 }
16039 }
16040 #[doc = "Marker component for `zombie_horse` entities."]
16041 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
16042 pub struct ZombieHorseEntity;
16043}
16044#[allow(clippy::module_inception)]
16045pub mod zombie_villager {
16046 #![doc = "Parent class: [`zombie`][super::zombie]."]
16047 #[doc = "The bundle of components for spawning `zombie_villager` entities."]
16048 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
16049 pub struct ZombieVillagerEntityBundle {
16050 pub zombie_villager_entity: super::zombie_villager::ZombieVillagerEntity,
16051 pub zombie_villager_converting: super::zombie_villager::Converting,
16052 pub zombie_villager_villager_data: super::zombie_villager::VillagerData,
16053 pub zombie_entity: super::zombie::ZombieEntity,
16054 pub zombie_baby: super::zombie::Baby,
16055 pub zombie_zombie_type: super::zombie::ZombieType,
16056 pub zombie_converting_in_water: super::zombie::ConvertingInWater,
16057 pub hostile_entity: super::hostile::HostileEntity,
16058 pub path_aware_entity: super::path_aware::PathAwareEntity,
16059 pub mob_entity: super::mob::MobEntity,
16060 pub mob_mob_flags: super::mob::MobFlags,
16061 pub living_entity: super::living::LivingEntity,
16062 pub living_absorption: super::living::Absorption,
16063 pub living_attributes: super::attributes::EntityAttributes,
16064 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
16065 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
16066 pub living_living_flags: super::living::LivingFlags,
16067 pub living_health: super::living::Health,
16068 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
16069 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
16070 pub living_stuck_arrow_count: super::living::StuckArrowCount,
16071 pub living_stinger_count: super::living::StingerCount,
16072 pub living_sleeping_position: super::living::SleepingPosition,
16073 pub entity: super::entity::Entity,
16074 pub entity_flags: super::entity::Flags,
16075 pub entity_air: super::entity::Air,
16076 pub entity_custom_name: super::entity::CustomName,
16077 pub entity_name_visible: super::entity::NameVisible,
16078 pub entity_silent: super::entity::Silent,
16079 pub entity_no_gravity: super::entity::NoGravity,
16080 pub entity_pose: super::entity::Pose,
16081 pub entity_frozen_ticks: super::entity::FrozenTicks,
16082 pub kind: super::EntityKind,
16083 pub id: super::EntityId,
16084 pub uuid: super::UniqueId,
16085 pub layer: super::EntityLayerId,
16086 pub old_layer: super::OldEntityLayerId,
16087 pub position: super::Position,
16088 pub old_position: super::OldPosition,
16089 pub look: super::Look,
16090 pub head_yaw: super::HeadYaw,
16091 pub on_ground: super::OnGround,
16092 pub velocity: super::Velocity,
16093 pub statuses: super::EntityStatuses,
16094 pub animations: super::EntityAnimations,
16095 pub object_data: super::ObjectData,
16096 pub tracked_data: super::tracked_data::TrackedData,
16097 }
16098 impl Default for ZombieVillagerEntityBundle {
16099 fn default() -> Self {
16100 Self {
16101 zombie_villager_entity: Default::default(),
16102 zombie_villager_converting: Default::default(),
16103 zombie_villager_villager_data: Default::default(),
16104 zombie_entity: Default::default(),
16105 zombie_baby: Default::default(),
16106 zombie_zombie_type: Default::default(),
16107 zombie_converting_in_water: Default::default(),
16108 hostile_entity: Default::default(),
16109 path_aware_entity: Default::default(),
16110 mob_entity: Default::default(),
16111 mob_mob_flags: Default::default(),
16112 living_entity: Default::default(),
16113 living_absorption: Default::default(),
16114 living_attributes: super::attributes::EntityAttributes::new()
16115 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
16116 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
16117 .with_attribute_and_value(
16118 super::EntityAttribute::GenericKnockbackResistance,
16119 0f64,
16120 )
16121 .with_attribute_and_value(
16122 super::EntityAttribute::ZombieSpawnReinforcements,
16123 0f64,
16124 )
16125 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 2f64)
16126 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 3f64)
16127 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 35f64)
16128 .with_attribute_and_value(
16129 super::EntityAttribute::GenericMovementSpeed,
16130 0.2300000041723251f64,
16131 )
16132 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 20f64),
16133 living_attributes_tracker: Default::default(),
16134 living_active_status_effects: Default::default(),
16135 living_living_flags: Default::default(),
16136 living_health: Default::default(),
16137 living_potion_swirls_color: Default::default(),
16138 living_potion_swirls_ambient: Default::default(),
16139 living_stuck_arrow_count: Default::default(),
16140 living_stinger_count: Default::default(),
16141 living_sleeping_position: Default::default(),
16142 entity: Default::default(),
16143 entity_flags: Default::default(),
16144 entity_air: Default::default(),
16145 entity_custom_name: Default::default(),
16146 entity_name_visible: Default::default(),
16147 entity_silent: Default::default(),
16148 entity_no_gravity: Default::default(),
16149 entity_pose: Default::default(),
16150 entity_frozen_ticks: Default::default(),
16151 kind: super::EntityKind::ZOMBIE_VILLAGER,
16152 id: Default::default(),
16153 uuid: Default::default(),
16154 layer: Default::default(),
16155 old_layer: Default::default(),
16156 position: Default::default(),
16157 old_position: Default::default(),
16158 look: Default::default(),
16159 head_yaw: Default::default(),
16160 on_ground: Default::default(),
16161 velocity: Default::default(),
16162 statuses: Default::default(),
16163 animations: Default::default(),
16164 object_data: Default::default(),
16165 tracked_data: Default::default(),
16166 }
16167 }
16168 }
16169 #[derive(
16170 bevy_ecs :: component :: Component,
16171 PartialEq,
16172 Clone,
16173 Debug,
16174 :: derive_more :: Deref,
16175 :: derive_more :: DerefMut,
16176 )]
16177 pub struct Converting(pub bool);
16178 #[allow(clippy::derivable_impls)]
16179 impl Default for Converting {
16180 fn default() -> Self {
16181 Self(false)
16182 }
16183 }
16184 #[derive(
16185 bevy_ecs :: component :: Component,
16186 PartialEq,
16187 Clone,
16188 Debug,
16189 :: derive_more :: Deref,
16190 :: derive_more :: DerefMut,
16191 )]
16192 pub struct VillagerData(pub crate::VillagerData);
16193 #[allow(clippy::derivable_impls)]
16194 impl Default for VillagerData {
16195 fn default() -> Self {
16196 Self(crate::VillagerData {
16197 kind: crate::VillagerKind::Plains,
16198 profession: crate::VillagerProfession::None,
16199 level: 1i32,
16200 })
16201 }
16202 }
16203 #[doc = "Marker component for `zombie_villager` entities."]
16204 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
16205 pub struct ZombieVillagerEntity;
16206}
16207#[allow(clippy::module_inception)]
16208pub mod zombified_piglin {
16209 #![doc = "Parent class: [`zombie`][super::zombie]."]
16210 #[doc = "The bundle of components for spawning `zombified_piglin` entities."]
16211 #[derive(bevy_ecs :: bundle :: Bundle, Debug)]
16212 pub struct ZombifiedPiglinEntityBundle {
16213 pub zombified_piglin_entity: super::zombified_piglin::ZombifiedPiglinEntity,
16214 pub zombie_entity: super::zombie::ZombieEntity,
16215 pub zombie_baby: super::zombie::Baby,
16216 pub zombie_zombie_type: super::zombie::ZombieType,
16217 pub zombie_converting_in_water: super::zombie::ConvertingInWater,
16218 pub hostile_entity: super::hostile::HostileEntity,
16219 pub path_aware_entity: super::path_aware::PathAwareEntity,
16220 pub mob_entity: super::mob::MobEntity,
16221 pub mob_mob_flags: super::mob::MobFlags,
16222 pub living_entity: super::living::LivingEntity,
16223 pub living_absorption: super::living::Absorption,
16224 pub living_attributes: super::attributes::EntityAttributes,
16225 pub living_attributes_tracker: super::attributes::TrackedEntityAttributes,
16226 pub living_active_status_effects: super::active_status_effects::ActiveStatusEffects,
16227 pub living_living_flags: super::living::LivingFlags,
16228 pub living_health: super::living::Health,
16229 pub living_potion_swirls_color: super::living::PotionSwirlsColor,
16230 pub living_potion_swirls_ambient: super::living::PotionSwirlsAmbient,
16231 pub living_stuck_arrow_count: super::living::StuckArrowCount,
16232 pub living_stinger_count: super::living::StingerCount,
16233 pub living_sleeping_position: super::living::SleepingPosition,
16234 pub entity: super::entity::Entity,
16235 pub entity_flags: super::entity::Flags,
16236 pub entity_air: super::entity::Air,
16237 pub entity_custom_name: super::entity::CustomName,
16238 pub entity_name_visible: super::entity::NameVisible,
16239 pub entity_silent: super::entity::Silent,
16240 pub entity_no_gravity: super::entity::NoGravity,
16241 pub entity_pose: super::entity::Pose,
16242 pub entity_frozen_ticks: super::entity::FrozenTicks,
16243 pub kind: super::EntityKind,
16244 pub id: super::EntityId,
16245 pub uuid: super::UniqueId,
16246 pub layer: super::EntityLayerId,
16247 pub old_layer: super::OldEntityLayerId,
16248 pub position: super::Position,
16249 pub old_position: super::OldPosition,
16250 pub look: super::Look,
16251 pub head_yaw: super::HeadYaw,
16252 pub on_ground: super::OnGround,
16253 pub velocity: super::Velocity,
16254 pub statuses: super::EntityStatuses,
16255 pub animations: super::EntityAnimations,
16256 pub object_data: super::ObjectData,
16257 pub tracked_data: super::tracked_data::TrackedData,
16258 }
16259 impl Default for ZombifiedPiglinEntityBundle {
16260 fn default() -> Self {
16261 Self {
16262 zombified_piglin_entity: Default::default(),
16263 zombie_entity: Default::default(),
16264 zombie_baby: Default::default(),
16265 zombie_zombie_type: Default::default(),
16266 zombie_converting_in_water: Default::default(),
16267 hostile_entity: Default::default(),
16268 path_aware_entity: Default::default(),
16269 mob_entity: Default::default(),
16270 mob_mob_flags: Default::default(),
16271 living_entity: Default::default(),
16272 living_absorption: Default::default(),
16273 living_attributes: super::attributes::EntityAttributes::new()
16274 .with_attribute_and_value(super::EntityAttribute::GenericArmorToughness, 0f64)
16275 .with_attribute_and_value(super::EntityAttribute::GenericAttackKnockback, 0f64)
16276 .with_attribute_and_value(
16277 super::EntityAttribute::GenericKnockbackResistance,
16278 0f64,
16279 )
16280 .with_attribute_and_value(
16281 super::EntityAttribute::ZombieSpawnReinforcements,
16282 0f64,
16283 )
16284 .with_attribute_and_value(super::EntityAttribute::GenericArmor, 2f64)
16285 .with_attribute_and_value(super::EntityAttribute::GenericAttackDamage, 5f64)
16286 .with_attribute_and_value(super::EntityAttribute::GenericFollowRange, 35f64)
16287 .with_attribute_and_value(
16288 super::EntityAttribute::GenericMovementSpeed,
16289 0.2300000041723251f64,
16290 )
16291 .with_attribute_and_value(super::EntityAttribute::GenericMaxHealth, 20f64),
16292 living_attributes_tracker: Default::default(),
16293 living_active_status_effects: Default::default(),
16294 living_living_flags: Default::default(),
16295 living_health: Default::default(),
16296 living_potion_swirls_color: Default::default(),
16297 living_potion_swirls_ambient: Default::default(),
16298 living_stuck_arrow_count: Default::default(),
16299 living_stinger_count: Default::default(),
16300 living_sleeping_position: Default::default(),
16301 entity: Default::default(),
16302 entity_flags: Default::default(),
16303 entity_air: Default::default(),
16304 entity_custom_name: Default::default(),
16305 entity_name_visible: Default::default(),
16306 entity_silent: Default::default(),
16307 entity_no_gravity: Default::default(),
16308 entity_pose: Default::default(),
16309 entity_frozen_ticks: Default::default(),
16310 kind: super::EntityKind::ZOMBIFIED_PIGLIN,
16311 id: Default::default(),
16312 uuid: Default::default(),
16313 layer: Default::default(),
16314 old_layer: Default::default(),
16315 position: Default::default(),
16316 old_position: Default::default(),
16317 look: Default::default(),
16318 head_yaw: Default::default(),
16319 on_ground: Default::default(),
16320 velocity: Default::default(),
16321 statuses: Default::default(),
16322 animations: Default::default(),
16323 object_data: Default::default(),
16324 tracked_data: Default::default(),
16325 }
16326 }
16327 }
16328 #[doc = "Marker component for `zombified_piglin` entities."]
16329 #[derive(bevy_ecs :: component :: Component, Copy, Clone, Default, Debug)]
16330 pub struct ZombifiedPiglinEntity;
16331}
16332#[doc = "Identifies the type of an entity."]
16333#[doc = "As a component, the entity kind should not be modified."]
16334#[derive(
16335 Component, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Default, :: derive_more :: Deref,
16336)]
16337pub struct EntityKind(i32);
16338impl EntityKind {
16339 pub const ALLAY: EntityKind = EntityKind(0i32);
16340 pub const AREA_EFFECT_CLOUD: EntityKind = EntityKind(1i32);
16341 pub const ARMOR_STAND: EntityKind = EntityKind(2i32);
16342 pub const ARROW: EntityKind = EntityKind(3i32);
16343 pub const AXOLOTL: EntityKind = EntityKind(4i32);
16344 pub const BAT: EntityKind = EntityKind(5i32);
16345 pub const BEE: EntityKind = EntityKind(6i32);
16346 pub const BLAZE: EntityKind = EntityKind(7i32);
16347 pub const BLOCK_DISPLAY: EntityKind = EntityKind(8i32);
16348 pub const BOAT: EntityKind = EntityKind(9i32);
16349 pub const CAMEL: EntityKind = EntityKind(10i32);
16350 pub const CAT: EntityKind = EntityKind(11i32);
16351 pub const CAVE_SPIDER: EntityKind = EntityKind(12i32);
16352 pub const CHEST_BOAT: EntityKind = EntityKind(13i32);
16353 pub const CHEST_MINECART: EntityKind = EntityKind(14i32);
16354 pub const CHICKEN: EntityKind = EntityKind(15i32);
16355 pub const COD: EntityKind = EntityKind(16i32);
16356 pub const COMMAND_BLOCK_MINECART: EntityKind = EntityKind(17i32);
16357 pub const COW: EntityKind = EntityKind(18i32);
16358 pub const CREEPER: EntityKind = EntityKind(19i32);
16359 pub const DOLPHIN: EntityKind = EntityKind(20i32);
16360 pub const DONKEY: EntityKind = EntityKind(21i32);
16361 pub const DRAGON_FIREBALL: EntityKind = EntityKind(22i32);
16362 pub const DROWNED: EntityKind = EntityKind(23i32);
16363 pub const EGG: EntityKind = EntityKind(24i32);
16364 pub const ELDER_GUARDIAN: EntityKind = EntityKind(25i32);
16365 pub const END_CRYSTAL: EntityKind = EntityKind(26i32);
16366 pub const ENDER_DRAGON: EntityKind = EntityKind(27i32);
16367 pub const ENDER_PEARL: EntityKind = EntityKind(28i32);
16368 pub const ENDERMAN: EntityKind = EntityKind(29i32);
16369 pub const ENDERMITE: EntityKind = EntityKind(30i32);
16370 pub const EVOKER: EntityKind = EntityKind(31i32);
16371 pub const EVOKER_FANGS: EntityKind = EntityKind(32i32);
16372 pub const EXPERIENCE_BOTTLE: EntityKind = EntityKind(33i32);
16373 pub const EXPERIENCE_ORB: EntityKind = EntityKind(34i32);
16374 pub const EYE_OF_ENDER: EntityKind = EntityKind(35i32);
16375 pub const FALLING_BLOCK: EntityKind = EntityKind(36i32);
16376 pub const FIREBALL: EntityKind = EntityKind(57i32);
16377 pub const FIREWORK_ROCKET: EntityKind = EntityKind(37i32);
16378 pub const FISHING_BOBBER: EntityKind = EntityKind(123i32);
16379 pub const FOX: EntityKind = EntityKind(38i32);
16380 pub const FROG: EntityKind = EntityKind(39i32);
16381 pub const FURNACE_MINECART: EntityKind = EntityKind(40i32);
16382 pub const GHAST: EntityKind = EntityKind(41i32);
16383 pub const GIANT: EntityKind = EntityKind(42i32);
16384 pub const GLOW_ITEM_FRAME: EntityKind = EntityKind(43i32);
16385 pub const GLOW_SQUID: EntityKind = EntityKind(44i32);
16386 pub const GOAT: EntityKind = EntityKind(45i32);
16387 pub const GUARDIAN: EntityKind = EntityKind(46i32);
16388 pub const HOGLIN: EntityKind = EntityKind(47i32);
16389 pub const HOPPER_MINECART: EntityKind = EntityKind(48i32);
16390 pub const HORSE: EntityKind = EntityKind(49i32);
16391 pub const HUSK: EntityKind = EntityKind(50i32);
16392 pub const ILLUSIONER: EntityKind = EntityKind(51i32);
16393 pub const INTERACTION: EntityKind = EntityKind(52i32);
16394 pub const IRON_GOLEM: EntityKind = EntityKind(53i32);
16395 pub const ITEM_DISPLAY: EntityKind = EntityKind(55i32);
16396 pub const ITEM: EntityKind = EntityKind(54i32);
16397 pub const ITEM_FRAME: EntityKind = EntityKind(56i32);
16398 pub const LEASH_KNOT: EntityKind = EntityKind(58i32);
16399 pub const LIGHTNING: EntityKind = EntityKind(59i32);
16400 pub const LLAMA: EntityKind = EntityKind(60i32);
16401 pub const LLAMA_SPIT: EntityKind = EntityKind(61i32);
16402 pub const MAGMA_CUBE: EntityKind = EntityKind(62i32);
16403 pub const MARKER: EntityKind = EntityKind(63i32);
16404 pub const MINECART: EntityKind = EntityKind(64i32);
16405 pub const MOOSHROOM: EntityKind = EntityKind(65i32);
16406 pub const MULE: EntityKind = EntityKind(66i32);
16407 pub const OCELOT: EntityKind = EntityKind(67i32);
16408 pub const PAINTING: EntityKind = EntityKind(68i32);
16409 pub const PANDA: EntityKind = EntityKind(69i32);
16410 pub const PARROT: EntityKind = EntityKind(70i32);
16411 pub const PHANTOM: EntityKind = EntityKind(71i32);
16412 pub const PIG: EntityKind = EntityKind(72i32);
16413 pub const PIGLIN_BRUTE: EntityKind = EntityKind(74i32);
16414 pub const PIGLIN: EntityKind = EntityKind(73i32);
16415 pub const PILLAGER: EntityKind = EntityKind(75i32);
16416 pub const PLAYER: EntityKind = EntityKind(122i32);
16417 pub const POLAR_BEAR: EntityKind = EntityKind(76i32);
16418 pub const POTION: EntityKind = EntityKind(77i32);
16419 pub const PUFFERFISH: EntityKind = EntityKind(78i32);
16420 pub const RABBIT: EntityKind = EntityKind(79i32);
16421 pub const RAVAGER: EntityKind = EntityKind(80i32);
16422 pub const SALMON: EntityKind = EntityKind(81i32);
16423 pub const SHEEP: EntityKind = EntityKind(82i32);
16424 pub const SHULKER_BULLET: EntityKind = EntityKind(84i32);
16425 pub const SHULKER: EntityKind = EntityKind(83i32);
16426 pub const SILVERFISH: EntityKind = EntityKind(85i32);
16427 pub const SKELETON: EntityKind = EntityKind(86i32);
16428 pub const SKELETON_HORSE: EntityKind = EntityKind(87i32);
16429 pub const SLIME: EntityKind = EntityKind(88i32);
16430 pub const SMALL_FIREBALL: EntityKind = EntityKind(89i32);
16431 pub const SNIFFER: EntityKind = EntityKind(90i32);
16432 pub const SNOW_GOLEM: EntityKind = EntityKind(91i32);
16433 pub const SNOWBALL: EntityKind = EntityKind(92i32);
16434 pub const SPAWNER_MINECART: EntityKind = EntityKind(93i32);
16435 pub const SPECTRAL_ARROW: EntityKind = EntityKind(94i32);
16436 pub const SPIDER: EntityKind = EntityKind(95i32);
16437 pub const SQUID: EntityKind = EntityKind(96i32);
16438 pub const STRAY: EntityKind = EntityKind(97i32);
16439 pub const STRIDER: EntityKind = EntityKind(98i32);
16440 pub const TADPOLE: EntityKind = EntityKind(99i32);
16441 pub const TEXT_DISPLAY: EntityKind = EntityKind(100i32);
16442 pub const TNT: EntityKind = EntityKind(101i32);
16443 pub const TNT_MINECART: EntityKind = EntityKind(102i32);
16444 pub const TRADER_LLAMA: EntityKind = EntityKind(103i32);
16445 pub const TRIDENT: EntityKind = EntityKind(104i32);
16446 pub const TROPICAL_FISH: EntityKind = EntityKind(105i32);
16447 pub const TURTLE: EntityKind = EntityKind(106i32);
16448 pub const VEX: EntityKind = EntityKind(107i32);
16449 pub const VILLAGER: EntityKind = EntityKind(108i32);
16450 pub const VINDICATOR: EntityKind = EntityKind(109i32);
16451 pub const WANDERING_TRADER: EntityKind = EntityKind(110i32);
16452 pub const WARDEN: EntityKind = EntityKind(111i32);
16453 pub const WITCH: EntityKind = EntityKind(112i32);
16454 pub const WITHER: EntityKind = EntityKind(113i32);
16455 pub const WITHER_SKELETON: EntityKind = EntityKind(114i32);
16456 pub const WITHER_SKULL: EntityKind = EntityKind(115i32);
16457 pub const WOLF: EntityKind = EntityKind(116i32);
16458 pub const ZOGLIN: EntityKind = EntityKind(117i32);
16459 pub const ZOMBIE: EntityKind = EntityKind(118i32);
16460 pub const ZOMBIE_HORSE: EntityKind = EntityKind(119i32);
16461 pub const ZOMBIE_VILLAGER: EntityKind = EntityKind(120i32);
16462 pub const ZOMBIFIED_PIGLIN: EntityKind = EntityKind(121i32);
16463 pub const fn new(inner: i32) -> Self {
16464 Self(inner)
16465 }
16466 pub const fn get(self) -> i32 {
16467 self.0
16468 }
16469 pub const fn translation_key(self) -> Option<&'static str> {
16470 match self {
16471 EntityKind::ALLAY => Some("entity.minecraft.allay"),
16472 EntityKind::AREA_EFFECT_CLOUD => Some("entity.minecraft.area_effect_cloud"),
16473 EntityKind::ARMOR_STAND => Some("entity.minecraft.armor_stand"),
16474 EntityKind::ARROW => Some("entity.minecraft.arrow"),
16475 EntityKind::AXOLOTL => Some("entity.minecraft.axolotl"),
16476 EntityKind::BAT => Some("entity.minecraft.bat"),
16477 EntityKind::BEE => Some("entity.minecraft.bee"),
16478 EntityKind::BLAZE => Some("entity.minecraft.blaze"),
16479 EntityKind::BLOCK_DISPLAY => Some("entity.minecraft.block_display"),
16480 EntityKind::BOAT => Some("entity.minecraft.boat"),
16481 EntityKind::CAMEL => Some("entity.minecraft.camel"),
16482 EntityKind::CAT => Some("entity.minecraft.cat"),
16483 EntityKind::CAVE_SPIDER => Some("entity.minecraft.cave_spider"),
16484 EntityKind::CHEST_BOAT => Some("entity.minecraft.chest_boat"),
16485 EntityKind::CHEST_MINECART => Some("entity.minecraft.chest_minecart"),
16486 EntityKind::CHICKEN => Some("entity.minecraft.chicken"),
16487 EntityKind::COD => Some("entity.minecraft.cod"),
16488 EntityKind::COMMAND_BLOCK_MINECART => Some("entity.minecraft.command_block_minecart"),
16489 EntityKind::COW => Some("entity.minecraft.cow"),
16490 EntityKind::CREEPER => Some("entity.minecraft.creeper"),
16491 EntityKind::DOLPHIN => Some("entity.minecraft.dolphin"),
16492 EntityKind::DONKEY => Some("entity.minecraft.donkey"),
16493 EntityKind::DRAGON_FIREBALL => Some("entity.minecraft.dragon_fireball"),
16494 EntityKind::DROWNED => Some("entity.minecraft.drowned"),
16495 EntityKind::EGG => Some("entity.minecraft.egg"),
16496 EntityKind::ELDER_GUARDIAN => Some("entity.minecraft.elder_guardian"),
16497 EntityKind::END_CRYSTAL => Some("entity.minecraft.end_crystal"),
16498 EntityKind::ENDER_DRAGON => Some("entity.minecraft.ender_dragon"),
16499 EntityKind::ENDER_PEARL => Some("entity.minecraft.ender_pearl"),
16500 EntityKind::ENDERMAN => Some("entity.minecraft.enderman"),
16501 EntityKind::ENDERMITE => Some("entity.minecraft.endermite"),
16502 EntityKind::EVOKER => Some("entity.minecraft.evoker"),
16503 EntityKind::EVOKER_FANGS => Some("entity.minecraft.evoker_fangs"),
16504 EntityKind::EXPERIENCE_BOTTLE => Some("entity.minecraft.experience_bottle"),
16505 EntityKind::EXPERIENCE_ORB => Some("entity.minecraft.experience_orb"),
16506 EntityKind::EYE_OF_ENDER => Some("entity.minecraft.eye_of_ender"),
16507 EntityKind::FALLING_BLOCK => Some("entity.minecraft.falling_block"),
16508 EntityKind::FIREBALL => Some("entity.minecraft.fireball"),
16509 EntityKind::FIREWORK_ROCKET => Some("entity.minecraft.firework_rocket"),
16510 EntityKind::FISHING_BOBBER => Some("entity.minecraft.fishing_bobber"),
16511 EntityKind::FOX => Some("entity.minecraft.fox"),
16512 EntityKind::FROG => Some("entity.minecraft.frog"),
16513 EntityKind::FURNACE_MINECART => Some("entity.minecraft.furnace_minecart"),
16514 EntityKind::GHAST => Some("entity.minecraft.ghast"),
16515 EntityKind::GIANT => Some("entity.minecraft.giant"),
16516 EntityKind::GLOW_ITEM_FRAME => Some("entity.minecraft.glow_item_frame"),
16517 EntityKind::GLOW_SQUID => Some("entity.minecraft.glow_squid"),
16518 EntityKind::GOAT => Some("entity.minecraft.goat"),
16519 EntityKind::GUARDIAN => Some("entity.minecraft.guardian"),
16520 EntityKind::HOGLIN => Some("entity.minecraft.hoglin"),
16521 EntityKind::HOPPER_MINECART => Some("entity.minecraft.hopper_minecart"),
16522 EntityKind::HORSE => Some("entity.minecraft.horse"),
16523 EntityKind::HUSK => Some("entity.minecraft.husk"),
16524 EntityKind::ILLUSIONER => Some("entity.minecraft.illusioner"),
16525 EntityKind::INTERACTION => Some("entity.minecraft.interaction"),
16526 EntityKind::IRON_GOLEM => Some("entity.minecraft.iron_golem"),
16527 EntityKind::ITEM_DISPLAY => Some("entity.minecraft.item_display"),
16528 EntityKind::ITEM => Some("entity.minecraft.item"),
16529 EntityKind::ITEM_FRAME => Some("entity.minecraft.item_frame"),
16530 EntityKind::LEASH_KNOT => Some("entity.minecraft.leash_knot"),
16531 EntityKind::LIGHTNING => Some("entity.minecraft.lightning_bolt"),
16532 EntityKind::LLAMA => Some("entity.minecraft.llama"),
16533 EntityKind::LLAMA_SPIT => Some("entity.minecraft.llama_spit"),
16534 EntityKind::MAGMA_CUBE => Some("entity.minecraft.magma_cube"),
16535 EntityKind::MARKER => Some("entity.minecraft.marker"),
16536 EntityKind::MINECART => Some("entity.minecraft.minecart"),
16537 EntityKind::MOOSHROOM => Some("entity.minecraft.mooshroom"),
16538 EntityKind::MULE => Some("entity.minecraft.mule"),
16539 EntityKind::OCELOT => Some("entity.minecraft.ocelot"),
16540 EntityKind::PAINTING => Some("entity.minecraft.painting"),
16541 EntityKind::PANDA => Some("entity.minecraft.panda"),
16542 EntityKind::PARROT => Some("entity.minecraft.parrot"),
16543 EntityKind::PHANTOM => Some("entity.minecraft.phantom"),
16544 EntityKind::PIG => Some("entity.minecraft.pig"),
16545 EntityKind::PIGLIN_BRUTE => Some("entity.minecraft.piglin_brute"),
16546 EntityKind::PIGLIN => Some("entity.minecraft.piglin"),
16547 EntityKind::PILLAGER => Some("entity.minecraft.pillager"),
16548 EntityKind::PLAYER => Some("entity.minecraft.player"),
16549 EntityKind::POLAR_BEAR => Some("entity.minecraft.polar_bear"),
16550 EntityKind::POTION => Some("entity.minecraft.potion"),
16551 EntityKind::PUFFERFISH => Some("entity.minecraft.pufferfish"),
16552 EntityKind::RABBIT => Some("entity.minecraft.rabbit"),
16553 EntityKind::RAVAGER => Some("entity.minecraft.ravager"),
16554 EntityKind::SALMON => Some("entity.minecraft.salmon"),
16555 EntityKind::SHEEP => Some("entity.minecraft.sheep"),
16556 EntityKind::SHULKER_BULLET => Some("entity.minecraft.shulker_bullet"),
16557 EntityKind::SHULKER => Some("entity.minecraft.shulker"),
16558 EntityKind::SILVERFISH => Some("entity.minecraft.silverfish"),
16559 EntityKind::SKELETON => Some("entity.minecraft.skeleton"),
16560 EntityKind::SKELETON_HORSE => Some("entity.minecraft.skeleton_horse"),
16561 EntityKind::SLIME => Some("entity.minecraft.slime"),
16562 EntityKind::SMALL_FIREBALL => Some("entity.minecraft.small_fireball"),
16563 EntityKind::SNIFFER => Some("entity.minecraft.sniffer"),
16564 EntityKind::SNOW_GOLEM => Some("entity.minecraft.snow_golem"),
16565 EntityKind::SNOWBALL => Some("entity.minecraft.snowball"),
16566 EntityKind::SPAWNER_MINECART => Some("entity.minecraft.spawner_minecart"),
16567 EntityKind::SPECTRAL_ARROW => Some("entity.minecraft.spectral_arrow"),
16568 EntityKind::SPIDER => Some("entity.minecraft.spider"),
16569 EntityKind::SQUID => Some("entity.minecraft.squid"),
16570 EntityKind::STRAY => Some("entity.minecraft.stray"),
16571 EntityKind::STRIDER => Some("entity.minecraft.strider"),
16572 EntityKind::TADPOLE => Some("entity.minecraft.tadpole"),
16573 EntityKind::TEXT_DISPLAY => Some("entity.minecraft.text_display"),
16574 EntityKind::TNT => Some("entity.minecraft.tnt"),
16575 EntityKind::TNT_MINECART => Some("entity.minecraft.tnt_minecart"),
16576 EntityKind::TRADER_LLAMA => Some("entity.minecraft.trader_llama"),
16577 EntityKind::TRIDENT => Some("entity.minecraft.trident"),
16578 EntityKind::TROPICAL_FISH => Some("entity.minecraft.tropical_fish"),
16579 EntityKind::TURTLE => Some("entity.minecraft.turtle"),
16580 EntityKind::VEX => Some("entity.minecraft.vex"),
16581 EntityKind::VILLAGER => Some("entity.minecraft.villager"),
16582 EntityKind::VINDICATOR => Some("entity.minecraft.vindicator"),
16583 EntityKind::WANDERING_TRADER => Some("entity.minecraft.wandering_trader"),
16584 EntityKind::WARDEN => Some("entity.minecraft.warden"),
16585 EntityKind::WITCH => Some("entity.minecraft.witch"),
16586 EntityKind::WITHER => Some("entity.minecraft.wither"),
16587 EntityKind::WITHER_SKELETON => Some("entity.minecraft.wither_skeleton"),
16588 EntityKind::WITHER_SKULL => Some("entity.minecraft.wither_skull"),
16589 EntityKind::WOLF => Some("entity.minecraft.wolf"),
16590 EntityKind::ZOGLIN => Some("entity.minecraft.zoglin"),
16591 EntityKind::ZOMBIE => Some("entity.minecraft.zombie"),
16592 EntityKind::ZOMBIE_HORSE => Some("entity.minecraft.zombie_horse"),
16593 EntityKind::ZOMBIE_VILLAGER => Some("entity.minecraft.zombie_villager"),
16594 EntityKind::ZOMBIFIED_PIGLIN => Some("entity.minecraft.zombified_piglin"),
16595 _ => None,
16596 }
16597 }
16598}
16599impl std::fmt::Debug for EntityKind {
16600 #[allow(clippy::write_literal)]
16601 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
16602 match *self {
16603 EntityKind::ALLAY => write!(f, "{} ({})", 0i32, "ALLAY"),
16604 EntityKind::AREA_EFFECT_CLOUD => write!(f, "{} ({})", 1i32, "AREA_EFFECT_CLOUD"),
16605 EntityKind::ARMOR_STAND => write!(f, "{} ({})", 2i32, "ARMOR_STAND"),
16606 EntityKind::ARROW => write!(f, "{} ({})", 3i32, "ARROW"),
16607 EntityKind::AXOLOTL => write!(f, "{} ({})", 4i32, "AXOLOTL"),
16608 EntityKind::BAT => write!(f, "{} ({})", 5i32, "BAT"),
16609 EntityKind::BEE => write!(f, "{} ({})", 6i32, "BEE"),
16610 EntityKind::BLAZE => write!(f, "{} ({})", 7i32, "BLAZE"),
16611 EntityKind::BLOCK_DISPLAY => write!(f, "{} ({})", 8i32, "BLOCK_DISPLAY"),
16612 EntityKind::BOAT => write!(f, "{} ({})", 9i32, "BOAT"),
16613 EntityKind::CAMEL => write!(f, "{} ({})", 10i32, "CAMEL"),
16614 EntityKind::CAT => write!(f, "{} ({})", 11i32, "CAT"),
16615 EntityKind::CAVE_SPIDER => write!(f, "{} ({})", 12i32, "CAVE_SPIDER"),
16616 EntityKind::CHEST_BOAT => write!(f, "{} ({})", 13i32, "CHEST_BOAT"),
16617 EntityKind::CHEST_MINECART => write!(f, "{} ({})", 14i32, "CHEST_MINECART"),
16618 EntityKind::CHICKEN => write!(f, "{} ({})", 15i32, "CHICKEN"),
16619 EntityKind::COD => write!(f, "{} ({})", 16i32, "COD"),
16620 EntityKind::COMMAND_BLOCK_MINECART => {
16621 write!(f, "{} ({})", 17i32, "COMMAND_BLOCK_MINECART")
16622 }
16623 EntityKind::COW => write!(f, "{} ({})", 18i32, "COW"),
16624 EntityKind::CREEPER => write!(f, "{} ({})", 19i32, "CREEPER"),
16625 EntityKind::DOLPHIN => write!(f, "{} ({})", 20i32, "DOLPHIN"),
16626 EntityKind::DONKEY => write!(f, "{} ({})", 21i32, "DONKEY"),
16627 EntityKind::DRAGON_FIREBALL => write!(f, "{} ({})", 22i32, "DRAGON_FIREBALL"),
16628 EntityKind::DROWNED => write!(f, "{} ({})", 23i32, "DROWNED"),
16629 EntityKind::EGG => write!(f, "{} ({})", 24i32, "EGG"),
16630 EntityKind::ELDER_GUARDIAN => write!(f, "{} ({})", 25i32, "ELDER_GUARDIAN"),
16631 EntityKind::END_CRYSTAL => write!(f, "{} ({})", 26i32, "END_CRYSTAL"),
16632 EntityKind::ENDER_DRAGON => write!(f, "{} ({})", 27i32, "ENDER_DRAGON"),
16633 EntityKind::ENDER_PEARL => write!(f, "{} ({})", 28i32, "ENDER_PEARL"),
16634 EntityKind::ENDERMAN => write!(f, "{} ({})", 29i32, "ENDERMAN"),
16635 EntityKind::ENDERMITE => write!(f, "{} ({})", 30i32, "ENDERMITE"),
16636 EntityKind::EVOKER => write!(f, "{} ({})", 31i32, "EVOKER"),
16637 EntityKind::EVOKER_FANGS => write!(f, "{} ({})", 32i32, "EVOKER_FANGS"),
16638 EntityKind::EXPERIENCE_BOTTLE => write!(f, "{} ({})", 33i32, "EXPERIENCE_BOTTLE"),
16639 EntityKind::EXPERIENCE_ORB => write!(f, "{} ({})", 34i32, "EXPERIENCE_ORB"),
16640 EntityKind::EYE_OF_ENDER => write!(f, "{} ({})", 35i32, "EYE_OF_ENDER"),
16641 EntityKind::FALLING_BLOCK => write!(f, "{} ({})", 36i32, "FALLING_BLOCK"),
16642 EntityKind::FIREBALL => write!(f, "{} ({})", 57i32, "FIREBALL"),
16643 EntityKind::FIREWORK_ROCKET => write!(f, "{} ({})", 37i32, "FIREWORK_ROCKET"),
16644 EntityKind::FISHING_BOBBER => write!(f, "{} ({})", 123i32, "FISHING_BOBBER"),
16645 EntityKind::FOX => write!(f, "{} ({})", 38i32, "FOX"),
16646 EntityKind::FROG => write!(f, "{} ({})", 39i32, "FROG"),
16647 EntityKind::FURNACE_MINECART => write!(f, "{} ({})", 40i32, "FURNACE_MINECART"),
16648 EntityKind::GHAST => write!(f, "{} ({})", 41i32, "GHAST"),
16649 EntityKind::GIANT => write!(f, "{} ({})", 42i32, "GIANT"),
16650 EntityKind::GLOW_ITEM_FRAME => write!(f, "{} ({})", 43i32, "GLOW_ITEM_FRAME"),
16651 EntityKind::GLOW_SQUID => write!(f, "{} ({})", 44i32, "GLOW_SQUID"),
16652 EntityKind::GOAT => write!(f, "{} ({})", 45i32, "GOAT"),
16653 EntityKind::GUARDIAN => write!(f, "{} ({})", 46i32, "GUARDIAN"),
16654 EntityKind::HOGLIN => write!(f, "{} ({})", 47i32, "HOGLIN"),
16655 EntityKind::HOPPER_MINECART => write!(f, "{} ({})", 48i32, "HOPPER_MINECART"),
16656 EntityKind::HORSE => write!(f, "{} ({})", 49i32, "HORSE"),
16657 EntityKind::HUSK => write!(f, "{} ({})", 50i32, "HUSK"),
16658 EntityKind::ILLUSIONER => write!(f, "{} ({})", 51i32, "ILLUSIONER"),
16659 EntityKind::INTERACTION => write!(f, "{} ({})", 52i32, "INTERACTION"),
16660 EntityKind::IRON_GOLEM => write!(f, "{} ({})", 53i32, "IRON_GOLEM"),
16661 EntityKind::ITEM_DISPLAY => write!(f, "{} ({})", 55i32, "ITEM_DISPLAY"),
16662 EntityKind::ITEM => write!(f, "{} ({})", 54i32, "ITEM"),
16663 EntityKind::ITEM_FRAME => write!(f, "{} ({})", 56i32, "ITEM_FRAME"),
16664 EntityKind::LEASH_KNOT => write!(f, "{} ({})", 58i32, "LEASH_KNOT"),
16665 EntityKind::LIGHTNING => write!(f, "{} ({})", 59i32, "LIGHTNING"),
16666 EntityKind::LLAMA => write!(f, "{} ({})", 60i32, "LLAMA"),
16667 EntityKind::LLAMA_SPIT => write!(f, "{} ({})", 61i32, "LLAMA_SPIT"),
16668 EntityKind::MAGMA_CUBE => write!(f, "{} ({})", 62i32, "MAGMA_CUBE"),
16669 EntityKind::MARKER => write!(f, "{} ({})", 63i32, "MARKER"),
16670 EntityKind::MINECART => write!(f, "{} ({})", 64i32, "MINECART"),
16671 EntityKind::MOOSHROOM => write!(f, "{} ({})", 65i32, "MOOSHROOM"),
16672 EntityKind::MULE => write!(f, "{} ({})", 66i32, "MULE"),
16673 EntityKind::OCELOT => write!(f, "{} ({})", 67i32, "OCELOT"),
16674 EntityKind::PAINTING => write!(f, "{} ({})", 68i32, "PAINTING"),
16675 EntityKind::PANDA => write!(f, "{} ({})", 69i32, "PANDA"),
16676 EntityKind::PARROT => write!(f, "{} ({})", 70i32, "PARROT"),
16677 EntityKind::PHANTOM => write!(f, "{} ({})", 71i32, "PHANTOM"),
16678 EntityKind::PIG => write!(f, "{} ({})", 72i32, "PIG"),
16679 EntityKind::PIGLIN_BRUTE => write!(f, "{} ({})", 74i32, "PIGLIN_BRUTE"),
16680 EntityKind::PIGLIN => write!(f, "{} ({})", 73i32, "PIGLIN"),
16681 EntityKind::PILLAGER => write!(f, "{} ({})", 75i32, "PILLAGER"),
16682 EntityKind::PLAYER => write!(f, "{} ({})", 122i32, "PLAYER"),
16683 EntityKind::POLAR_BEAR => write!(f, "{} ({})", 76i32, "POLAR_BEAR"),
16684 EntityKind::POTION => write!(f, "{} ({})", 77i32, "POTION"),
16685 EntityKind::PUFFERFISH => write!(f, "{} ({})", 78i32, "PUFFERFISH"),
16686 EntityKind::RABBIT => write!(f, "{} ({})", 79i32, "RABBIT"),
16687 EntityKind::RAVAGER => write!(f, "{} ({})", 80i32, "RAVAGER"),
16688 EntityKind::SALMON => write!(f, "{} ({})", 81i32, "SALMON"),
16689 EntityKind::SHEEP => write!(f, "{} ({})", 82i32, "SHEEP"),
16690 EntityKind::SHULKER_BULLET => write!(f, "{} ({})", 84i32, "SHULKER_BULLET"),
16691 EntityKind::SHULKER => write!(f, "{} ({})", 83i32, "SHULKER"),
16692 EntityKind::SILVERFISH => write!(f, "{} ({})", 85i32, "SILVERFISH"),
16693 EntityKind::SKELETON => write!(f, "{} ({})", 86i32, "SKELETON"),
16694 EntityKind::SKELETON_HORSE => write!(f, "{} ({})", 87i32, "SKELETON_HORSE"),
16695 EntityKind::SLIME => write!(f, "{} ({})", 88i32, "SLIME"),
16696 EntityKind::SMALL_FIREBALL => write!(f, "{} ({})", 89i32, "SMALL_FIREBALL"),
16697 EntityKind::SNIFFER => write!(f, "{} ({})", 90i32, "SNIFFER"),
16698 EntityKind::SNOW_GOLEM => write!(f, "{} ({})", 91i32, "SNOW_GOLEM"),
16699 EntityKind::SNOWBALL => write!(f, "{} ({})", 92i32, "SNOWBALL"),
16700 EntityKind::SPAWNER_MINECART => write!(f, "{} ({})", 93i32, "SPAWNER_MINECART"),
16701 EntityKind::SPECTRAL_ARROW => write!(f, "{} ({})", 94i32, "SPECTRAL_ARROW"),
16702 EntityKind::SPIDER => write!(f, "{} ({})", 95i32, "SPIDER"),
16703 EntityKind::SQUID => write!(f, "{} ({})", 96i32, "SQUID"),
16704 EntityKind::STRAY => write!(f, "{} ({})", 97i32, "STRAY"),
16705 EntityKind::STRIDER => write!(f, "{} ({})", 98i32, "STRIDER"),
16706 EntityKind::TADPOLE => write!(f, "{} ({})", 99i32, "TADPOLE"),
16707 EntityKind::TEXT_DISPLAY => write!(f, "{} ({})", 100i32, "TEXT_DISPLAY"),
16708 EntityKind::TNT => write!(f, "{} ({})", 101i32, "TNT"),
16709 EntityKind::TNT_MINECART => write!(f, "{} ({})", 102i32, "TNT_MINECART"),
16710 EntityKind::TRADER_LLAMA => write!(f, "{} ({})", 103i32, "TRADER_LLAMA"),
16711 EntityKind::TRIDENT => write!(f, "{} ({})", 104i32, "TRIDENT"),
16712 EntityKind::TROPICAL_FISH => write!(f, "{} ({})", 105i32, "TROPICAL_FISH"),
16713 EntityKind::TURTLE => write!(f, "{} ({})", 106i32, "TURTLE"),
16714 EntityKind::VEX => write!(f, "{} ({})", 107i32, "VEX"),
16715 EntityKind::VILLAGER => write!(f, "{} ({})", 108i32, "VILLAGER"),
16716 EntityKind::VINDICATOR => write!(f, "{} ({})", 109i32, "VINDICATOR"),
16717 EntityKind::WANDERING_TRADER => write!(f, "{} ({})", 110i32, "WANDERING_TRADER"),
16718 EntityKind::WARDEN => write!(f, "{} ({})", 111i32, "WARDEN"),
16719 EntityKind::WITCH => write!(f, "{} ({})", 112i32, "WITCH"),
16720 EntityKind::WITHER => write!(f, "{} ({})", 113i32, "WITHER"),
16721 EntityKind::WITHER_SKELETON => write!(f, "{} ({})", 114i32, "WITHER_SKELETON"),
16722 EntityKind::WITHER_SKULL => write!(f, "{} ({})", 115i32, "WITHER_SKULL"),
16723 EntityKind::WOLF => write!(f, "{} ({})", 116i32, "WOLF"),
16724 EntityKind::ZOGLIN => write!(f, "{} ({})", 117i32, "ZOGLIN"),
16725 EntityKind::ZOMBIE => write!(f, "{} ({})", 118i32, "ZOMBIE"),
16726 EntityKind::ZOMBIE_HORSE => write!(f, "{} ({})", 119i32, "ZOMBIE_HORSE"),
16727 EntityKind::ZOMBIE_VILLAGER => write!(f, "{} ({})", 120i32, "ZOMBIE_VILLAGER"),
16728 EntityKind::ZOMBIFIED_PIGLIN => write!(f, "{} ({})", 121i32, "ZOMBIFIED_PIGLIN"),
16729 EntityKind(other) => write!(f, "{other}"),
16730 }
16731 }
16732}
16733#[derive(Clone, Copy, PartialEq, Eq, Hash, Debug)]
16734pub enum EntityStatus {
16735 AddBreedingParticles = 18isize,
16736 AddCloudParticles = 43isize,
16737 AddDeathParticles = 60isize,
16738 AddDolphinHappyVillagerParticles = 38isize,
16739 AddNegativePlayerReactionParticles = 6isize,
16740 AddPortalParticles = 46isize,
16741 AddPositivePlayerReactionParticles = 7isize,
16742 AddSplashParticles = 42isize,
16743 AddSprintingParticlesOrResetSpawnerMinecartSpawnDelay = 1isize,
16744 AddVillagerAngryParticles = 13isize,
16745 AddVillagerHappyParticles = 14isize,
16746 AddVillagerHeartParticles = 12isize,
16747 AddWitchParticles = 15isize,
16748 BlockWithShield = 29isize,
16749 BreakChest = 50isize,
16750 BreakFeet = 52isize,
16751 BreakHead = 49isize,
16752 BreakLegs = 51isize,
16753 BreakMainhand = 47isize,
16754 BreakOffhand = 48isize,
16755 BreakShield = 30isize,
16756 ConsumeItem = 9isize,
16757 CreateEatingParticles = 45isize,
16758 DripHoney = 53isize,
16759 DripRichHoney = 54isize,
16760 EarsTwitch = 61isize,
16761 ExplodeFireworkClient = 17isize,
16762 FinishRam = 59isize,
16763 HitArmorStand = 32isize,
16764 LookAtVillager = 11isize,
16765 PlayAttackSound = 4isize,
16766 PlayCureZombieVillagerSound = 16isize,
16767 PlayDeathSoundOrAddProjectileHitParticles = 3isize,
16768 PlayGuardianAttackSound = 21isize,
16769 PlaySpawnEffects = 20isize,
16770 PrepareRam = 58isize,
16771 PullHookedEntity = 31isize,
16772 ResetSquidThrustTimer = 19isize,
16773 ResetWolfShake = 56isize,
16774 SetOpLevel0 = 24isize,
16775 SetOpLevel1 = 25isize,
16776 SetOpLevel2 = 26isize,
16777 SetOpLevel3 = 27isize,
16778 SetOpLevel4 = 28isize,
16779 SetSheepEatGrassTimerOrPrimeTntMinecart = 10isize,
16780 ShakeOffWater = 8isize,
16781 SonicBoom = 62isize,
16782 StartDigging = 63isize,
16783 StopAttack = 5isize,
16784 StopLookingAtVillager = 34isize,
16785 StunRavager = 39isize,
16786 SwapHands = 55isize,
16787 TameOcelotFailed = 40isize,
16788 TameOcelotSuccess = 41isize,
16789 UseFullDebugInfo = 23isize,
16790 UseReducedDebugInfo = 22isize,
16791 UseTotemOfUndying = 35isize,
16792}
16793#[derive(Clone, Copy, PartialEq, Eq, Hash, Debug)]
16794pub enum EntityAnimation {
16795 Crit = 4isize,
16796 EnchantedHit = 5isize,
16797 SwingMainHand = 0isize,
16798 SwingOffHand = 3isize,
16799 WakeUp = 2isize,
16800}
16801fn add_tracked_data_systems(app: &mut App) {
16802 #[allow(clippy::needless_borrow)]
16803 #[allow(clippy::suspicious_else_formatting)]
16804 #[allow(clippy::needless_borrows_for_generic_args)]
16805 fn update_abstract_donkey_chest(
16806 mut query: Query<
16807 (&abstract_donkey::Chest, &mut tracked_data::TrackedData),
16808 Changed<abstract_donkey::Chest>,
16809 >,
16810 ) {
16811 for (value, mut tracked_data) in &mut query {
16812 if *value == Default::default() {
16813 tracked_data.remove_init_value(18u8);
16814 } else {
16815 tracked_data.insert_init_value(18u8, 8u8, &value.0);
16816 }
16817 if !tracked_data.is_added() {
16818 tracked_data.append_update_value(18u8, 8u8, &value.0);
16819 }
16820 }
16821 }
16822 #[allow(clippy::needless_borrow)]
16823 #[allow(clippy::suspicious_else_formatting)]
16824 #[allow(clippy::needless_borrows_for_generic_args)]
16825 fn update_abstract_fireball_item(
16826 mut query: Query<
16827 (&abstract_fireball::Item, &mut tracked_data::TrackedData),
16828 Changed<abstract_fireball::Item>,
16829 >,
16830 ) {
16831 for (value, mut tracked_data) in &mut query {
16832 if *value == Default::default() {
16833 tracked_data.remove_init_value(8u8);
16834 } else {
16835 tracked_data.insert_init_value(8u8, 7u8, &value.0);
16836 }
16837 if !tracked_data.is_added() {
16838 tracked_data.append_update_value(8u8, 7u8, &value.0);
16839 }
16840 }
16841 }
16842 #[allow(clippy::needless_borrow)]
16843 #[allow(clippy::suspicious_else_formatting)]
16844 #[allow(clippy::needless_borrows_for_generic_args)]
16845 fn update_abstract_horse_horse_flags(
16846 mut query: Query<
16847 (&abstract_horse::HorseFlags, &mut tracked_data::TrackedData),
16848 Changed<abstract_horse::HorseFlags>,
16849 >,
16850 ) {
16851 for (value, mut tracked_data) in &mut query {
16852 if *value == Default::default() {
16853 tracked_data.remove_init_value(17u8);
16854 } else {
16855 tracked_data.insert_init_value(17u8, 0u8, &value.0);
16856 }
16857 if !tracked_data.is_added() {
16858 tracked_data.append_update_value(17u8, 0u8, &value.0);
16859 }
16860 }
16861 }
16862 #[allow(clippy::needless_borrow)]
16863 #[allow(clippy::suspicious_else_formatting)]
16864 #[allow(clippy::needless_borrows_for_generic_args)]
16865 fn update_abstract_minecart_damage_wobble_ticks(
16866 mut query: Query<
16867 (
16868 &abstract_minecart::DamageWobbleTicks,
16869 &mut tracked_data::TrackedData,
16870 ),
16871 Changed<abstract_minecart::DamageWobbleTicks>,
16872 >,
16873 ) {
16874 for (value, mut tracked_data) in &mut query {
16875 if *value == Default::default() {
16876 tracked_data.remove_init_value(8u8);
16877 } else {
16878 tracked_data.insert_init_value(8u8, 1u8, VarInt(value.0));
16879 }
16880 if !tracked_data.is_added() {
16881 tracked_data.append_update_value(8u8, 1u8, VarInt(value.0));
16882 }
16883 }
16884 }
16885 #[allow(clippy::needless_borrow)]
16886 #[allow(clippy::suspicious_else_formatting)]
16887 #[allow(clippy::needless_borrows_for_generic_args)]
16888 fn update_abstract_minecart_damage_wobble_side(
16889 mut query: Query<
16890 (
16891 &abstract_minecart::DamageWobbleSide,
16892 &mut tracked_data::TrackedData,
16893 ),
16894 Changed<abstract_minecart::DamageWobbleSide>,
16895 >,
16896 ) {
16897 for (value, mut tracked_data) in &mut query {
16898 if *value == Default::default() {
16899 tracked_data.remove_init_value(9u8);
16900 } else {
16901 tracked_data.insert_init_value(9u8, 1u8, VarInt(value.0));
16902 }
16903 if !tracked_data.is_added() {
16904 tracked_data.append_update_value(9u8, 1u8, VarInt(value.0));
16905 }
16906 }
16907 }
16908 #[allow(clippy::needless_borrow)]
16909 #[allow(clippy::suspicious_else_formatting)]
16910 #[allow(clippy::needless_borrows_for_generic_args)]
16911 fn update_abstract_minecart_damage_wobble_strength(
16912 mut query: Query<
16913 (
16914 &abstract_minecart::DamageWobbleStrength,
16915 &mut tracked_data::TrackedData,
16916 ),
16917 Changed<abstract_minecart::DamageWobbleStrength>,
16918 >,
16919 ) {
16920 for (value, mut tracked_data) in &mut query {
16921 if *value == Default::default() {
16922 tracked_data.remove_init_value(10u8);
16923 } else {
16924 tracked_data.insert_init_value(10u8, 3u8, &value.0);
16925 }
16926 if !tracked_data.is_added() {
16927 tracked_data.append_update_value(10u8, 3u8, &value.0);
16928 }
16929 }
16930 }
16931 #[allow(clippy::needless_borrow)]
16932 #[allow(clippy::suspicious_else_formatting)]
16933 #[allow(clippy::needless_borrows_for_generic_args)]
16934 fn update_abstract_minecart_custom_block_id(
16935 mut query: Query<
16936 (
16937 &abstract_minecart::CustomBlockId,
16938 &mut tracked_data::TrackedData,
16939 ),
16940 Changed<abstract_minecart::CustomBlockId>,
16941 >,
16942 ) {
16943 for (value, mut tracked_data) in &mut query {
16944 if *value == Default::default() {
16945 tracked_data.remove_init_value(11u8);
16946 } else {
16947 tracked_data.insert_init_value(11u8, 1u8, VarInt(value.0));
16948 }
16949 if !tracked_data.is_added() {
16950 tracked_data.append_update_value(11u8, 1u8, VarInt(value.0));
16951 }
16952 }
16953 }
16954 #[allow(clippy::needless_borrow)]
16955 #[allow(clippy::suspicious_else_formatting)]
16956 #[allow(clippy::needless_borrows_for_generic_args)]
16957 fn update_abstract_minecart_custom_block_offset(
16958 mut query: Query<
16959 (
16960 &abstract_minecart::CustomBlockOffset,
16961 &mut tracked_data::TrackedData,
16962 ),
16963 Changed<abstract_minecart::CustomBlockOffset>,
16964 >,
16965 ) {
16966 for (value, mut tracked_data) in &mut query {
16967 if *value == Default::default() {
16968 tracked_data.remove_init_value(12u8);
16969 } else {
16970 tracked_data.insert_init_value(12u8, 1u8, VarInt(value.0));
16971 }
16972 if !tracked_data.is_added() {
16973 tracked_data.append_update_value(12u8, 1u8, VarInt(value.0));
16974 }
16975 }
16976 }
16977 #[allow(clippy::needless_borrow)]
16978 #[allow(clippy::suspicious_else_formatting)]
16979 #[allow(clippy::needless_borrows_for_generic_args)]
16980 fn update_abstract_minecart_custom_block_present(
16981 mut query: Query<
16982 (
16983 &abstract_minecart::CustomBlockPresent,
16984 &mut tracked_data::TrackedData,
16985 ),
16986 Changed<abstract_minecart::CustomBlockPresent>,
16987 >,
16988 ) {
16989 for (value, mut tracked_data) in &mut query {
16990 if *value == Default::default() {
16991 tracked_data.remove_init_value(13u8);
16992 } else {
16993 tracked_data.insert_init_value(13u8, 8u8, &value.0);
16994 }
16995 if !tracked_data.is_added() {
16996 tracked_data.append_update_value(13u8, 8u8, &value.0);
16997 }
16998 }
16999 }
17000 #[allow(clippy::needless_borrow)]
17001 #[allow(clippy::suspicious_else_formatting)]
17002 #[allow(clippy::needless_borrows_for_generic_args)]
17003 fn update_abstract_piglin_immune_to_zombification(
17004 mut query: Query<
17005 (
17006 &abstract_piglin::ImmuneToZombification,
17007 &mut tracked_data::TrackedData,
17008 ),
17009 Changed<abstract_piglin::ImmuneToZombification>,
17010 >,
17011 ) {
17012 for (value, mut tracked_data) in &mut query {
17013 if *value == Default::default() {
17014 tracked_data.remove_init_value(16u8);
17015 } else {
17016 tracked_data.insert_init_value(16u8, 8u8, &value.0);
17017 }
17018 if !tracked_data.is_added() {
17019 tracked_data.append_update_value(16u8, 8u8, &value.0);
17020 }
17021 }
17022 }
17023 #[allow(clippy::needless_borrow)]
17024 #[allow(clippy::suspicious_else_formatting)]
17025 #[allow(clippy::needless_borrows_for_generic_args)]
17026 fn update_allay_dancing(
17027 mut query: Query<
17028 (&allay::Dancing, &mut tracked_data::TrackedData),
17029 Changed<allay::Dancing>,
17030 >,
17031 ) {
17032 for (value, mut tracked_data) in &mut query {
17033 if *value == Default::default() {
17034 tracked_data.remove_init_value(16u8);
17035 } else {
17036 tracked_data.insert_init_value(16u8, 8u8, &value.0);
17037 }
17038 if !tracked_data.is_added() {
17039 tracked_data.append_update_value(16u8, 8u8, &value.0);
17040 }
17041 }
17042 }
17043 #[allow(clippy::needless_borrow)]
17044 #[allow(clippy::suspicious_else_formatting)]
17045 #[allow(clippy::needless_borrows_for_generic_args)]
17046 fn update_allay_can_duplicate(
17047 mut query: Query<
17048 (&allay::CanDuplicate, &mut tracked_data::TrackedData),
17049 Changed<allay::CanDuplicate>,
17050 >,
17051 ) {
17052 for (value, mut tracked_data) in &mut query {
17053 if *value == Default::default() {
17054 tracked_data.remove_init_value(17u8);
17055 } else {
17056 tracked_data.insert_init_value(17u8, 8u8, &value.0);
17057 }
17058 if !tracked_data.is_added() {
17059 tracked_data.append_update_value(17u8, 8u8, &value.0);
17060 }
17061 }
17062 }
17063 #[allow(clippy::needless_borrow)]
17064 #[allow(clippy::suspicious_else_formatting)]
17065 #[allow(clippy::needless_borrows_for_generic_args)]
17066 fn update_area_effect_cloud_radius(
17067 mut query: Query<
17068 (&area_effect_cloud::Radius, &mut tracked_data::TrackedData),
17069 Changed<area_effect_cloud::Radius>,
17070 >,
17071 ) {
17072 for (value, mut tracked_data) in &mut query {
17073 if *value == Default::default() {
17074 tracked_data.remove_init_value(8u8);
17075 } else {
17076 tracked_data.insert_init_value(8u8, 3u8, &value.0);
17077 }
17078 if !tracked_data.is_added() {
17079 tracked_data.append_update_value(8u8, 3u8, &value.0);
17080 }
17081 }
17082 }
17083 #[allow(clippy::needless_borrow)]
17084 #[allow(clippy::suspicious_else_formatting)]
17085 #[allow(clippy::needless_borrows_for_generic_args)]
17086 fn update_area_effect_cloud_color(
17087 mut query: Query<
17088 (&area_effect_cloud::Color, &mut tracked_data::TrackedData),
17089 Changed<area_effect_cloud::Color>,
17090 >,
17091 ) {
17092 for (value, mut tracked_data) in &mut query {
17093 if *value == Default::default() {
17094 tracked_data.remove_init_value(9u8);
17095 } else {
17096 tracked_data.insert_init_value(9u8, 1u8, VarInt(value.0));
17097 }
17098 if !tracked_data.is_added() {
17099 tracked_data.append_update_value(9u8, 1u8, VarInt(value.0));
17100 }
17101 }
17102 }
17103 #[allow(clippy::needless_borrow)]
17104 #[allow(clippy::suspicious_else_formatting)]
17105 #[allow(clippy::needless_borrows_for_generic_args)]
17106 fn update_area_effect_cloud_waiting(
17107 mut query: Query<
17108 (&area_effect_cloud::Waiting, &mut tracked_data::TrackedData),
17109 Changed<area_effect_cloud::Waiting>,
17110 >,
17111 ) {
17112 for (value, mut tracked_data) in &mut query {
17113 if *value == Default::default() {
17114 tracked_data.remove_init_value(10u8);
17115 } else {
17116 tracked_data.insert_init_value(10u8, 8u8, &value.0);
17117 }
17118 if !tracked_data.is_added() {
17119 tracked_data.append_update_value(10u8, 8u8, &value.0);
17120 }
17121 }
17122 }
17123 #[allow(clippy::needless_borrow)]
17124 #[allow(clippy::suspicious_else_formatting)]
17125 #[allow(clippy::needless_borrows_for_generic_args)]
17126 fn update_area_effect_cloud_particle_id(
17127 mut query: Query<
17128 (
17129 &area_effect_cloud::ParticleId,
17130 &mut tracked_data::TrackedData,
17131 ),
17132 Changed<area_effect_cloud::ParticleId>,
17133 >,
17134 ) {
17135 for (value, mut tracked_data) in &mut query {
17136 if *value == Default::default() {
17137 tracked_data.remove_init_value(11u8);
17138 } else {
17139 tracked_data.insert_init_value(11u8, 17u8, &value.0);
17140 }
17141 if !tracked_data.is_added() {
17142 tracked_data.append_update_value(11u8, 17u8, &value.0);
17143 }
17144 }
17145 }
17146 #[allow(clippy::needless_borrow)]
17147 #[allow(clippy::suspicious_else_formatting)]
17148 #[allow(clippy::needless_borrows_for_generic_args)]
17149 fn update_armor_stand_armor_stand_flags(
17150 mut query: Query<
17151 (
17152 &armor_stand::ArmorStandFlags,
17153 &mut tracked_data::TrackedData,
17154 ),
17155 Changed<armor_stand::ArmorStandFlags>,
17156 >,
17157 ) {
17158 for (value, mut tracked_data) in &mut query {
17159 if *value == Default::default() {
17160 tracked_data.remove_init_value(15u8);
17161 } else {
17162 tracked_data.insert_init_value(15u8, 0u8, &value.0);
17163 }
17164 if !tracked_data.is_added() {
17165 tracked_data.append_update_value(15u8, 0u8, &value.0);
17166 }
17167 }
17168 }
17169 #[allow(clippy::needless_borrow)]
17170 #[allow(clippy::suspicious_else_formatting)]
17171 #[allow(clippy::needless_borrows_for_generic_args)]
17172 fn update_armor_stand_tracker_head_rotation(
17173 mut query: Query<
17174 (
17175 &armor_stand::TrackerHeadRotation,
17176 &mut tracked_data::TrackedData,
17177 ),
17178 Changed<armor_stand::TrackerHeadRotation>,
17179 >,
17180 ) {
17181 for (value, mut tracked_data) in &mut query {
17182 if *value == Default::default() {
17183 tracked_data.remove_init_value(16u8);
17184 } else {
17185 tracked_data.insert_init_value(16u8, 9u8, &value.0);
17186 }
17187 if !tracked_data.is_added() {
17188 tracked_data.append_update_value(16u8, 9u8, &value.0);
17189 }
17190 }
17191 }
17192 #[allow(clippy::needless_borrow)]
17193 #[allow(clippy::suspicious_else_formatting)]
17194 #[allow(clippy::needless_borrows_for_generic_args)]
17195 fn update_armor_stand_tracker_body_rotation(
17196 mut query: Query<
17197 (
17198 &armor_stand::TrackerBodyRotation,
17199 &mut tracked_data::TrackedData,
17200 ),
17201 Changed<armor_stand::TrackerBodyRotation>,
17202 >,
17203 ) {
17204 for (value, mut tracked_data) in &mut query {
17205 if *value == Default::default() {
17206 tracked_data.remove_init_value(17u8);
17207 } else {
17208 tracked_data.insert_init_value(17u8, 9u8, &value.0);
17209 }
17210 if !tracked_data.is_added() {
17211 tracked_data.append_update_value(17u8, 9u8, &value.0);
17212 }
17213 }
17214 }
17215 #[allow(clippy::needless_borrow)]
17216 #[allow(clippy::suspicious_else_formatting)]
17217 #[allow(clippy::needless_borrows_for_generic_args)]
17218 fn update_armor_stand_tracker_left_arm_rotation(
17219 mut query: Query<
17220 (
17221 &armor_stand::TrackerLeftArmRotation,
17222 &mut tracked_data::TrackedData,
17223 ),
17224 Changed<armor_stand::TrackerLeftArmRotation>,
17225 >,
17226 ) {
17227 for (value, mut tracked_data) in &mut query {
17228 if *value == Default::default() {
17229 tracked_data.remove_init_value(18u8);
17230 } else {
17231 tracked_data.insert_init_value(18u8, 9u8, &value.0);
17232 }
17233 if !tracked_data.is_added() {
17234 tracked_data.append_update_value(18u8, 9u8, &value.0);
17235 }
17236 }
17237 }
17238 #[allow(clippy::needless_borrow)]
17239 #[allow(clippy::suspicious_else_formatting)]
17240 #[allow(clippy::needless_borrows_for_generic_args)]
17241 fn update_armor_stand_tracker_right_arm_rotation(
17242 mut query: Query<
17243 (
17244 &armor_stand::TrackerRightArmRotation,
17245 &mut tracked_data::TrackedData,
17246 ),
17247 Changed<armor_stand::TrackerRightArmRotation>,
17248 >,
17249 ) {
17250 for (value, mut tracked_data) in &mut query {
17251 if *value == Default::default() {
17252 tracked_data.remove_init_value(19u8);
17253 } else {
17254 tracked_data.insert_init_value(19u8, 9u8, &value.0);
17255 }
17256 if !tracked_data.is_added() {
17257 tracked_data.append_update_value(19u8, 9u8, &value.0);
17258 }
17259 }
17260 }
17261 #[allow(clippy::needless_borrow)]
17262 #[allow(clippy::suspicious_else_formatting)]
17263 #[allow(clippy::needless_borrows_for_generic_args)]
17264 fn update_armor_stand_tracker_left_leg_rotation(
17265 mut query: Query<
17266 (
17267 &armor_stand::TrackerLeftLegRotation,
17268 &mut tracked_data::TrackedData,
17269 ),
17270 Changed<armor_stand::TrackerLeftLegRotation>,
17271 >,
17272 ) {
17273 for (value, mut tracked_data) in &mut query {
17274 if *value == Default::default() {
17275 tracked_data.remove_init_value(20u8);
17276 } else {
17277 tracked_data.insert_init_value(20u8, 9u8, &value.0);
17278 }
17279 if !tracked_data.is_added() {
17280 tracked_data.append_update_value(20u8, 9u8, &value.0);
17281 }
17282 }
17283 }
17284 #[allow(clippy::needless_borrow)]
17285 #[allow(clippy::suspicious_else_formatting)]
17286 #[allow(clippy::needless_borrows_for_generic_args)]
17287 fn update_armor_stand_tracker_right_leg_rotation(
17288 mut query: Query<
17289 (
17290 &armor_stand::TrackerRightLegRotation,
17291 &mut tracked_data::TrackedData,
17292 ),
17293 Changed<armor_stand::TrackerRightLegRotation>,
17294 >,
17295 ) {
17296 for (value, mut tracked_data) in &mut query {
17297 if *value == Default::default() {
17298 tracked_data.remove_init_value(21u8);
17299 } else {
17300 tracked_data.insert_init_value(21u8, 9u8, &value.0);
17301 }
17302 if !tracked_data.is_added() {
17303 tracked_data.append_update_value(21u8, 9u8, &value.0);
17304 }
17305 }
17306 }
17307 #[allow(clippy::needless_borrow)]
17308 #[allow(clippy::suspicious_else_formatting)]
17309 #[allow(clippy::needless_borrows_for_generic_args)]
17310 fn update_arrow_color(
17311 mut query: Query<(&arrow::Color, &mut tracked_data::TrackedData), Changed<arrow::Color>>,
17312 ) {
17313 for (value, mut tracked_data) in &mut query {
17314 if *value == Default::default() {
17315 tracked_data.remove_init_value(10u8);
17316 } else {
17317 tracked_data.insert_init_value(10u8, 1u8, VarInt(value.0));
17318 }
17319 if !tracked_data.is_added() {
17320 tracked_data.append_update_value(10u8, 1u8, VarInt(value.0));
17321 }
17322 }
17323 }
17324 #[allow(clippy::needless_borrow)]
17325 #[allow(clippy::suspicious_else_formatting)]
17326 #[allow(clippy::needless_borrows_for_generic_args)]
17327 fn update_axolotl_variant(
17328 mut query: Query<
17329 (&axolotl::Variant, &mut tracked_data::TrackedData),
17330 Changed<axolotl::Variant>,
17331 >,
17332 ) {
17333 for (value, mut tracked_data) in &mut query {
17334 if *value == Default::default() {
17335 tracked_data.remove_init_value(17u8);
17336 } else {
17337 tracked_data.insert_init_value(17u8, 1u8, VarInt(value.0));
17338 }
17339 if !tracked_data.is_added() {
17340 tracked_data.append_update_value(17u8, 1u8, VarInt(value.0));
17341 }
17342 }
17343 }
17344 #[allow(clippy::needless_borrow)]
17345 #[allow(clippy::suspicious_else_formatting)]
17346 #[allow(clippy::needless_borrows_for_generic_args)]
17347 fn update_axolotl_playing_dead(
17348 mut query: Query<
17349 (&axolotl::PlayingDead, &mut tracked_data::TrackedData),
17350 Changed<axolotl::PlayingDead>,
17351 >,
17352 ) {
17353 for (value, mut tracked_data) in &mut query {
17354 if *value == Default::default() {
17355 tracked_data.remove_init_value(18u8);
17356 } else {
17357 tracked_data.insert_init_value(18u8, 8u8, &value.0);
17358 }
17359 if !tracked_data.is_added() {
17360 tracked_data.append_update_value(18u8, 8u8, &value.0);
17361 }
17362 }
17363 }
17364 #[allow(clippy::needless_borrow)]
17365 #[allow(clippy::suspicious_else_formatting)]
17366 #[allow(clippy::needless_borrows_for_generic_args)]
17367 fn update_axolotl_from_bucket(
17368 mut query: Query<
17369 (&axolotl::FromBucket, &mut tracked_data::TrackedData),
17370 Changed<axolotl::FromBucket>,
17371 >,
17372 ) {
17373 for (value, mut tracked_data) in &mut query {
17374 if *value == Default::default() {
17375 tracked_data.remove_init_value(19u8);
17376 } else {
17377 tracked_data.insert_init_value(19u8, 8u8, &value.0);
17378 }
17379 if !tracked_data.is_added() {
17380 tracked_data.append_update_value(19u8, 8u8, &value.0);
17381 }
17382 }
17383 }
17384 #[allow(clippy::needless_borrow)]
17385 #[allow(clippy::suspicious_else_formatting)]
17386 #[allow(clippy::needless_borrows_for_generic_args)]
17387 fn update_bat_bat_flags(
17388 mut query: Query<(&bat::BatFlags, &mut tracked_data::TrackedData), Changed<bat::BatFlags>>,
17389 ) {
17390 for (value, mut tracked_data) in &mut query {
17391 if *value == Default::default() {
17392 tracked_data.remove_init_value(16u8);
17393 } else {
17394 tracked_data.insert_init_value(16u8, 0u8, &value.0);
17395 }
17396 if !tracked_data.is_added() {
17397 tracked_data.append_update_value(16u8, 0u8, &value.0);
17398 }
17399 }
17400 }
17401 #[allow(clippy::needless_borrow)]
17402 #[allow(clippy::suspicious_else_formatting)]
17403 #[allow(clippy::needless_borrows_for_generic_args)]
17404 fn update_bee_bee_flags(
17405 mut query: Query<(&bee::BeeFlags, &mut tracked_data::TrackedData), Changed<bee::BeeFlags>>,
17406 ) {
17407 for (value, mut tracked_data) in &mut query {
17408 if *value == Default::default() {
17409 tracked_data.remove_init_value(17u8);
17410 } else {
17411 tracked_data.insert_init_value(17u8, 0u8, &value.0);
17412 }
17413 if !tracked_data.is_added() {
17414 tracked_data.append_update_value(17u8, 0u8, &value.0);
17415 }
17416 }
17417 }
17418 #[allow(clippy::needless_borrow)]
17419 #[allow(clippy::suspicious_else_formatting)]
17420 #[allow(clippy::needless_borrows_for_generic_args)]
17421 fn update_bee_anger(
17422 mut query: Query<(&bee::Anger, &mut tracked_data::TrackedData), Changed<bee::Anger>>,
17423 ) {
17424 for (value, mut tracked_data) in &mut query {
17425 if *value == Default::default() {
17426 tracked_data.remove_init_value(18u8);
17427 } else {
17428 tracked_data.insert_init_value(18u8, 1u8, VarInt(value.0));
17429 }
17430 if !tracked_data.is_added() {
17431 tracked_data.append_update_value(18u8, 1u8, VarInt(value.0));
17432 }
17433 }
17434 }
17435 #[allow(clippy::needless_borrow)]
17436 #[allow(clippy::suspicious_else_formatting)]
17437 #[allow(clippy::needless_borrows_for_generic_args)]
17438 fn update_blaze_blaze_flags(
17439 mut query: Query<
17440 (&blaze::BlazeFlags, &mut tracked_data::TrackedData),
17441 Changed<blaze::BlazeFlags>,
17442 >,
17443 ) {
17444 for (value, mut tracked_data) in &mut query {
17445 if *value == Default::default() {
17446 tracked_data.remove_init_value(16u8);
17447 } else {
17448 tracked_data.insert_init_value(16u8, 0u8, &value.0);
17449 }
17450 if !tracked_data.is_added() {
17451 tracked_data.append_update_value(16u8, 0u8, &value.0);
17452 }
17453 }
17454 }
17455 #[allow(clippy::needless_borrow)]
17456 #[allow(clippy::suspicious_else_formatting)]
17457 #[allow(clippy::needless_borrows_for_generic_args)]
17458 fn update_block_display_block_state(
17459 mut query: Query<
17460 (&block_display::BlockState, &mut tracked_data::TrackedData),
17461 Changed<block_display::BlockState>,
17462 >,
17463 ) {
17464 for (value, mut tracked_data) in &mut query {
17465 if *value == Default::default() {
17466 tracked_data.remove_init_value(22u8);
17467 } else {
17468 tracked_data.insert_init_value(22u8, 14u8, &value.0);
17469 }
17470 if !tracked_data.is_added() {
17471 tracked_data.append_update_value(22u8, 14u8, &value.0);
17472 }
17473 }
17474 }
17475 #[allow(clippy::needless_borrow)]
17476 #[allow(clippy::suspicious_else_formatting)]
17477 #[allow(clippy::needless_borrows_for_generic_args)]
17478 fn update_boat_damage_wobble_ticks(
17479 mut query: Query<
17480 (&boat::DamageWobbleTicks, &mut tracked_data::TrackedData),
17481 Changed<boat::DamageWobbleTicks>,
17482 >,
17483 ) {
17484 for (value, mut tracked_data) in &mut query {
17485 if *value == Default::default() {
17486 tracked_data.remove_init_value(8u8);
17487 } else {
17488 tracked_data.insert_init_value(8u8, 1u8, VarInt(value.0));
17489 }
17490 if !tracked_data.is_added() {
17491 tracked_data.append_update_value(8u8, 1u8, VarInt(value.0));
17492 }
17493 }
17494 }
17495 #[allow(clippy::needless_borrow)]
17496 #[allow(clippy::suspicious_else_formatting)]
17497 #[allow(clippy::needless_borrows_for_generic_args)]
17498 fn update_boat_damage_wobble_side(
17499 mut query: Query<
17500 (&boat::DamageWobbleSide, &mut tracked_data::TrackedData),
17501 Changed<boat::DamageWobbleSide>,
17502 >,
17503 ) {
17504 for (value, mut tracked_data) in &mut query {
17505 if *value == Default::default() {
17506 tracked_data.remove_init_value(9u8);
17507 } else {
17508 tracked_data.insert_init_value(9u8, 1u8, VarInt(value.0));
17509 }
17510 if !tracked_data.is_added() {
17511 tracked_data.append_update_value(9u8, 1u8, VarInt(value.0));
17512 }
17513 }
17514 }
17515 #[allow(clippy::needless_borrow)]
17516 #[allow(clippy::suspicious_else_formatting)]
17517 #[allow(clippy::needless_borrows_for_generic_args)]
17518 fn update_boat_damage_wobble_strength(
17519 mut query: Query<
17520 (&boat::DamageWobbleStrength, &mut tracked_data::TrackedData),
17521 Changed<boat::DamageWobbleStrength>,
17522 >,
17523 ) {
17524 for (value, mut tracked_data) in &mut query {
17525 if *value == Default::default() {
17526 tracked_data.remove_init_value(10u8);
17527 } else {
17528 tracked_data.insert_init_value(10u8, 3u8, &value.0);
17529 }
17530 if !tracked_data.is_added() {
17531 tracked_data.append_update_value(10u8, 3u8, &value.0);
17532 }
17533 }
17534 }
17535 #[allow(clippy::needless_borrow)]
17536 #[allow(clippy::suspicious_else_formatting)]
17537 #[allow(clippy::needless_borrows_for_generic_args)]
17538 fn update_boat_boat_type(
17539 mut query: Query<
17540 (&boat::BoatType, &mut tracked_data::TrackedData),
17541 Changed<boat::BoatType>,
17542 >,
17543 ) {
17544 for (value, mut tracked_data) in &mut query {
17545 if *value == Default::default() {
17546 tracked_data.remove_init_value(11u8);
17547 } else {
17548 tracked_data.insert_init_value(11u8, 1u8, VarInt(value.0));
17549 }
17550 if !tracked_data.is_added() {
17551 tracked_data.append_update_value(11u8, 1u8, VarInt(value.0));
17552 }
17553 }
17554 }
17555 #[allow(clippy::needless_borrow)]
17556 #[allow(clippy::suspicious_else_formatting)]
17557 #[allow(clippy::needless_borrows_for_generic_args)]
17558 fn update_boat_left_paddle_moving(
17559 mut query: Query<
17560 (&boat::LeftPaddleMoving, &mut tracked_data::TrackedData),
17561 Changed<boat::LeftPaddleMoving>,
17562 >,
17563 ) {
17564 for (value, mut tracked_data) in &mut query {
17565 if *value == Default::default() {
17566 tracked_data.remove_init_value(12u8);
17567 } else {
17568 tracked_data.insert_init_value(12u8, 8u8, &value.0);
17569 }
17570 if !tracked_data.is_added() {
17571 tracked_data.append_update_value(12u8, 8u8, &value.0);
17572 }
17573 }
17574 }
17575 #[allow(clippy::needless_borrow)]
17576 #[allow(clippy::suspicious_else_formatting)]
17577 #[allow(clippy::needless_borrows_for_generic_args)]
17578 fn update_boat_right_paddle_moving(
17579 mut query: Query<
17580 (&boat::RightPaddleMoving, &mut tracked_data::TrackedData),
17581 Changed<boat::RightPaddleMoving>,
17582 >,
17583 ) {
17584 for (value, mut tracked_data) in &mut query {
17585 if *value == Default::default() {
17586 tracked_data.remove_init_value(13u8);
17587 } else {
17588 tracked_data.insert_init_value(13u8, 8u8, &value.0);
17589 }
17590 if !tracked_data.is_added() {
17591 tracked_data.append_update_value(13u8, 8u8, &value.0);
17592 }
17593 }
17594 }
17595 #[allow(clippy::needless_borrow)]
17596 #[allow(clippy::suspicious_else_formatting)]
17597 #[allow(clippy::needless_borrows_for_generic_args)]
17598 fn update_boat_bubble_wobble_ticks(
17599 mut query: Query<
17600 (&boat::BubbleWobbleTicks, &mut tracked_data::TrackedData),
17601 Changed<boat::BubbleWobbleTicks>,
17602 >,
17603 ) {
17604 for (value, mut tracked_data) in &mut query {
17605 if *value == Default::default() {
17606 tracked_data.remove_init_value(14u8);
17607 } else {
17608 tracked_data.insert_init_value(14u8, 1u8, VarInt(value.0));
17609 }
17610 if !tracked_data.is_added() {
17611 tracked_data.append_update_value(14u8, 1u8, VarInt(value.0));
17612 }
17613 }
17614 }
17615 #[allow(clippy::needless_borrow)]
17616 #[allow(clippy::suspicious_else_formatting)]
17617 #[allow(clippy::needless_borrows_for_generic_args)]
17618 fn update_camel_dashing(
17619 mut query: Query<
17620 (&camel::Dashing, &mut tracked_data::TrackedData),
17621 Changed<camel::Dashing>,
17622 >,
17623 ) {
17624 for (value, mut tracked_data) in &mut query {
17625 if *value == Default::default() {
17626 tracked_data.remove_init_value(18u8);
17627 } else {
17628 tracked_data.insert_init_value(18u8, 8u8, &value.0);
17629 }
17630 if !tracked_data.is_added() {
17631 tracked_data.append_update_value(18u8, 8u8, &value.0);
17632 }
17633 }
17634 }
17635 #[allow(clippy::needless_borrow)]
17636 #[allow(clippy::suspicious_else_formatting)]
17637 #[allow(clippy::needless_borrows_for_generic_args)]
17638 fn update_camel_last_pose_tick(
17639 mut query: Query<
17640 (&camel::LastPoseTick, &mut tracked_data::TrackedData),
17641 Changed<camel::LastPoseTick>,
17642 >,
17643 ) {
17644 for (value, mut tracked_data) in &mut query {
17645 if *value == Default::default() {
17646 tracked_data.remove_init_value(19u8);
17647 } else {
17648 tracked_data.insert_init_value(19u8, 2u8, &value.0);
17649 }
17650 if !tracked_data.is_added() {
17651 tracked_data.append_update_value(19u8, 2u8, &value.0);
17652 }
17653 }
17654 }
17655 #[allow(clippy::needless_borrow)]
17656 #[allow(clippy::suspicious_else_formatting)]
17657 #[allow(clippy::needless_borrows_for_generic_args)]
17658 fn update_cat_cat_variant(
17659 mut query: Query<
17660 (&cat::CatVariant, &mut tracked_data::TrackedData),
17661 Changed<cat::CatVariant>,
17662 >,
17663 ) {
17664 for (value, mut tracked_data) in &mut query {
17665 if *value == Default::default() {
17666 tracked_data.remove_init_value(19u8);
17667 } else {
17668 tracked_data.insert_init_value(19u8, 21u8, &value.0);
17669 }
17670 if !tracked_data.is_added() {
17671 tracked_data.append_update_value(19u8, 21u8, &value.0);
17672 }
17673 }
17674 }
17675 #[allow(clippy::needless_borrow)]
17676 #[allow(clippy::suspicious_else_formatting)]
17677 #[allow(clippy::needless_borrows_for_generic_args)]
17678 fn update_cat_in_sleeping_pose(
17679 mut query: Query<
17680 (&cat::InSleepingPose, &mut tracked_data::TrackedData),
17681 Changed<cat::InSleepingPose>,
17682 >,
17683 ) {
17684 for (value, mut tracked_data) in &mut query {
17685 if *value == Default::default() {
17686 tracked_data.remove_init_value(20u8);
17687 } else {
17688 tracked_data.insert_init_value(20u8, 8u8, &value.0);
17689 }
17690 if !tracked_data.is_added() {
17691 tracked_data.append_update_value(20u8, 8u8, &value.0);
17692 }
17693 }
17694 }
17695 #[allow(clippy::needless_borrow)]
17696 #[allow(clippy::suspicious_else_formatting)]
17697 #[allow(clippy::needless_borrows_for_generic_args)]
17698 fn update_cat_head_down(
17699 mut query: Query<(&cat::HeadDown, &mut tracked_data::TrackedData), Changed<cat::HeadDown>>,
17700 ) {
17701 for (value, mut tracked_data) in &mut query {
17702 if *value == Default::default() {
17703 tracked_data.remove_init_value(21u8);
17704 } else {
17705 tracked_data.insert_init_value(21u8, 8u8, &value.0);
17706 }
17707 if !tracked_data.is_added() {
17708 tracked_data.append_update_value(21u8, 8u8, &value.0);
17709 }
17710 }
17711 }
17712 #[allow(clippy::needless_borrow)]
17713 #[allow(clippy::suspicious_else_formatting)]
17714 #[allow(clippy::needless_borrows_for_generic_args)]
17715 fn update_cat_collar_color(
17716 mut query: Query<
17717 (&cat::CollarColor, &mut tracked_data::TrackedData),
17718 Changed<cat::CollarColor>,
17719 >,
17720 ) {
17721 for (value, mut tracked_data) in &mut query {
17722 if *value == Default::default() {
17723 tracked_data.remove_init_value(22u8);
17724 } else {
17725 tracked_data.insert_init_value(22u8, 1u8, VarInt(value.0));
17726 }
17727 if !tracked_data.is_added() {
17728 tracked_data.append_update_value(22u8, 1u8, VarInt(value.0));
17729 }
17730 }
17731 }
17732 #[allow(clippy::needless_borrow)]
17733 #[allow(clippy::suspicious_else_formatting)]
17734 #[allow(clippy::needless_borrows_for_generic_args)]
17735 fn update_command_block_minecart_command(
17736 mut query: Query<
17737 (
17738 &command_block_minecart::Command,
17739 &mut tracked_data::TrackedData,
17740 ),
17741 Changed<command_block_minecart::Command>,
17742 >,
17743 ) {
17744 for (value, mut tracked_data) in &mut query {
17745 if *value == Default::default() {
17746 tracked_data.remove_init_value(14u8);
17747 } else {
17748 tracked_data.insert_init_value(14u8, 4u8, &value.0);
17749 }
17750 if !tracked_data.is_added() {
17751 tracked_data.append_update_value(14u8, 4u8, &value.0);
17752 }
17753 }
17754 }
17755 #[allow(clippy::needless_borrow)]
17756 #[allow(clippy::suspicious_else_formatting)]
17757 #[allow(clippy::needless_borrows_for_generic_args)]
17758 fn update_command_block_minecart_last_output(
17759 mut query: Query<
17760 (
17761 &command_block_minecart::LastOutput,
17762 &mut tracked_data::TrackedData,
17763 ),
17764 Changed<command_block_minecart::LastOutput>,
17765 >,
17766 ) {
17767 for (value, mut tracked_data) in &mut query {
17768 if *value == Default::default() {
17769 tracked_data.remove_init_value(15u8);
17770 } else {
17771 tracked_data.insert_init_value(15u8, 5u8, &value.0);
17772 }
17773 if !tracked_data.is_added() {
17774 tracked_data.append_update_value(15u8, 5u8, &value.0);
17775 }
17776 }
17777 }
17778 #[allow(clippy::needless_borrow)]
17779 #[allow(clippy::suspicious_else_formatting)]
17780 #[allow(clippy::needless_borrows_for_generic_args)]
17781 fn update_creeper_fuse_speed(
17782 mut query: Query<
17783 (&creeper::FuseSpeed, &mut tracked_data::TrackedData),
17784 Changed<creeper::FuseSpeed>,
17785 >,
17786 ) {
17787 for (value, mut tracked_data) in &mut query {
17788 if *value == Default::default() {
17789 tracked_data.remove_init_value(16u8);
17790 } else {
17791 tracked_data.insert_init_value(16u8, 1u8, VarInt(value.0));
17792 }
17793 if !tracked_data.is_added() {
17794 tracked_data.append_update_value(16u8, 1u8, VarInt(value.0));
17795 }
17796 }
17797 }
17798 #[allow(clippy::needless_borrow)]
17799 #[allow(clippy::suspicious_else_formatting)]
17800 #[allow(clippy::needless_borrows_for_generic_args)]
17801 fn update_creeper_charged(
17802 mut query: Query<
17803 (&creeper::Charged, &mut tracked_data::TrackedData),
17804 Changed<creeper::Charged>,
17805 >,
17806 ) {
17807 for (value, mut tracked_data) in &mut query {
17808 if *value == Default::default() {
17809 tracked_data.remove_init_value(17u8);
17810 } else {
17811 tracked_data.insert_init_value(17u8, 8u8, &value.0);
17812 }
17813 if !tracked_data.is_added() {
17814 tracked_data.append_update_value(17u8, 8u8, &value.0);
17815 }
17816 }
17817 }
17818 #[allow(clippy::needless_borrow)]
17819 #[allow(clippy::suspicious_else_formatting)]
17820 #[allow(clippy::needless_borrows_for_generic_args)]
17821 fn update_creeper_ignited(
17822 mut query: Query<
17823 (&creeper::Ignited, &mut tracked_data::TrackedData),
17824 Changed<creeper::Ignited>,
17825 >,
17826 ) {
17827 for (value, mut tracked_data) in &mut query {
17828 if *value == Default::default() {
17829 tracked_data.remove_init_value(18u8);
17830 } else {
17831 tracked_data.insert_init_value(18u8, 8u8, &value.0);
17832 }
17833 if !tracked_data.is_added() {
17834 tracked_data.append_update_value(18u8, 8u8, &value.0);
17835 }
17836 }
17837 }
17838 #[allow(clippy::needless_borrow)]
17839 #[allow(clippy::suspicious_else_formatting)]
17840 #[allow(clippy::needless_borrows_for_generic_args)]
17841 fn update_display_start_interpolation(
17842 mut query: Query<
17843 (&display::StartInterpolation, &mut tracked_data::TrackedData),
17844 Changed<display::StartInterpolation>,
17845 >,
17846 ) {
17847 for (value, mut tracked_data) in &mut query {
17848 if *value == Default::default() {
17849 tracked_data.remove_init_value(8u8);
17850 } else {
17851 tracked_data.insert_init_value(8u8, 1u8, VarInt(value.0));
17852 }
17853 if !tracked_data.is_added() {
17854 tracked_data.append_update_value(8u8, 1u8, VarInt(value.0));
17855 }
17856 }
17857 }
17858 #[allow(clippy::needless_borrow)]
17859 #[allow(clippy::suspicious_else_formatting)]
17860 #[allow(clippy::needless_borrows_for_generic_args)]
17861 fn update_display_interpolation_duration(
17862 mut query: Query<
17863 (
17864 &display::InterpolationDuration,
17865 &mut tracked_data::TrackedData,
17866 ),
17867 Changed<display::InterpolationDuration>,
17868 >,
17869 ) {
17870 for (value, mut tracked_data) in &mut query {
17871 if *value == Default::default() {
17872 tracked_data.remove_init_value(9u8);
17873 } else {
17874 tracked_data.insert_init_value(9u8, 1u8, VarInt(value.0));
17875 }
17876 if !tracked_data.is_added() {
17877 tracked_data.append_update_value(9u8, 1u8, VarInt(value.0));
17878 }
17879 }
17880 }
17881 #[allow(clippy::needless_borrow)]
17882 #[allow(clippy::suspicious_else_formatting)]
17883 #[allow(clippy::needless_borrows_for_generic_args)]
17884 fn update_display_translation(
17885 mut query: Query<
17886 (&display::Translation, &mut tracked_data::TrackedData),
17887 Changed<display::Translation>,
17888 >,
17889 ) {
17890 for (value, mut tracked_data) in &mut query {
17891 if *value == Default::default() {
17892 tracked_data.remove_init_value(10u8);
17893 } else {
17894 tracked_data.insert_init_value(10u8, 26u8, &value.0);
17895 }
17896 if !tracked_data.is_added() {
17897 tracked_data.append_update_value(10u8, 26u8, &value.0);
17898 }
17899 }
17900 }
17901 #[allow(clippy::needless_borrow)]
17902 #[allow(clippy::suspicious_else_formatting)]
17903 #[allow(clippy::needless_borrows_for_generic_args)]
17904 fn update_display_scale(
17905 mut query: Query<
17906 (&display::Scale, &mut tracked_data::TrackedData),
17907 Changed<display::Scale>,
17908 >,
17909 ) {
17910 for (value, mut tracked_data) in &mut query {
17911 if *value == Default::default() {
17912 tracked_data.remove_init_value(11u8);
17913 } else {
17914 tracked_data.insert_init_value(11u8, 26u8, &value.0);
17915 }
17916 if !tracked_data.is_added() {
17917 tracked_data.append_update_value(11u8, 26u8, &value.0);
17918 }
17919 }
17920 }
17921 #[allow(clippy::needless_borrow)]
17922 #[allow(clippy::suspicious_else_formatting)]
17923 #[allow(clippy::needless_borrows_for_generic_args)]
17924 fn update_display_left_rotation(
17925 mut query: Query<
17926 (&display::LeftRotation, &mut tracked_data::TrackedData),
17927 Changed<display::LeftRotation>,
17928 >,
17929 ) {
17930 for (value, mut tracked_data) in &mut query {
17931 if *value == Default::default() {
17932 tracked_data.remove_init_value(12u8);
17933 } else {
17934 tracked_data.insert_init_value(12u8, 27u8, &value.0);
17935 }
17936 if !tracked_data.is_added() {
17937 tracked_data.append_update_value(12u8, 27u8, &value.0);
17938 }
17939 }
17940 }
17941 #[allow(clippy::needless_borrow)]
17942 #[allow(clippy::suspicious_else_formatting)]
17943 #[allow(clippy::needless_borrows_for_generic_args)]
17944 fn update_display_right_rotation(
17945 mut query: Query<
17946 (&display::RightRotation, &mut tracked_data::TrackedData),
17947 Changed<display::RightRotation>,
17948 >,
17949 ) {
17950 for (value, mut tracked_data) in &mut query {
17951 if *value == Default::default() {
17952 tracked_data.remove_init_value(13u8);
17953 } else {
17954 tracked_data.insert_init_value(13u8, 27u8, &value.0);
17955 }
17956 if !tracked_data.is_added() {
17957 tracked_data.append_update_value(13u8, 27u8, &value.0);
17958 }
17959 }
17960 }
17961 #[allow(clippy::needless_borrow)]
17962 #[allow(clippy::suspicious_else_formatting)]
17963 #[allow(clippy::needless_borrows_for_generic_args)]
17964 fn update_display_billboard(
17965 mut query: Query<
17966 (&display::Billboard, &mut tracked_data::TrackedData),
17967 Changed<display::Billboard>,
17968 >,
17969 ) {
17970 for (value, mut tracked_data) in &mut query {
17971 if *value == Default::default() {
17972 tracked_data.remove_init_value(14u8);
17973 } else {
17974 tracked_data.insert_init_value(14u8, 0u8, &value.0);
17975 }
17976 if !tracked_data.is_added() {
17977 tracked_data.append_update_value(14u8, 0u8, &value.0);
17978 }
17979 }
17980 }
17981 #[allow(clippy::needless_borrow)]
17982 #[allow(clippy::suspicious_else_formatting)]
17983 #[allow(clippy::needless_borrows_for_generic_args)]
17984 fn update_display_brightness(
17985 mut query: Query<
17986 (&display::Brightness, &mut tracked_data::TrackedData),
17987 Changed<display::Brightness>,
17988 >,
17989 ) {
17990 for (value, mut tracked_data) in &mut query {
17991 if *value == Default::default() {
17992 tracked_data.remove_init_value(15u8);
17993 } else {
17994 tracked_data.insert_init_value(15u8, 1u8, VarInt(value.0));
17995 }
17996 if !tracked_data.is_added() {
17997 tracked_data.append_update_value(15u8, 1u8, VarInt(value.0));
17998 }
17999 }
18000 }
18001 #[allow(clippy::needless_borrow)]
18002 #[allow(clippy::suspicious_else_formatting)]
18003 #[allow(clippy::needless_borrows_for_generic_args)]
18004 fn update_display_view_range(
18005 mut query: Query<
18006 (&display::ViewRange, &mut tracked_data::TrackedData),
18007 Changed<display::ViewRange>,
18008 >,
18009 ) {
18010 for (value, mut tracked_data) in &mut query {
18011 if *value == Default::default() {
18012 tracked_data.remove_init_value(16u8);
18013 } else {
18014 tracked_data.insert_init_value(16u8, 3u8, &value.0);
18015 }
18016 if !tracked_data.is_added() {
18017 tracked_data.append_update_value(16u8, 3u8, &value.0);
18018 }
18019 }
18020 }
18021 #[allow(clippy::needless_borrow)]
18022 #[allow(clippy::suspicious_else_formatting)]
18023 #[allow(clippy::needless_borrows_for_generic_args)]
18024 fn update_display_shadow_radius(
18025 mut query: Query<
18026 (&display::ShadowRadius, &mut tracked_data::TrackedData),
18027 Changed<display::ShadowRadius>,
18028 >,
18029 ) {
18030 for (value, mut tracked_data) in &mut query {
18031 if *value == Default::default() {
18032 tracked_data.remove_init_value(17u8);
18033 } else {
18034 tracked_data.insert_init_value(17u8, 3u8, &value.0);
18035 }
18036 if !tracked_data.is_added() {
18037 tracked_data.append_update_value(17u8, 3u8, &value.0);
18038 }
18039 }
18040 }
18041 #[allow(clippy::needless_borrow)]
18042 #[allow(clippy::suspicious_else_formatting)]
18043 #[allow(clippy::needless_borrows_for_generic_args)]
18044 fn update_display_shadow_strength(
18045 mut query: Query<
18046 (&display::ShadowStrength, &mut tracked_data::TrackedData),
18047 Changed<display::ShadowStrength>,
18048 >,
18049 ) {
18050 for (value, mut tracked_data) in &mut query {
18051 if *value == Default::default() {
18052 tracked_data.remove_init_value(18u8);
18053 } else {
18054 tracked_data.insert_init_value(18u8, 3u8, &value.0);
18055 }
18056 if !tracked_data.is_added() {
18057 tracked_data.append_update_value(18u8, 3u8, &value.0);
18058 }
18059 }
18060 }
18061 #[allow(clippy::needless_borrow)]
18062 #[allow(clippy::suspicious_else_formatting)]
18063 #[allow(clippy::needless_borrows_for_generic_args)]
18064 fn update_display_width(
18065 mut query: Query<
18066 (&display::Width, &mut tracked_data::TrackedData),
18067 Changed<display::Width>,
18068 >,
18069 ) {
18070 for (value, mut tracked_data) in &mut query {
18071 if *value == Default::default() {
18072 tracked_data.remove_init_value(19u8);
18073 } else {
18074 tracked_data.insert_init_value(19u8, 3u8, &value.0);
18075 }
18076 if !tracked_data.is_added() {
18077 tracked_data.append_update_value(19u8, 3u8, &value.0);
18078 }
18079 }
18080 }
18081 #[allow(clippy::needless_borrow)]
18082 #[allow(clippy::suspicious_else_formatting)]
18083 #[allow(clippy::needless_borrows_for_generic_args)]
18084 fn update_display_height(
18085 mut query: Query<
18086 (&display::Height, &mut tracked_data::TrackedData),
18087 Changed<display::Height>,
18088 >,
18089 ) {
18090 for (value, mut tracked_data) in &mut query {
18091 if *value == Default::default() {
18092 tracked_data.remove_init_value(20u8);
18093 } else {
18094 tracked_data.insert_init_value(20u8, 3u8, &value.0);
18095 }
18096 if !tracked_data.is_added() {
18097 tracked_data.append_update_value(20u8, 3u8, &value.0);
18098 }
18099 }
18100 }
18101 #[allow(clippy::needless_borrow)]
18102 #[allow(clippy::suspicious_else_formatting)]
18103 #[allow(clippy::needless_borrows_for_generic_args)]
18104 fn update_display_glow_color_override(
18105 mut query: Query<
18106 (&display::GlowColorOverride, &mut tracked_data::TrackedData),
18107 Changed<display::GlowColorOverride>,
18108 >,
18109 ) {
18110 for (value, mut tracked_data) in &mut query {
18111 if *value == Default::default() {
18112 tracked_data.remove_init_value(21u8);
18113 } else {
18114 tracked_data.insert_init_value(21u8, 1u8, VarInt(value.0));
18115 }
18116 if !tracked_data.is_added() {
18117 tracked_data.append_update_value(21u8, 1u8, VarInt(value.0));
18118 }
18119 }
18120 }
18121 #[allow(clippy::needless_borrow)]
18122 #[allow(clippy::suspicious_else_formatting)]
18123 #[allow(clippy::needless_borrows_for_generic_args)]
18124 fn update_dolphin_treasure_pos(
18125 mut query: Query<
18126 (&dolphin::TreasurePos, &mut tracked_data::TrackedData),
18127 Changed<dolphin::TreasurePos>,
18128 >,
18129 ) {
18130 for (value, mut tracked_data) in &mut query {
18131 if *value == Default::default() {
18132 tracked_data.remove_init_value(16u8);
18133 } else {
18134 tracked_data.insert_init_value(16u8, 10u8, &value.0);
18135 }
18136 if !tracked_data.is_added() {
18137 tracked_data.append_update_value(16u8, 10u8, &value.0);
18138 }
18139 }
18140 }
18141 #[allow(clippy::needless_borrow)]
18142 #[allow(clippy::suspicious_else_formatting)]
18143 #[allow(clippy::needless_borrows_for_generic_args)]
18144 fn update_dolphin_has_fish(
18145 mut query: Query<
18146 (&dolphin::HasFish, &mut tracked_data::TrackedData),
18147 Changed<dolphin::HasFish>,
18148 >,
18149 ) {
18150 for (value, mut tracked_data) in &mut query {
18151 if *value == Default::default() {
18152 tracked_data.remove_init_value(17u8);
18153 } else {
18154 tracked_data.insert_init_value(17u8, 8u8, &value.0);
18155 }
18156 if !tracked_data.is_added() {
18157 tracked_data.append_update_value(17u8, 8u8, &value.0);
18158 }
18159 }
18160 }
18161 #[allow(clippy::needless_borrow)]
18162 #[allow(clippy::suspicious_else_formatting)]
18163 #[allow(clippy::needless_borrows_for_generic_args)]
18164 fn update_dolphin_moistness(
18165 mut query: Query<
18166 (&dolphin::Moistness, &mut tracked_data::TrackedData),
18167 Changed<dolphin::Moistness>,
18168 >,
18169 ) {
18170 for (value, mut tracked_data) in &mut query {
18171 if *value == Default::default() {
18172 tracked_data.remove_init_value(18u8);
18173 } else {
18174 tracked_data.insert_init_value(18u8, 1u8, VarInt(value.0));
18175 }
18176 if !tracked_data.is_added() {
18177 tracked_data.append_update_value(18u8, 1u8, VarInt(value.0));
18178 }
18179 }
18180 }
18181 #[allow(clippy::needless_borrow)]
18182 #[allow(clippy::suspicious_else_formatting)]
18183 #[allow(clippy::needless_borrows_for_generic_args)]
18184 fn update_end_crystal_beam_target(
18185 mut query: Query<
18186 (&end_crystal::BeamTarget, &mut tracked_data::TrackedData),
18187 Changed<end_crystal::BeamTarget>,
18188 >,
18189 ) {
18190 for (value, mut tracked_data) in &mut query {
18191 if *value == Default::default() {
18192 tracked_data.remove_init_value(8u8);
18193 } else {
18194 tracked_data.insert_init_value(8u8, 11u8, &value.0);
18195 }
18196 if !tracked_data.is_added() {
18197 tracked_data.append_update_value(8u8, 11u8, &value.0);
18198 }
18199 }
18200 }
18201 #[allow(clippy::needless_borrow)]
18202 #[allow(clippy::suspicious_else_formatting)]
18203 #[allow(clippy::needless_borrows_for_generic_args)]
18204 fn update_end_crystal_show_bottom(
18205 mut query: Query<
18206 (&end_crystal::ShowBottom, &mut tracked_data::TrackedData),
18207 Changed<end_crystal::ShowBottom>,
18208 >,
18209 ) {
18210 for (value, mut tracked_data) in &mut query {
18211 if *value == Default::default() {
18212 tracked_data.remove_init_value(9u8);
18213 } else {
18214 tracked_data.insert_init_value(9u8, 8u8, &value.0);
18215 }
18216 if !tracked_data.is_added() {
18217 tracked_data.append_update_value(9u8, 8u8, &value.0);
18218 }
18219 }
18220 }
18221 #[allow(clippy::needless_borrow)]
18222 #[allow(clippy::suspicious_else_formatting)]
18223 #[allow(clippy::needless_borrows_for_generic_args)]
18224 fn update_ender_dragon_phase_type(
18225 mut query: Query<
18226 (&ender_dragon::PhaseType, &mut tracked_data::TrackedData),
18227 Changed<ender_dragon::PhaseType>,
18228 >,
18229 ) {
18230 for (value, mut tracked_data) in &mut query {
18231 if *value == Default::default() {
18232 tracked_data.remove_init_value(16u8);
18233 } else {
18234 tracked_data.insert_init_value(16u8, 1u8, VarInt(value.0));
18235 }
18236 if !tracked_data.is_added() {
18237 tracked_data.append_update_value(16u8, 1u8, VarInt(value.0));
18238 }
18239 }
18240 }
18241 #[allow(clippy::needless_borrow)]
18242 #[allow(clippy::suspicious_else_formatting)]
18243 #[allow(clippy::needless_borrows_for_generic_args)]
18244 fn update_enderman_carried_block(
18245 mut query: Query<
18246 (&enderman::CarriedBlock, &mut tracked_data::TrackedData),
18247 Changed<enderman::CarriedBlock>,
18248 >,
18249 ) {
18250 for (value, mut tracked_data) in &mut query {
18251 if *value == Default::default() {
18252 tracked_data.remove_init_value(16u8);
18253 } else {
18254 tracked_data.insert_init_value(16u8, 15u8, &value.0);
18255 }
18256 if !tracked_data.is_added() {
18257 tracked_data.append_update_value(16u8, 15u8, &value.0);
18258 }
18259 }
18260 }
18261 #[allow(clippy::needless_borrow)]
18262 #[allow(clippy::suspicious_else_formatting)]
18263 #[allow(clippy::needless_borrows_for_generic_args)]
18264 fn update_enderman_angry(
18265 mut query: Query<
18266 (&enderman::Angry, &mut tracked_data::TrackedData),
18267 Changed<enderman::Angry>,
18268 >,
18269 ) {
18270 for (value, mut tracked_data) in &mut query {
18271 if *value == Default::default() {
18272 tracked_data.remove_init_value(17u8);
18273 } else {
18274 tracked_data.insert_init_value(17u8, 8u8, &value.0);
18275 }
18276 if !tracked_data.is_added() {
18277 tracked_data.append_update_value(17u8, 8u8, &value.0);
18278 }
18279 }
18280 }
18281 #[allow(clippy::needless_borrow)]
18282 #[allow(clippy::suspicious_else_formatting)]
18283 #[allow(clippy::needless_borrows_for_generic_args)]
18284 fn update_enderman_provoked(
18285 mut query: Query<
18286 (&enderman::Provoked, &mut tracked_data::TrackedData),
18287 Changed<enderman::Provoked>,
18288 >,
18289 ) {
18290 for (value, mut tracked_data) in &mut query {
18291 if *value == Default::default() {
18292 tracked_data.remove_init_value(18u8);
18293 } else {
18294 tracked_data.insert_init_value(18u8, 8u8, &value.0);
18295 }
18296 if !tracked_data.is_added() {
18297 tracked_data.append_update_value(18u8, 8u8, &value.0);
18298 }
18299 }
18300 }
18301 #[allow(clippy::needless_borrow)]
18302 #[allow(clippy::suspicious_else_formatting)]
18303 #[allow(clippy::needless_borrows_for_generic_args)]
18304 fn update_entity_flags(
18305 mut query: Query<(&entity::Flags, &mut tracked_data::TrackedData), Changed<entity::Flags>>,
18306 ) {
18307 for (value, mut tracked_data) in &mut query {
18308 if *value == Default::default() {
18309 tracked_data.remove_init_value(0u8);
18310 } else {
18311 tracked_data.insert_init_value(0u8, 0u8, &value.0);
18312 }
18313 if !tracked_data.is_added() {
18314 tracked_data.append_update_value(0u8, 0u8, &value.0);
18315 }
18316 }
18317 }
18318 #[allow(clippy::needless_borrow)]
18319 #[allow(clippy::suspicious_else_formatting)]
18320 #[allow(clippy::needless_borrows_for_generic_args)]
18321 fn update_entity_air(
18322 mut query: Query<(&entity::Air, &mut tracked_data::TrackedData), Changed<entity::Air>>,
18323 ) {
18324 for (value, mut tracked_data) in &mut query {
18325 if *value == Default::default() {
18326 tracked_data.remove_init_value(1u8);
18327 } else {
18328 tracked_data.insert_init_value(1u8, 1u8, VarInt(value.0));
18329 }
18330 if !tracked_data.is_added() {
18331 tracked_data.append_update_value(1u8, 1u8, VarInt(value.0));
18332 }
18333 }
18334 }
18335 #[allow(clippy::needless_borrow)]
18336 #[allow(clippy::suspicious_else_formatting)]
18337 #[allow(clippy::needless_borrows_for_generic_args)]
18338 fn update_entity_custom_name(
18339 mut query: Query<
18340 (&entity::CustomName, &mut tracked_data::TrackedData),
18341 Changed<entity::CustomName>,
18342 >,
18343 ) {
18344 for (value, mut tracked_data) in &mut query {
18345 if *value == Default::default() {
18346 tracked_data.remove_init_value(2u8);
18347 } else {
18348 tracked_data.insert_init_value(2u8, 6u8, &value.0);
18349 }
18350 if !tracked_data.is_added() {
18351 tracked_data.append_update_value(2u8, 6u8, &value.0);
18352 }
18353 }
18354 }
18355 #[allow(clippy::needless_borrow)]
18356 #[allow(clippy::suspicious_else_formatting)]
18357 #[allow(clippy::needless_borrows_for_generic_args)]
18358 fn update_entity_name_visible(
18359 mut query: Query<
18360 (&entity::NameVisible, &mut tracked_data::TrackedData),
18361 Changed<entity::NameVisible>,
18362 >,
18363 ) {
18364 for (value, mut tracked_data) in &mut query {
18365 if *value == Default::default() {
18366 tracked_data.remove_init_value(3u8);
18367 } else {
18368 tracked_data.insert_init_value(3u8, 8u8, &value.0);
18369 }
18370 if !tracked_data.is_added() {
18371 tracked_data.append_update_value(3u8, 8u8, &value.0);
18372 }
18373 }
18374 }
18375 #[allow(clippy::needless_borrow)]
18376 #[allow(clippy::suspicious_else_formatting)]
18377 #[allow(clippy::needless_borrows_for_generic_args)]
18378 fn update_entity_silent(
18379 mut query: Query<
18380 (&entity::Silent, &mut tracked_data::TrackedData),
18381 Changed<entity::Silent>,
18382 >,
18383 ) {
18384 for (value, mut tracked_data) in &mut query {
18385 if *value == Default::default() {
18386 tracked_data.remove_init_value(4u8);
18387 } else {
18388 tracked_data.insert_init_value(4u8, 8u8, &value.0);
18389 }
18390 if !tracked_data.is_added() {
18391 tracked_data.append_update_value(4u8, 8u8, &value.0);
18392 }
18393 }
18394 }
18395 #[allow(clippy::needless_borrow)]
18396 #[allow(clippy::suspicious_else_formatting)]
18397 #[allow(clippy::needless_borrows_for_generic_args)]
18398 fn update_entity_no_gravity(
18399 mut query: Query<
18400 (&entity::NoGravity, &mut tracked_data::TrackedData),
18401 Changed<entity::NoGravity>,
18402 >,
18403 ) {
18404 for (value, mut tracked_data) in &mut query {
18405 if *value == Default::default() {
18406 tracked_data.remove_init_value(5u8);
18407 } else {
18408 tracked_data.insert_init_value(5u8, 8u8, &value.0);
18409 }
18410 if !tracked_data.is_added() {
18411 tracked_data.append_update_value(5u8, 8u8, &value.0);
18412 }
18413 }
18414 }
18415 #[allow(clippy::needless_borrow)]
18416 #[allow(clippy::suspicious_else_formatting)]
18417 #[allow(clippy::needless_borrows_for_generic_args)]
18418 fn update_entity_pose(
18419 mut query: Query<(&entity::Pose, &mut tracked_data::TrackedData), Changed<entity::Pose>>,
18420 ) {
18421 for (value, mut tracked_data) in &mut query {
18422 if *value == Default::default() {
18423 tracked_data.remove_init_value(6u8);
18424 } else {
18425 tracked_data.insert_init_value(6u8, 20u8, &value.0);
18426 }
18427 if !tracked_data.is_added() {
18428 tracked_data.append_update_value(6u8, 20u8, &value.0);
18429 }
18430 }
18431 }
18432 #[allow(clippy::needless_borrow)]
18433 #[allow(clippy::suspicious_else_formatting)]
18434 #[allow(clippy::needless_borrows_for_generic_args)]
18435 fn update_entity_frozen_ticks(
18436 mut query: Query<
18437 (&entity::FrozenTicks, &mut tracked_data::TrackedData),
18438 Changed<entity::FrozenTicks>,
18439 >,
18440 ) {
18441 for (value, mut tracked_data) in &mut query {
18442 if *value == Default::default() {
18443 tracked_data.remove_init_value(7u8);
18444 } else {
18445 tracked_data.insert_init_value(7u8, 1u8, VarInt(value.0));
18446 }
18447 if !tracked_data.is_added() {
18448 tracked_data.append_update_value(7u8, 1u8, VarInt(value.0));
18449 }
18450 }
18451 }
18452 #[allow(clippy::needless_borrow)]
18453 #[allow(clippy::suspicious_else_formatting)]
18454 #[allow(clippy::needless_borrows_for_generic_args)]
18455 fn update_eye_of_ender_item(
18456 mut query: Query<
18457 (&eye_of_ender::Item, &mut tracked_data::TrackedData),
18458 Changed<eye_of_ender::Item>,
18459 >,
18460 ) {
18461 for (value, mut tracked_data) in &mut query {
18462 if *value == Default::default() {
18463 tracked_data.remove_init_value(8u8);
18464 } else {
18465 tracked_data.insert_init_value(8u8, 7u8, &value.0);
18466 }
18467 if !tracked_data.is_added() {
18468 tracked_data.append_update_value(8u8, 7u8, &value.0);
18469 }
18470 }
18471 }
18472 #[allow(clippy::needless_borrow)]
18473 #[allow(clippy::suspicious_else_formatting)]
18474 #[allow(clippy::needless_borrows_for_generic_args)]
18475 fn update_falling_block_block_pos(
18476 mut query: Query<
18477 (&falling_block::BlockPos, &mut tracked_data::TrackedData),
18478 Changed<falling_block::BlockPos>,
18479 >,
18480 ) {
18481 for (value, mut tracked_data) in &mut query {
18482 if *value == Default::default() {
18483 tracked_data.remove_init_value(8u8);
18484 } else {
18485 tracked_data.insert_init_value(8u8, 10u8, &value.0);
18486 }
18487 if !tracked_data.is_added() {
18488 tracked_data.append_update_value(8u8, 10u8, &value.0);
18489 }
18490 }
18491 }
18492 #[allow(clippy::needless_borrow)]
18493 #[allow(clippy::suspicious_else_formatting)]
18494 #[allow(clippy::needless_borrows_for_generic_args)]
18495 fn update_firework_rocket_item(
18496 mut query: Query<
18497 (&firework_rocket::Item, &mut tracked_data::TrackedData),
18498 Changed<firework_rocket::Item>,
18499 >,
18500 ) {
18501 for (value, mut tracked_data) in &mut query {
18502 if *value == Default::default() {
18503 tracked_data.remove_init_value(8u8);
18504 } else {
18505 tracked_data.insert_init_value(8u8, 7u8, &value.0);
18506 }
18507 if !tracked_data.is_added() {
18508 tracked_data.append_update_value(8u8, 7u8, &value.0);
18509 }
18510 }
18511 }
18512 #[allow(clippy::needless_borrow)]
18513 #[allow(clippy::suspicious_else_formatting)]
18514 #[allow(clippy::needless_borrows_for_generic_args)]
18515 fn update_firework_rocket_shooter_entity_id(
18516 mut query: Query<
18517 (
18518 &firework_rocket::ShooterEntityId,
18519 &mut tracked_data::TrackedData,
18520 ),
18521 Changed<firework_rocket::ShooterEntityId>,
18522 >,
18523 ) {
18524 for (value, mut tracked_data) in &mut query {
18525 if *value == Default::default() {
18526 tracked_data.remove_init_value(9u8);
18527 } else {
18528 tracked_data.insert_init_value(9u8, 19u8, OptionalInt(value.0));
18529 }
18530 if !tracked_data.is_added() {
18531 tracked_data.append_update_value(9u8, 19u8, OptionalInt(value.0));
18532 }
18533 }
18534 }
18535 #[allow(clippy::needless_borrow)]
18536 #[allow(clippy::suspicious_else_formatting)]
18537 #[allow(clippy::needless_borrows_for_generic_args)]
18538 fn update_firework_rocket_shot_at_angle(
18539 mut query: Query<
18540 (
18541 &firework_rocket::ShotAtAngle,
18542 &mut tracked_data::TrackedData,
18543 ),
18544 Changed<firework_rocket::ShotAtAngle>,
18545 >,
18546 ) {
18547 for (value, mut tracked_data) in &mut query {
18548 if *value == Default::default() {
18549 tracked_data.remove_init_value(10u8);
18550 } else {
18551 tracked_data.insert_init_value(10u8, 8u8, &value.0);
18552 }
18553 if !tracked_data.is_added() {
18554 tracked_data.append_update_value(10u8, 8u8, &value.0);
18555 }
18556 }
18557 }
18558 #[allow(clippy::needless_borrow)]
18559 #[allow(clippy::suspicious_else_formatting)]
18560 #[allow(clippy::needless_borrows_for_generic_args)]
18561 fn update_fish_from_bucket(
18562 mut query: Query<
18563 (&fish::FromBucket, &mut tracked_data::TrackedData),
18564 Changed<fish::FromBucket>,
18565 >,
18566 ) {
18567 for (value, mut tracked_data) in &mut query {
18568 if *value == Default::default() {
18569 tracked_data.remove_init_value(16u8);
18570 } else {
18571 tracked_data.insert_init_value(16u8, 8u8, &value.0);
18572 }
18573 if !tracked_data.is_added() {
18574 tracked_data.append_update_value(16u8, 8u8, &value.0);
18575 }
18576 }
18577 }
18578 #[allow(clippy::needless_borrow)]
18579 #[allow(clippy::suspicious_else_formatting)]
18580 #[allow(clippy::needless_borrows_for_generic_args)]
18581 fn update_fishing_bobber_hook_entity_id(
18582 mut query: Query<
18583 (
18584 &fishing_bobber::HookEntityId,
18585 &mut tracked_data::TrackedData,
18586 ),
18587 Changed<fishing_bobber::HookEntityId>,
18588 >,
18589 ) {
18590 for (value, mut tracked_data) in &mut query {
18591 if *value == Default::default() {
18592 tracked_data.remove_init_value(8u8);
18593 } else {
18594 tracked_data.insert_init_value(8u8, 1u8, VarInt(value.0));
18595 }
18596 if !tracked_data.is_added() {
18597 tracked_data.append_update_value(8u8, 1u8, VarInt(value.0));
18598 }
18599 }
18600 }
18601 #[allow(clippy::needless_borrow)]
18602 #[allow(clippy::suspicious_else_formatting)]
18603 #[allow(clippy::needless_borrows_for_generic_args)]
18604 fn update_fishing_bobber_caught_fish(
18605 mut query: Query<
18606 (&fishing_bobber::CaughtFish, &mut tracked_data::TrackedData),
18607 Changed<fishing_bobber::CaughtFish>,
18608 >,
18609 ) {
18610 for (value, mut tracked_data) in &mut query {
18611 if *value == Default::default() {
18612 tracked_data.remove_init_value(9u8);
18613 } else {
18614 tracked_data.insert_init_value(9u8, 8u8, &value.0);
18615 }
18616 if !tracked_data.is_added() {
18617 tracked_data.append_update_value(9u8, 8u8, &value.0);
18618 }
18619 }
18620 }
18621 #[allow(clippy::needless_borrow)]
18622 #[allow(clippy::suspicious_else_formatting)]
18623 #[allow(clippy::needless_borrows_for_generic_args)]
18624 fn update_fox_type(
18625 mut query: Query<(&fox::Type, &mut tracked_data::TrackedData), Changed<fox::Type>>,
18626 ) {
18627 for (value, mut tracked_data) in &mut query {
18628 if *value == Default::default() {
18629 tracked_data.remove_init_value(17u8);
18630 } else {
18631 tracked_data.insert_init_value(17u8, 1u8, VarInt(value.0));
18632 }
18633 if !tracked_data.is_added() {
18634 tracked_data.append_update_value(17u8, 1u8, VarInt(value.0));
18635 }
18636 }
18637 }
18638 #[allow(clippy::needless_borrow)]
18639 #[allow(clippy::suspicious_else_formatting)]
18640 #[allow(clippy::needless_borrows_for_generic_args)]
18641 fn update_fox_fox_flags(
18642 mut query: Query<(&fox::FoxFlags, &mut tracked_data::TrackedData), Changed<fox::FoxFlags>>,
18643 ) {
18644 for (value, mut tracked_data) in &mut query {
18645 if *value == Default::default() {
18646 tracked_data.remove_init_value(18u8);
18647 } else {
18648 tracked_data.insert_init_value(18u8, 0u8, &value.0);
18649 }
18650 if !tracked_data.is_added() {
18651 tracked_data.append_update_value(18u8, 0u8, &value.0);
18652 }
18653 }
18654 }
18655 #[allow(clippy::needless_borrow)]
18656 #[allow(clippy::suspicious_else_formatting)]
18657 #[allow(clippy::needless_borrows_for_generic_args)]
18658 fn update_fox_owner(
18659 mut query: Query<(&fox::Owner, &mut tracked_data::TrackedData), Changed<fox::Owner>>,
18660 ) {
18661 for (value, mut tracked_data) in &mut query {
18662 if *value == Default::default() {
18663 tracked_data.remove_init_value(19u8);
18664 } else {
18665 tracked_data.insert_init_value(19u8, 13u8, &value.0);
18666 }
18667 if !tracked_data.is_added() {
18668 tracked_data.append_update_value(19u8, 13u8, &value.0);
18669 }
18670 }
18671 }
18672 #[allow(clippy::needless_borrow)]
18673 #[allow(clippy::suspicious_else_formatting)]
18674 #[allow(clippy::needless_borrows_for_generic_args)]
18675 fn update_fox_other_trusted(
18676 mut query: Query<
18677 (&fox::OtherTrusted, &mut tracked_data::TrackedData),
18678 Changed<fox::OtherTrusted>,
18679 >,
18680 ) {
18681 for (value, mut tracked_data) in &mut query {
18682 if *value == Default::default() {
18683 tracked_data.remove_init_value(20u8);
18684 } else {
18685 tracked_data.insert_init_value(20u8, 13u8, &value.0);
18686 }
18687 if !tracked_data.is_added() {
18688 tracked_data.append_update_value(20u8, 13u8, &value.0);
18689 }
18690 }
18691 }
18692 #[allow(clippy::needless_borrow)]
18693 #[allow(clippy::suspicious_else_formatting)]
18694 #[allow(clippy::needless_borrows_for_generic_args)]
18695 fn update_frog_variant(
18696 mut query: Query<(&frog::Variant, &mut tracked_data::TrackedData), Changed<frog::Variant>>,
18697 ) {
18698 for (value, mut tracked_data) in &mut query {
18699 if *value == Default::default() {
18700 tracked_data.remove_init_value(17u8);
18701 } else {
18702 tracked_data.insert_init_value(17u8, 22u8, &value.0);
18703 }
18704 if !tracked_data.is_added() {
18705 tracked_data.append_update_value(17u8, 22u8, &value.0);
18706 }
18707 }
18708 }
18709 #[allow(clippy::needless_borrow)]
18710 #[allow(clippy::suspicious_else_formatting)]
18711 #[allow(clippy::needless_borrows_for_generic_args)]
18712 fn update_frog_target(
18713 mut query: Query<(&frog::Target, &mut tracked_data::TrackedData), Changed<frog::Target>>,
18714 ) {
18715 for (value, mut tracked_data) in &mut query {
18716 if *value == Default::default() {
18717 tracked_data.remove_init_value(18u8);
18718 } else {
18719 tracked_data.insert_init_value(18u8, 19u8, OptionalInt(value.0));
18720 }
18721 if !tracked_data.is_added() {
18722 tracked_data.append_update_value(18u8, 19u8, OptionalInt(value.0));
18723 }
18724 }
18725 }
18726 #[allow(clippy::needless_borrow)]
18727 #[allow(clippy::suspicious_else_formatting)]
18728 #[allow(clippy::needless_borrows_for_generic_args)]
18729 fn update_furnace_minecart_lit(
18730 mut query: Query<
18731 (&furnace_minecart::Lit, &mut tracked_data::TrackedData),
18732 Changed<furnace_minecart::Lit>,
18733 >,
18734 ) {
18735 for (value, mut tracked_data) in &mut query {
18736 if *value == Default::default() {
18737 tracked_data.remove_init_value(14u8);
18738 } else {
18739 tracked_data.insert_init_value(14u8, 8u8, &value.0);
18740 }
18741 if !tracked_data.is_added() {
18742 tracked_data.append_update_value(14u8, 8u8, &value.0);
18743 }
18744 }
18745 }
18746 #[allow(clippy::needless_borrow)]
18747 #[allow(clippy::suspicious_else_formatting)]
18748 #[allow(clippy::needless_borrows_for_generic_args)]
18749 fn update_ghast_shooting(
18750 mut query: Query<
18751 (&ghast::Shooting, &mut tracked_data::TrackedData),
18752 Changed<ghast::Shooting>,
18753 >,
18754 ) {
18755 for (value, mut tracked_data) in &mut query {
18756 if *value == Default::default() {
18757 tracked_data.remove_init_value(16u8);
18758 } else {
18759 tracked_data.insert_init_value(16u8, 8u8, &value.0);
18760 }
18761 if !tracked_data.is_added() {
18762 tracked_data.append_update_value(16u8, 8u8, &value.0);
18763 }
18764 }
18765 }
18766 #[allow(clippy::needless_borrow)]
18767 #[allow(clippy::suspicious_else_formatting)]
18768 #[allow(clippy::needless_borrows_for_generic_args)]
18769 fn update_glow_squid_dark_ticks_remaining(
18770 mut query: Query<
18771 (
18772 &glow_squid::DarkTicksRemaining,
18773 &mut tracked_data::TrackedData,
18774 ),
18775 Changed<glow_squid::DarkTicksRemaining>,
18776 >,
18777 ) {
18778 for (value, mut tracked_data) in &mut query {
18779 if *value == Default::default() {
18780 tracked_data.remove_init_value(16u8);
18781 } else {
18782 tracked_data.insert_init_value(16u8, 1u8, VarInt(value.0));
18783 }
18784 if !tracked_data.is_added() {
18785 tracked_data.append_update_value(16u8, 1u8, VarInt(value.0));
18786 }
18787 }
18788 }
18789 #[allow(clippy::needless_borrow)]
18790 #[allow(clippy::suspicious_else_formatting)]
18791 #[allow(clippy::needless_borrows_for_generic_args)]
18792 fn update_goat_screaming(
18793 mut query: Query<
18794 (&goat::Screaming, &mut tracked_data::TrackedData),
18795 Changed<goat::Screaming>,
18796 >,
18797 ) {
18798 for (value, mut tracked_data) in &mut query {
18799 if *value == Default::default() {
18800 tracked_data.remove_init_value(17u8);
18801 } else {
18802 tracked_data.insert_init_value(17u8, 8u8, &value.0);
18803 }
18804 if !tracked_data.is_added() {
18805 tracked_data.append_update_value(17u8, 8u8, &value.0);
18806 }
18807 }
18808 }
18809 #[allow(clippy::needless_borrow)]
18810 #[allow(clippy::suspicious_else_formatting)]
18811 #[allow(clippy::needless_borrows_for_generic_args)]
18812 fn update_goat_left_horn(
18813 mut query: Query<
18814 (&goat::LeftHorn, &mut tracked_data::TrackedData),
18815 Changed<goat::LeftHorn>,
18816 >,
18817 ) {
18818 for (value, mut tracked_data) in &mut query {
18819 if *value == Default::default() {
18820 tracked_data.remove_init_value(18u8);
18821 } else {
18822 tracked_data.insert_init_value(18u8, 8u8, &value.0);
18823 }
18824 if !tracked_data.is_added() {
18825 tracked_data.append_update_value(18u8, 8u8, &value.0);
18826 }
18827 }
18828 }
18829 #[allow(clippy::needless_borrow)]
18830 #[allow(clippy::suspicious_else_formatting)]
18831 #[allow(clippy::needless_borrows_for_generic_args)]
18832 fn update_goat_right_horn(
18833 mut query: Query<
18834 (&goat::RightHorn, &mut tracked_data::TrackedData),
18835 Changed<goat::RightHorn>,
18836 >,
18837 ) {
18838 for (value, mut tracked_data) in &mut query {
18839 if *value == Default::default() {
18840 tracked_data.remove_init_value(19u8);
18841 } else {
18842 tracked_data.insert_init_value(19u8, 8u8, &value.0);
18843 }
18844 if !tracked_data.is_added() {
18845 tracked_data.append_update_value(19u8, 8u8, &value.0);
18846 }
18847 }
18848 }
18849 #[allow(clippy::needless_borrow)]
18850 #[allow(clippy::suspicious_else_formatting)]
18851 #[allow(clippy::needless_borrows_for_generic_args)]
18852 fn update_guardian_spikes_retracted(
18853 mut query: Query<
18854 (&guardian::SpikesRetracted, &mut tracked_data::TrackedData),
18855 Changed<guardian::SpikesRetracted>,
18856 >,
18857 ) {
18858 for (value, mut tracked_data) in &mut query {
18859 if *value == Default::default() {
18860 tracked_data.remove_init_value(16u8);
18861 } else {
18862 tracked_data.insert_init_value(16u8, 8u8, &value.0);
18863 }
18864 if !tracked_data.is_added() {
18865 tracked_data.append_update_value(16u8, 8u8, &value.0);
18866 }
18867 }
18868 }
18869 #[allow(clippy::needless_borrow)]
18870 #[allow(clippy::suspicious_else_formatting)]
18871 #[allow(clippy::needless_borrows_for_generic_args)]
18872 fn update_guardian_beam_target_id(
18873 mut query: Query<
18874 (&guardian::BeamTargetId, &mut tracked_data::TrackedData),
18875 Changed<guardian::BeamTargetId>,
18876 >,
18877 ) {
18878 for (value, mut tracked_data) in &mut query {
18879 if *value == Default::default() {
18880 tracked_data.remove_init_value(17u8);
18881 } else {
18882 tracked_data.insert_init_value(17u8, 1u8, VarInt(value.0));
18883 }
18884 if !tracked_data.is_added() {
18885 tracked_data.append_update_value(17u8, 1u8, VarInt(value.0));
18886 }
18887 }
18888 }
18889 #[allow(clippy::needless_borrow)]
18890 #[allow(clippy::suspicious_else_formatting)]
18891 #[allow(clippy::needless_borrows_for_generic_args)]
18892 fn update_hoglin_baby(
18893 mut query: Query<(&hoglin::Baby, &mut tracked_data::TrackedData), Changed<hoglin::Baby>>,
18894 ) {
18895 for (value, mut tracked_data) in &mut query {
18896 if *value == Default::default() {
18897 tracked_data.remove_init_value(17u8);
18898 } else {
18899 tracked_data.insert_init_value(17u8, 8u8, &value.0);
18900 }
18901 if !tracked_data.is_added() {
18902 tracked_data.append_update_value(17u8, 8u8, &value.0);
18903 }
18904 }
18905 }
18906 #[allow(clippy::needless_borrow)]
18907 #[allow(clippy::suspicious_else_formatting)]
18908 #[allow(clippy::needless_borrows_for_generic_args)]
18909 fn update_horse_variant(
18910 mut query: Query<
18911 (&horse::Variant, &mut tracked_data::TrackedData),
18912 Changed<horse::Variant>,
18913 >,
18914 ) {
18915 for (value, mut tracked_data) in &mut query {
18916 if *value == Default::default() {
18917 tracked_data.remove_init_value(18u8);
18918 } else {
18919 tracked_data.insert_init_value(18u8, 1u8, VarInt(value.0));
18920 }
18921 if !tracked_data.is_added() {
18922 tracked_data.append_update_value(18u8, 1u8, VarInt(value.0));
18923 }
18924 }
18925 }
18926 #[allow(clippy::needless_borrow)]
18927 #[allow(clippy::suspicious_else_formatting)]
18928 #[allow(clippy::needless_borrows_for_generic_args)]
18929 fn update_interaction_width(
18930 mut query: Query<
18931 (&interaction::Width, &mut tracked_data::TrackedData),
18932 Changed<interaction::Width>,
18933 >,
18934 ) {
18935 for (value, mut tracked_data) in &mut query {
18936 if *value == Default::default() {
18937 tracked_data.remove_init_value(8u8);
18938 } else {
18939 tracked_data.insert_init_value(8u8, 3u8, &value.0);
18940 }
18941 if !tracked_data.is_added() {
18942 tracked_data.append_update_value(8u8, 3u8, &value.0);
18943 }
18944 }
18945 }
18946 #[allow(clippy::needless_borrow)]
18947 #[allow(clippy::suspicious_else_formatting)]
18948 #[allow(clippy::needless_borrows_for_generic_args)]
18949 fn update_interaction_height(
18950 mut query: Query<
18951 (&interaction::Height, &mut tracked_data::TrackedData),
18952 Changed<interaction::Height>,
18953 >,
18954 ) {
18955 for (value, mut tracked_data) in &mut query {
18956 if *value == Default::default() {
18957 tracked_data.remove_init_value(9u8);
18958 } else {
18959 tracked_data.insert_init_value(9u8, 3u8, &value.0);
18960 }
18961 if !tracked_data.is_added() {
18962 tracked_data.append_update_value(9u8, 3u8, &value.0);
18963 }
18964 }
18965 }
18966 #[allow(clippy::needless_borrow)]
18967 #[allow(clippy::suspicious_else_formatting)]
18968 #[allow(clippy::needless_borrows_for_generic_args)]
18969 fn update_interaction_response(
18970 mut query: Query<
18971 (&interaction::Response, &mut tracked_data::TrackedData),
18972 Changed<interaction::Response>,
18973 >,
18974 ) {
18975 for (value, mut tracked_data) in &mut query {
18976 if *value == Default::default() {
18977 tracked_data.remove_init_value(10u8);
18978 } else {
18979 tracked_data.insert_init_value(10u8, 8u8, &value.0);
18980 }
18981 if !tracked_data.is_added() {
18982 tracked_data.append_update_value(10u8, 8u8, &value.0);
18983 }
18984 }
18985 }
18986 #[allow(clippy::needless_borrow)]
18987 #[allow(clippy::suspicious_else_formatting)]
18988 #[allow(clippy::needless_borrows_for_generic_args)]
18989 fn update_iron_golem_iron_golem_flags(
18990 mut query: Query<
18991 (&iron_golem::IronGolemFlags, &mut tracked_data::TrackedData),
18992 Changed<iron_golem::IronGolemFlags>,
18993 >,
18994 ) {
18995 for (value, mut tracked_data) in &mut query {
18996 if *value == Default::default() {
18997 tracked_data.remove_init_value(16u8);
18998 } else {
18999 tracked_data.insert_init_value(16u8, 0u8, &value.0);
19000 }
19001 if !tracked_data.is_added() {
19002 tracked_data.append_update_value(16u8, 0u8, &value.0);
19003 }
19004 }
19005 }
19006 #[allow(clippy::needless_borrow)]
19007 #[allow(clippy::suspicious_else_formatting)]
19008 #[allow(clippy::needless_borrows_for_generic_args)]
19009 fn update_item_display_item(
19010 mut query: Query<
19011 (&item_display::Item, &mut tracked_data::TrackedData),
19012 Changed<item_display::Item>,
19013 >,
19014 ) {
19015 for (value, mut tracked_data) in &mut query {
19016 if *value == Default::default() {
19017 tracked_data.remove_init_value(22u8);
19018 } else {
19019 tracked_data.insert_init_value(22u8, 7u8, &value.0);
19020 }
19021 if !tracked_data.is_added() {
19022 tracked_data.append_update_value(22u8, 7u8, &value.0);
19023 }
19024 }
19025 }
19026 #[allow(clippy::needless_borrow)]
19027 #[allow(clippy::suspicious_else_formatting)]
19028 #[allow(clippy::needless_borrows_for_generic_args)]
19029 fn update_item_display_item_display(
19030 mut query: Query<
19031 (&item_display::ItemDisplay, &mut tracked_data::TrackedData),
19032 Changed<item_display::ItemDisplay>,
19033 >,
19034 ) {
19035 for (value, mut tracked_data) in &mut query {
19036 if *value == Default::default() {
19037 tracked_data.remove_init_value(23u8);
19038 } else {
19039 tracked_data.insert_init_value(23u8, 0u8, &value.0);
19040 }
19041 if !tracked_data.is_added() {
19042 tracked_data.append_update_value(23u8, 0u8, &value.0);
19043 }
19044 }
19045 }
19046 #[allow(clippy::needless_borrow)]
19047 #[allow(clippy::suspicious_else_formatting)]
19048 #[allow(clippy::needless_borrows_for_generic_args)]
19049 fn update_item_stack(
19050 mut query: Query<(&item::Stack, &mut tracked_data::TrackedData), Changed<item::Stack>>,
19051 ) {
19052 for (value, mut tracked_data) in &mut query {
19053 if *value == Default::default() {
19054 tracked_data.remove_init_value(8u8);
19055 } else {
19056 tracked_data.insert_init_value(8u8, 7u8, &value.0);
19057 }
19058 if !tracked_data.is_added() {
19059 tracked_data.append_update_value(8u8, 7u8, &value.0);
19060 }
19061 }
19062 }
19063 #[allow(clippy::needless_borrow)]
19064 #[allow(clippy::suspicious_else_formatting)]
19065 #[allow(clippy::needless_borrows_for_generic_args)]
19066 fn update_item_frame_item_stack(
19067 mut query: Query<
19068 (&item_frame::ItemStack, &mut tracked_data::TrackedData),
19069 Changed<item_frame::ItemStack>,
19070 >,
19071 ) {
19072 for (value, mut tracked_data) in &mut query {
19073 if *value == Default::default() {
19074 tracked_data.remove_init_value(8u8);
19075 } else {
19076 tracked_data.insert_init_value(8u8, 7u8, &value.0);
19077 }
19078 if !tracked_data.is_added() {
19079 tracked_data.append_update_value(8u8, 7u8, &value.0);
19080 }
19081 }
19082 }
19083 #[allow(clippy::needless_borrow)]
19084 #[allow(clippy::suspicious_else_formatting)]
19085 #[allow(clippy::needless_borrows_for_generic_args)]
19086 fn update_item_frame_rotation(
19087 mut query: Query<
19088 (&item_frame::Rotation, &mut tracked_data::TrackedData),
19089 Changed<item_frame::Rotation>,
19090 >,
19091 ) {
19092 for (value, mut tracked_data) in &mut query {
19093 if *value == Default::default() {
19094 tracked_data.remove_init_value(9u8);
19095 } else {
19096 tracked_data.insert_init_value(9u8, 1u8, VarInt(value.0));
19097 }
19098 if !tracked_data.is_added() {
19099 tracked_data.append_update_value(9u8, 1u8, VarInt(value.0));
19100 }
19101 }
19102 }
19103 #[allow(clippy::needless_borrow)]
19104 #[allow(clippy::suspicious_else_formatting)]
19105 #[allow(clippy::needless_borrows_for_generic_args)]
19106 fn update_living_living_flags(
19107 mut query: Query<
19108 (&living::LivingFlags, &mut tracked_data::TrackedData),
19109 Changed<living::LivingFlags>,
19110 >,
19111 ) {
19112 for (value, mut tracked_data) in &mut query {
19113 if *value == Default::default() {
19114 tracked_data.remove_init_value(8u8);
19115 } else {
19116 tracked_data.insert_init_value(8u8, 0u8, &value.0);
19117 }
19118 if !tracked_data.is_added() {
19119 tracked_data.append_update_value(8u8, 0u8, &value.0);
19120 }
19121 }
19122 }
19123 #[allow(clippy::needless_borrow)]
19124 #[allow(clippy::suspicious_else_formatting)]
19125 #[allow(clippy::needless_borrows_for_generic_args)]
19126 fn update_living_health(
19127 mut query: Query<
19128 (&living::Health, &mut tracked_data::TrackedData),
19129 Changed<living::Health>,
19130 >,
19131 ) {
19132 for (value, mut tracked_data) in &mut query {
19133 if *value == Default::default() {
19134 tracked_data.remove_init_value(9u8);
19135 } else {
19136 tracked_data.insert_init_value(9u8, 3u8, &value.0);
19137 }
19138 if !tracked_data.is_added() {
19139 tracked_data.append_update_value(9u8, 3u8, &value.0);
19140 }
19141 }
19142 }
19143 #[allow(clippy::needless_borrow)]
19144 #[allow(clippy::suspicious_else_formatting)]
19145 #[allow(clippy::needless_borrows_for_generic_args)]
19146 fn update_living_potion_swirls_color(
19147 mut query: Query<
19148 (&living::PotionSwirlsColor, &mut tracked_data::TrackedData),
19149 Changed<living::PotionSwirlsColor>,
19150 >,
19151 ) {
19152 for (value, mut tracked_data) in &mut query {
19153 if *value == Default::default() {
19154 tracked_data.remove_init_value(10u8);
19155 } else {
19156 tracked_data.insert_init_value(10u8, 1u8, VarInt(value.0));
19157 }
19158 if !tracked_data.is_added() {
19159 tracked_data.append_update_value(10u8, 1u8, VarInt(value.0));
19160 }
19161 }
19162 }
19163 #[allow(clippy::needless_borrow)]
19164 #[allow(clippy::suspicious_else_formatting)]
19165 #[allow(clippy::needless_borrows_for_generic_args)]
19166 fn update_living_potion_swirls_ambient(
19167 mut query: Query<
19168 (&living::PotionSwirlsAmbient, &mut tracked_data::TrackedData),
19169 Changed<living::PotionSwirlsAmbient>,
19170 >,
19171 ) {
19172 for (value, mut tracked_data) in &mut query {
19173 if *value == Default::default() {
19174 tracked_data.remove_init_value(11u8);
19175 } else {
19176 tracked_data.insert_init_value(11u8, 8u8, &value.0);
19177 }
19178 if !tracked_data.is_added() {
19179 tracked_data.append_update_value(11u8, 8u8, &value.0);
19180 }
19181 }
19182 }
19183 #[allow(clippy::needless_borrow)]
19184 #[allow(clippy::suspicious_else_formatting)]
19185 #[allow(clippy::needless_borrows_for_generic_args)]
19186 fn update_living_stuck_arrow_count(
19187 mut query: Query<
19188 (&living::StuckArrowCount, &mut tracked_data::TrackedData),
19189 Changed<living::StuckArrowCount>,
19190 >,
19191 ) {
19192 for (value, mut tracked_data) in &mut query {
19193 if *value == Default::default() {
19194 tracked_data.remove_init_value(12u8);
19195 } else {
19196 tracked_data.insert_init_value(12u8, 1u8, VarInt(value.0));
19197 }
19198 if !tracked_data.is_added() {
19199 tracked_data.append_update_value(12u8, 1u8, VarInt(value.0));
19200 }
19201 }
19202 }
19203 #[allow(clippy::needless_borrow)]
19204 #[allow(clippy::suspicious_else_formatting)]
19205 #[allow(clippy::needless_borrows_for_generic_args)]
19206 fn update_living_stinger_count(
19207 mut query: Query<
19208 (&living::StingerCount, &mut tracked_data::TrackedData),
19209 Changed<living::StingerCount>,
19210 >,
19211 ) {
19212 for (value, mut tracked_data) in &mut query {
19213 if *value == Default::default() {
19214 tracked_data.remove_init_value(13u8);
19215 } else {
19216 tracked_data.insert_init_value(13u8, 1u8, VarInt(value.0));
19217 }
19218 if !tracked_data.is_added() {
19219 tracked_data.append_update_value(13u8, 1u8, VarInt(value.0));
19220 }
19221 }
19222 }
19223 #[allow(clippy::needless_borrow)]
19224 #[allow(clippy::suspicious_else_formatting)]
19225 #[allow(clippy::needless_borrows_for_generic_args)]
19226 fn update_living_sleeping_position(
19227 mut query: Query<
19228 (&living::SleepingPosition, &mut tracked_data::TrackedData),
19229 Changed<living::SleepingPosition>,
19230 >,
19231 ) {
19232 for (value, mut tracked_data) in &mut query {
19233 if *value == Default::default() {
19234 tracked_data.remove_init_value(14u8);
19235 } else {
19236 tracked_data.insert_init_value(14u8, 11u8, &value.0);
19237 }
19238 if !tracked_data.is_added() {
19239 tracked_data.append_update_value(14u8, 11u8, &value.0);
19240 }
19241 }
19242 }
19243 #[allow(clippy::needless_borrow)]
19244 #[allow(clippy::suspicious_else_formatting)]
19245 #[allow(clippy::needless_borrows_for_generic_args)]
19246 fn update_llama_strength(
19247 mut query: Query<
19248 (&llama::Strength, &mut tracked_data::TrackedData),
19249 Changed<llama::Strength>,
19250 >,
19251 ) {
19252 for (value, mut tracked_data) in &mut query {
19253 if *value == Default::default() {
19254 tracked_data.remove_init_value(19u8);
19255 } else {
19256 tracked_data.insert_init_value(19u8, 1u8, VarInt(value.0));
19257 }
19258 if !tracked_data.is_added() {
19259 tracked_data.append_update_value(19u8, 1u8, VarInt(value.0));
19260 }
19261 }
19262 }
19263 #[allow(clippy::needless_borrow)]
19264 #[allow(clippy::suspicious_else_formatting)]
19265 #[allow(clippy::needless_borrows_for_generic_args)]
19266 fn update_llama_carpet_color(
19267 mut query: Query<
19268 (&llama::CarpetColor, &mut tracked_data::TrackedData),
19269 Changed<llama::CarpetColor>,
19270 >,
19271 ) {
19272 for (value, mut tracked_data) in &mut query {
19273 if *value == Default::default() {
19274 tracked_data.remove_init_value(20u8);
19275 } else {
19276 tracked_data.insert_init_value(20u8, 1u8, VarInt(value.0));
19277 }
19278 if !tracked_data.is_added() {
19279 tracked_data.append_update_value(20u8, 1u8, VarInt(value.0));
19280 }
19281 }
19282 }
19283 #[allow(clippy::needless_borrow)]
19284 #[allow(clippy::suspicious_else_formatting)]
19285 #[allow(clippy::needless_borrows_for_generic_args)]
19286 fn update_llama_variant(
19287 mut query: Query<
19288 (&llama::Variant, &mut tracked_data::TrackedData),
19289 Changed<llama::Variant>,
19290 >,
19291 ) {
19292 for (value, mut tracked_data) in &mut query {
19293 if *value == Default::default() {
19294 tracked_data.remove_init_value(21u8);
19295 } else {
19296 tracked_data.insert_init_value(21u8, 1u8, VarInt(value.0));
19297 }
19298 if !tracked_data.is_added() {
19299 tracked_data.append_update_value(21u8, 1u8, VarInt(value.0));
19300 }
19301 }
19302 }
19303 #[allow(clippy::needless_borrow)]
19304 #[allow(clippy::suspicious_else_formatting)]
19305 #[allow(clippy::needless_borrows_for_generic_args)]
19306 fn update_merchant_head_rolling_time_left(
19307 mut query: Query<
19308 (
19309 &merchant::HeadRollingTimeLeft,
19310 &mut tracked_data::TrackedData,
19311 ),
19312 Changed<merchant::HeadRollingTimeLeft>,
19313 >,
19314 ) {
19315 for (value, mut tracked_data) in &mut query {
19316 if *value == Default::default() {
19317 tracked_data.remove_init_value(17u8);
19318 } else {
19319 tracked_data.insert_init_value(17u8, 1u8, VarInt(value.0));
19320 }
19321 if !tracked_data.is_added() {
19322 tracked_data.append_update_value(17u8, 1u8, VarInt(value.0));
19323 }
19324 }
19325 }
19326 #[allow(clippy::needless_borrow)]
19327 #[allow(clippy::suspicious_else_formatting)]
19328 #[allow(clippy::needless_borrows_for_generic_args)]
19329 fn update_mob_mob_flags(
19330 mut query: Query<(&mob::MobFlags, &mut tracked_data::TrackedData), Changed<mob::MobFlags>>,
19331 ) {
19332 for (value, mut tracked_data) in &mut query {
19333 if *value == Default::default() {
19334 tracked_data.remove_init_value(15u8);
19335 } else {
19336 tracked_data.insert_init_value(15u8, 0u8, &value.0);
19337 }
19338 if !tracked_data.is_added() {
19339 tracked_data.append_update_value(15u8, 0u8, &value.0);
19340 }
19341 }
19342 }
19343 #[allow(clippy::needless_borrow)]
19344 #[allow(clippy::suspicious_else_formatting)]
19345 #[allow(clippy::needless_borrows_for_generic_args)]
19346 fn update_mooshroom_type(
19347 mut query: Query<
19348 (&mooshroom::Type, &mut tracked_data::TrackedData),
19349 Changed<mooshroom::Type>,
19350 >,
19351 ) {
19352 for (value, mut tracked_data) in &mut query {
19353 if *value == Default::default() {
19354 tracked_data.remove_init_value(17u8);
19355 } else {
19356 tracked_data.insert_init_value(17u8, 4u8, &value.0);
19357 }
19358 if !tracked_data.is_added() {
19359 tracked_data.append_update_value(17u8, 4u8, &value.0);
19360 }
19361 }
19362 }
19363 #[allow(clippy::needless_borrow)]
19364 #[allow(clippy::suspicious_else_formatting)]
19365 #[allow(clippy::needless_borrows_for_generic_args)]
19366 fn update_ocelot_trusting(
19367 mut query: Query<
19368 (&ocelot::Trusting, &mut tracked_data::TrackedData),
19369 Changed<ocelot::Trusting>,
19370 >,
19371 ) {
19372 for (value, mut tracked_data) in &mut query {
19373 if *value == Default::default() {
19374 tracked_data.remove_init_value(17u8);
19375 } else {
19376 tracked_data.insert_init_value(17u8, 8u8, &value.0);
19377 }
19378 if !tracked_data.is_added() {
19379 tracked_data.append_update_value(17u8, 8u8, &value.0);
19380 }
19381 }
19382 }
19383 #[allow(clippy::needless_borrow)]
19384 #[allow(clippy::suspicious_else_formatting)]
19385 #[allow(clippy::needless_borrows_for_generic_args)]
19386 fn update_painting_variant(
19387 mut query: Query<
19388 (&painting::Variant, &mut tracked_data::TrackedData),
19389 Changed<painting::Variant>,
19390 >,
19391 ) {
19392 for (value, mut tracked_data) in &mut query {
19393 if *value == Default::default() {
19394 tracked_data.remove_init_value(8u8);
19395 } else {
19396 tracked_data.insert_init_value(8u8, 24u8, &value.0);
19397 }
19398 if !tracked_data.is_added() {
19399 tracked_data.append_update_value(8u8, 24u8, &value.0);
19400 }
19401 }
19402 }
19403 #[allow(clippy::needless_borrow)]
19404 #[allow(clippy::suspicious_else_formatting)]
19405 #[allow(clippy::needless_borrows_for_generic_args)]
19406 fn update_panda_ask_for_bamboo_ticks(
19407 mut query: Query<
19408 (&panda::AskForBambooTicks, &mut tracked_data::TrackedData),
19409 Changed<panda::AskForBambooTicks>,
19410 >,
19411 ) {
19412 for (value, mut tracked_data) in &mut query {
19413 if *value == Default::default() {
19414 tracked_data.remove_init_value(17u8);
19415 } else {
19416 tracked_data.insert_init_value(17u8, 1u8, VarInt(value.0));
19417 }
19418 if !tracked_data.is_added() {
19419 tracked_data.append_update_value(17u8, 1u8, VarInt(value.0));
19420 }
19421 }
19422 }
19423 #[allow(clippy::needless_borrow)]
19424 #[allow(clippy::suspicious_else_formatting)]
19425 #[allow(clippy::needless_borrows_for_generic_args)]
19426 fn update_panda_sneeze_progress(
19427 mut query: Query<
19428 (&panda::SneezeProgress, &mut tracked_data::TrackedData),
19429 Changed<panda::SneezeProgress>,
19430 >,
19431 ) {
19432 for (value, mut tracked_data) in &mut query {
19433 if *value == Default::default() {
19434 tracked_data.remove_init_value(18u8);
19435 } else {
19436 tracked_data.insert_init_value(18u8, 1u8, VarInt(value.0));
19437 }
19438 if !tracked_data.is_added() {
19439 tracked_data.append_update_value(18u8, 1u8, VarInt(value.0));
19440 }
19441 }
19442 }
19443 #[allow(clippy::needless_borrow)]
19444 #[allow(clippy::suspicious_else_formatting)]
19445 #[allow(clippy::needless_borrows_for_generic_args)]
19446 fn update_panda_eating_ticks(
19447 mut query: Query<
19448 (&panda::EatingTicks, &mut tracked_data::TrackedData),
19449 Changed<panda::EatingTicks>,
19450 >,
19451 ) {
19452 for (value, mut tracked_data) in &mut query {
19453 if *value == Default::default() {
19454 tracked_data.remove_init_value(19u8);
19455 } else {
19456 tracked_data.insert_init_value(19u8, 1u8, VarInt(value.0));
19457 }
19458 if !tracked_data.is_added() {
19459 tracked_data.append_update_value(19u8, 1u8, VarInt(value.0));
19460 }
19461 }
19462 }
19463 #[allow(clippy::needless_borrow)]
19464 #[allow(clippy::suspicious_else_formatting)]
19465 #[allow(clippy::needless_borrows_for_generic_args)]
19466 fn update_panda_main_gene(
19467 mut query: Query<
19468 (&panda::MainGene, &mut tracked_data::TrackedData),
19469 Changed<panda::MainGene>,
19470 >,
19471 ) {
19472 for (value, mut tracked_data) in &mut query {
19473 if *value == Default::default() {
19474 tracked_data.remove_init_value(20u8);
19475 } else {
19476 tracked_data.insert_init_value(20u8, 0u8, &value.0);
19477 }
19478 if !tracked_data.is_added() {
19479 tracked_data.append_update_value(20u8, 0u8, &value.0);
19480 }
19481 }
19482 }
19483 #[allow(clippy::needless_borrow)]
19484 #[allow(clippy::suspicious_else_formatting)]
19485 #[allow(clippy::needless_borrows_for_generic_args)]
19486 fn update_panda_hidden_gene(
19487 mut query: Query<
19488 (&panda::HiddenGene, &mut tracked_data::TrackedData),
19489 Changed<panda::HiddenGene>,
19490 >,
19491 ) {
19492 for (value, mut tracked_data) in &mut query {
19493 if *value == Default::default() {
19494 tracked_data.remove_init_value(21u8);
19495 } else {
19496 tracked_data.insert_init_value(21u8, 0u8, &value.0);
19497 }
19498 if !tracked_data.is_added() {
19499 tracked_data.append_update_value(21u8, 0u8, &value.0);
19500 }
19501 }
19502 }
19503 #[allow(clippy::needless_borrow)]
19504 #[allow(clippy::suspicious_else_formatting)]
19505 #[allow(clippy::needless_borrows_for_generic_args)]
19506 fn update_panda_panda_flags(
19507 mut query: Query<
19508 (&panda::PandaFlags, &mut tracked_data::TrackedData),
19509 Changed<panda::PandaFlags>,
19510 >,
19511 ) {
19512 for (value, mut tracked_data) in &mut query {
19513 if *value == Default::default() {
19514 tracked_data.remove_init_value(22u8);
19515 } else {
19516 tracked_data.insert_init_value(22u8, 0u8, &value.0);
19517 }
19518 if !tracked_data.is_added() {
19519 tracked_data.append_update_value(22u8, 0u8, &value.0);
19520 }
19521 }
19522 }
19523 #[allow(clippy::needless_borrow)]
19524 #[allow(clippy::suspicious_else_formatting)]
19525 #[allow(clippy::needless_borrows_for_generic_args)]
19526 fn update_parrot_variant(
19527 mut query: Query<
19528 (&parrot::Variant, &mut tracked_data::TrackedData),
19529 Changed<parrot::Variant>,
19530 >,
19531 ) {
19532 for (value, mut tracked_data) in &mut query {
19533 if *value == Default::default() {
19534 tracked_data.remove_init_value(19u8);
19535 } else {
19536 tracked_data.insert_init_value(19u8, 1u8, VarInt(value.0));
19537 }
19538 if !tracked_data.is_added() {
19539 tracked_data.append_update_value(19u8, 1u8, VarInt(value.0));
19540 }
19541 }
19542 }
19543 #[allow(clippy::needless_borrow)]
19544 #[allow(clippy::suspicious_else_formatting)]
19545 #[allow(clippy::needless_borrows_for_generic_args)]
19546 fn update_passive_child(
19547 mut query: Query<
19548 (&passive::Child, &mut tracked_data::TrackedData),
19549 Changed<passive::Child>,
19550 >,
19551 ) {
19552 for (value, mut tracked_data) in &mut query {
19553 if *value == Default::default() {
19554 tracked_data.remove_init_value(16u8);
19555 } else {
19556 tracked_data.insert_init_value(16u8, 8u8, &value.0);
19557 }
19558 if !tracked_data.is_added() {
19559 tracked_data.append_update_value(16u8, 8u8, &value.0);
19560 }
19561 }
19562 }
19563 #[allow(clippy::needless_borrow)]
19564 #[allow(clippy::suspicious_else_formatting)]
19565 #[allow(clippy::needless_borrows_for_generic_args)]
19566 fn update_persistent_projectile_projectile_flags(
19567 mut query: Query<
19568 (
19569 &persistent_projectile::ProjectileFlags,
19570 &mut tracked_data::TrackedData,
19571 ),
19572 Changed<persistent_projectile::ProjectileFlags>,
19573 >,
19574 ) {
19575 for (value, mut tracked_data) in &mut query {
19576 if *value == Default::default() {
19577 tracked_data.remove_init_value(8u8);
19578 } else {
19579 tracked_data.insert_init_value(8u8, 0u8, &value.0);
19580 }
19581 if !tracked_data.is_added() {
19582 tracked_data.append_update_value(8u8, 0u8, &value.0);
19583 }
19584 }
19585 }
19586 #[allow(clippy::needless_borrow)]
19587 #[allow(clippy::suspicious_else_formatting)]
19588 #[allow(clippy::needless_borrows_for_generic_args)]
19589 fn update_persistent_projectile_pierce_level(
19590 mut query: Query<
19591 (
19592 &persistent_projectile::PierceLevel,
19593 &mut tracked_data::TrackedData,
19594 ),
19595 Changed<persistent_projectile::PierceLevel>,
19596 >,
19597 ) {
19598 for (value, mut tracked_data) in &mut query {
19599 if *value == Default::default() {
19600 tracked_data.remove_init_value(9u8);
19601 } else {
19602 tracked_data.insert_init_value(9u8, 0u8, &value.0);
19603 }
19604 if !tracked_data.is_added() {
19605 tracked_data.append_update_value(9u8, 0u8, &value.0);
19606 }
19607 }
19608 }
19609 #[allow(clippy::needless_borrow)]
19610 #[allow(clippy::suspicious_else_formatting)]
19611 #[allow(clippy::needless_borrows_for_generic_args)]
19612 fn update_phantom_size(
19613 mut query: Query<(&phantom::Size, &mut tracked_data::TrackedData), Changed<phantom::Size>>,
19614 ) {
19615 for (value, mut tracked_data) in &mut query {
19616 if *value == Default::default() {
19617 tracked_data.remove_init_value(16u8);
19618 } else {
19619 tracked_data.insert_init_value(16u8, 1u8, VarInt(value.0));
19620 }
19621 if !tracked_data.is_added() {
19622 tracked_data.append_update_value(16u8, 1u8, VarInt(value.0));
19623 }
19624 }
19625 }
19626 #[allow(clippy::needless_borrow)]
19627 #[allow(clippy::suspicious_else_formatting)]
19628 #[allow(clippy::needless_borrows_for_generic_args)]
19629 fn update_pig_saddled(
19630 mut query: Query<(&pig::Saddled, &mut tracked_data::TrackedData), Changed<pig::Saddled>>,
19631 ) {
19632 for (value, mut tracked_data) in &mut query {
19633 if *value == Default::default() {
19634 tracked_data.remove_init_value(17u8);
19635 } else {
19636 tracked_data.insert_init_value(17u8, 8u8, &value.0);
19637 }
19638 if !tracked_data.is_added() {
19639 tracked_data.append_update_value(17u8, 8u8, &value.0);
19640 }
19641 }
19642 }
19643 #[allow(clippy::needless_borrow)]
19644 #[allow(clippy::suspicious_else_formatting)]
19645 #[allow(clippy::needless_borrows_for_generic_args)]
19646 fn update_pig_boost_time(
19647 mut query: Query<
19648 (&pig::BoostTime, &mut tracked_data::TrackedData),
19649 Changed<pig::BoostTime>,
19650 >,
19651 ) {
19652 for (value, mut tracked_data) in &mut query {
19653 if *value == Default::default() {
19654 tracked_data.remove_init_value(18u8);
19655 } else {
19656 tracked_data.insert_init_value(18u8, 1u8, VarInt(value.0));
19657 }
19658 if !tracked_data.is_added() {
19659 tracked_data.append_update_value(18u8, 1u8, VarInt(value.0));
19660 }
19661 }
19662 }
19663 #[allow(clippy::needless_borrow)]
19664 #[allow(clippy::suspicious_else_formatting)]
19665 #[allow(clippy::needless_borrows_for_generic_args)]
19666 fn update_piglin_baby(
19667 mut query: Query<(&piglin::Baby, &mut tracked_data::TrackedData), Changed<piglin::Baby>>,
19668 ) {
19669 for (value, mut tracked_data) in &mut query {
19670 if *value == Default::default() {
19671 tracked_data.remove_init_value(17u8);
19672 } else {
19673 tracked_data.insert_init_value(17u8, 8u8, &value.0);
19674 }
19675 if !tracked_data.is_added() {
19676 tracked_data.append_update_value(17u8, 8u8, &value.0);
19677 }
19678 }
19679 }
19680 #[allow(clippy::needless_borrow)]
19681 #[allow(clippy::suspicious_else_formatting)]
19682 #[allow(clippy::needless_borrows_for_generic_args)]
19683 fn update_piglin_charging(
19684 mut query: Query<
19685 (&piglin::Charging, &mut tracked_data::TrackedData),
19686 Changed<piglin::Charging>,
19687 >,
19688 ) {
19689 for (value, mut tracked_data) in &mut query {
19690 if *value == Default::default() {
19691 tracked_data.remove_init_value(18u8);
19692 } else {
19693 tracked_data.insert_init_value(18u8, 8u8, &value.0);
19694 }
19695 if !tracked_data.is_added() {
19696 tracked_data.append_update_value(18u8, 8u8, &value.0);
19697 }
19698 }
19699 }
19700 #[allow(clippy::needless_borrow)]
19701 #[allow(clippy::suspicious_else_formatting)]
19702 #[allow(clippy::needless_borrows_for_generic_args)]
19703 fn update_piglin_dancing(
19704 mut query: Query<
19705 (&piglin::Dancing, &mut tracked_data::TrackedData),
19706 Changed<piglin::Dancing>,
19707 >,
19708 ) {
19709 for (value, mut tracked_data) in &mut query {
19710 if *value == Default::default() {
19711 tracked_data.remove_init_value(19u8);
19712 } else {
19713 tracked_data.insert_init_value(19u8, 8u8, &value.0);
19714 }
19715 if !tracked_data.is_added() {
19716 tracked_data.append_update_value(19u8, 8u8, &value.0);
19717 }
19718 }
19719 }
19720 #[allow(clippy::needless_borrow)]
19721 #[allow(clippy::suspicious_else_formatting)]
19722 #[allow(clippy::needless_borrows_for_generic_args)]
19723 fn update_pillager_charging(
19724 mut query: Query<
19725 (&pillager::Charging, &mut tracked_data::TrackedData),
19726 Changed<pillager::Charging>,
19727 >,
19728 ) {
19729 for (value, mut tracked_data) in &mut query {
19730 if *value == Default::default() {
19731 tracked_data.remove_init_value(17u8);
19732 } else {
19733 tracked_data.insert_init_value(17u8, 8u8, &value.0);
19734 }
19735 if !tracked_data.is_added() {
19736 tracked_data.append_update_value(17u8, 8u8, &value.0);
19737 }
19738 }
19739 }
19740 #[allow(clippy::needless_borrow)]
19741 #[allow(clippy::suspicious_else_formatting)]
19742 #[allow(clippy::needless_borrows_for_generic_args)]
19743 fn update_player_absorption_amount(
19744 mut query: Query<
19745 (&player::AbsorptionAmount, &mut tracked_data::TrackedData),
19746 Changed<player::AbsorptionAmount>,
19747 >,
19748 ) {
19749 for (value, mut tracked_data) in &mut query {
19750 if *value == Default::default() {
19751 tracked_data.remove_init_value(15u8);
19752 } else {
19753 tracked_data.insert_init_value(15u8, 3u8, &value.0);
19754 }
19755 if !tracked_data.is_added() {
19756 tracked_data.append_update_value(15u8, 3u8, &value.0);
19757 }
19758 }
19759 }
19760 #[allow(clippy::needless_borrow)]
19761 #[allow(clippy::suspicious_else_formatting)]
19762 #[allow(clippy::needless_borrows_for_generic_args)]
19763 fn update_player_score(
19764 mut query: Query<(&player::Score, &mut tracked_data::TrackedData), Changed<player::Score>>,
19765 ) {
19766 for (value, mut tracked_data) in &mut query {
19767 if *value == Default::default() {
19768 tracked_data.remove_init_value(16u8);
19769 } else {
19770 tracked_data.insert_init_value(16u8, 1u8, VarInt(value.0));
19771 }
19772 if !tracked_data.is_added() {
19773 tracked_data.append_update_value(16u8, 1u8, VarInt(value.0));
19774 }
19775 }
19776 }
19777 #[allow(clippy::needless_borrow)]
19778 #[allow(clippy::suspicious_else_formatting)]
19779 #[allow(clippy::needless_borrows_for_generic_args)]
19780 fn update_player_player_model_parts(
19781 mut query: Query<
19782 (&player::PlayerModelParts, &mut tracked_data::TrackedData),
19783 Changed<player::PlayerModelParts>,
19784 >,
19785 ) {
19786 for (value, mut tracked_data) in &mut query {
19787 if *value == Default::default() {
19788 tracked_data.remove_init_value(17u8);
19789 } else {
19790 tracked_data.insert_init_value(17u8, 0u8, &value.0);
19791 }
19792 if !tracked_data.is_added() {
19793 tracked_data.append_update_value(17u8, 0u8, &value.0);
19794 }
19795 }
19796 }
19797 #[allow(clippy::needless_borrow)]
19798 #[allow(clippy::suspicious_else_formatting)]
19799 #[allow(clippy::needless_borrows_for_generic_args)]
19800 fn update_player_main_arm(
19801 mut query: Query<
19802 (&player::MainArm, &mut tracked_data::TrackedData),
19803 Changed<player::MainArm>,
19804 >,
19805 ) {
19806 for (value, mut tracked_data) in &mut query {
19807 if *value == Default::default() {
19808 tracked_data.remove_init_value(18u8);
19809 } else {
19810 tracked_data.insert_init_value(18u8, 0u8, &value.0);
19811 }
19812 if !tracked_data.is_added() {
19813 tracked_data.append_update_value(18u8, 0u8, &value.0);
19814 }
19815 }
19816 }
19817 #[allow(clippy::needless_borrow)]
19818 #[allow(clippy::suspicious_else_formatting)]
19819 #[allow(clippy::needless_borrows_for_generic_args)]
19820 fn update_player_left_shoulder_entity(
19821 mut query: Query<
19822 (&player::LeftShoulderEntity, &mut tracked_data::TrackedData),
19823 Changed<player::LeftShoulderEntity>,
19824 >,
19825 ) {
19826 for (value, mut tracked_data) in &mut query {
19827 if *value == Default::default() {
19828 tracked_data.remove_init_value(19u8);
19829 } else {
19830 tracked_data.insert_init_value(19u8, 16u8, &value.0);
19831 }
19832 if !tracked_data.is_added() {
19833 tracked_data.append_update_value(19u8, 16u8, &value.0);
19834 }
19835 }
19836 }
19837 #[allow(clippy::needless_borrow)]
19838 #[allow(clippy::suspicious_else_formatting)]
19839 #[allow(clippy::needless_borrows_for_generic_args)]
19840 fn update_player_right_shoulder_entity(
19841 mut query: Query<
19842 (&player::RightShoulderEntity, &mut tracked_data::TrackedData),
19843 Changed<player::RightShoulderEntity>,
19844 >,
19845 ) {
19846 for (value, mut tracked_data) in &mut query {
19847 if *value == Default::default() {
19848 tracked_data.remove_init_value(20u8);
19849 } else {
19850 tracked_data.insert_init_value(20u8, 16u8, &value.0);
19851 }
19852 if !tracked_data.is_added() {
19853 tracked_data.append_update_value(20u8, 16u8, &value.0);
19854 }
19855 }
19856 }
19857 #[allow(clippy::needless_borrow)]
19858 #[allow(clippy::suspicious_else_formatting)]
19859 #[allow(clippy::needless_borrows_for_generic_args)]
19860 fn update_polar_bear_warning(
19861 mut query: Query<
19862 (&polar_bear::Warning, &mut tracked_data::TrackedData),
19863 Changed<polar_bear::Warning>,
19864 >,
19865 ) {
19866 for (value, mut tracked_data) in &mut query {
19867 if *value == Default::default() {
19868 tracked_data.remove_init_value(17u8);
19869 } else {
19870 tracked_data.insert_init_value(17u8, 8u8, &value.0);
19871 }
19872 if !tracked_data.is_added() {
19873 tracked_data.append_update_value(17u8, 8u8, &value.0);
19874 }
19875 }
19876 }
19877 #[allow(clippy::needless_borrow)]
19878 #[allow(clippy::suspicious_else_formatting)]
19879 #[allow(clippy::needless_borrows_for_generic_args)]
19880 fn update_pufferfish_puff_state(
19881 mut query: Query<
19882 (&pufferfish::PuffState, &mut tracked_data::TrackedData),
19883 Changed<pufferfish::PuffState>,
19884 >,
19885 ) {
19886 for (value, mut tracked_data) in &mut query {
19887 if *value == Default::default() {
19888 tracked_data.remove_init_value(17u8);
19889 } else {
19890 tracked_data.insert_init_value(17u8, 1u8, VarInt(value.0));
19891 }
19892 if !tracked_data.is_added() {
19893 tracked_data.append_update_value(17u8, 1u8, VarInt(value.0));
19894 }
19895 }
19896 }
19897 #[allow(clippy::needless_borrow)]
19898 #[allow(clippy::suspicious_else_formatting)]
19899 #[allow(clippy::needless_borrows_for_generic_args)]
19900 fn update_rabbit_rabbit_type(
19901 mut query: Query<
19902 (&rabbit::RabbitType, &mut tracked_data::TrackedData),
19903 Changed<rabbit::RabbitType>,
19904 >,
19905 ) {
19906 for (value, mut tracked_data) in &mut query {
19907 if *value == Default::default() {
19908 tracked_data.remove_init_value(17u8);
19909 } else {
19910 tracked_data.insert_init_value(17u8, 1u8, VarInt(value.0));
19911 }
19912 if !tracked_data.is_added() {
19913 tracked_data.append_update_value(17u8, 1u8, VarInt(value.0));
19914 }
19915 }
19916 }
19917 #[allow(clippy::needless_borrow)]
19918 #[allow(clippy::suspicious_else_formatting)]
19919 #[allow(clippy::needless_borrows_for_generic_args)]
19920 fn update_raider_celebrating(
19921 mut query: Query<
19922 (&raider::Celebrating, &mut tracked_data::TrackedData),
19923 Changed<raider::Celebrating>,
19924 >,
19925 ) {
19926 for (value, mut tracked_data) in &mut query {
19927 if *value == Default::default() {
19928 tracked_data.remove_init_value(16u8);
19929 } else {
19930 tracked_data.insert_init_value(16u8, 8u8, &value.0);
19931 }
19932 if !tracked_data.is_added() {
19933 tracked_data.append_update_value(16u8, 8u8, &value.0);
19934 }
19935 }
19936 }
19937 #[allow(clippy::needless_borrow)]
19938 #[allow(clippy::suspicious_else_formatting)]
19939 #[allow(clippy::needless_borrows_for_generic_args)]
19940 fn update_sheep_color(
19941 mut query: Query<(&sheep::Color, &mut tracked_data::TrackedData), Changed<sheep::Color>>,
19942 ) {
19943 for (value, mut tracked_data) in &mut query {
19944 if *value == Default::default() {
19945 tracked_data.remove_init_value(17u8);
19946 } else {
19947 tracked_data.insert_init_value(17u8, 0u8, &value.0);
19948 }
19949 if !tracked_data.is_added() {
19950 tracked_data.append_update_value(17u8, 0u8, &value.0);
19951 }
19952 }
19953 }
19954 #[allow(clippy::needless_borrow)]
19955 #[allow(clippy::suspicious_else_formatting)]
19956 #[allow(clippy::needless_borrows_for_generic_args)]
19957 fn update_shulker_attached_face(
19958 mut query: Query<
19959 (&shulker::AttachedFace, &mut tracked_data::TrackedData),
19960 Changed<shulker::AttachedFace>,
19961 >,
19962 ) {
19963 for (value, mut tracked_data) in &mut query {
19964 if *value == Default::default() {
19965 tracked_data.remove_init_value(16u8);
19966 } else {
19967 tracked_data.insert_init_value(16u8, 12u8, &value.0);
19968 }
19969 if !tracked_data.is_added() {
19970 tracked_data.append_update_value(16u8, 12u8, &value.0);
19971 }
19972 }
19973 }
19974 #[allow(clippy::needless_borrow)]
19975 #[allow(clippy::suspicious_else_formatting)]
19976 #[allow(clippy::needless_borrows_for_generic_args)]
19977 fn update_shulker_peek_amount(
19978 mut query: Query<
19979 (&shulker::PeekAmount, &mut tracked_data::TrackedData),
19980 Changed<shulker::PeekAmount>,
19981 >,
19982 ) {
19983 for (value, mut tracked_data) in &mut query {
19984 if *value == Default::default() {
19985 tracked_data.remove_init_value(17u8);
19986 } else {
19987 tracked_data.insert_init_value(17u8, 0u8, &value.0);
19988 }
19989 if !tracked_data.is_added() {
19990 tracked_data.append_update_value(17u8, 0u8, &value.0);
19991 }
19992 }
19993 }
19994 #[allow(clippy::needless_borrow)]
19995 #[allow(clippy::suspicious_else_formatting)]
19996 #[allow(clippy::needless_borrows_for_generic_args)]
19997 fn update_shulker_color(
19998 mut query: Query<
19999 (&shulker::Color, &mut tracked_data::TrackedData),
20000 Changed<shulker::Color>,
20001 >,
20002 ) {
20003 for (value, mut tracked_data) in &mut query {
20004 if *value == Default::default() {
20005 tracked_data.remove_init_value(18u8);
20006 } else {
20007 tracked_data.insert_init_value(18u8, 0u8, &value.0);
20008 }
20009 if !tracked_data.is_added() {
20010 tracked_data.append_update_value(18u8, 0u8, &value.0);
20011 }
20012 }
20013 }
20014 #[allow(clippy::needless_borrow)]
20015 #[allow(clippy::suspicious_else_formatting)]
20016 #[allow(clippy::needless_borrows_for_generic_args)]
20017 fn update_skeleton_converting(
20018 mut query: Query<
20019 (&skeleton::Converting, &mut tracked_data::TrackedData),
20020 Changed<skeleton::Converting>,
20021 >,
20022 ) {
20023 for (value, mut tracked_data) in &mut query {
20024 if *value == Default::default() {
20025 tracked_data.remove_init_value(16u8);
20026 } else {
20027 tracked_data.insert_init_value(16u8, 8u8, &value.0);
20028 }
20029 if !tracked_data.is_added() {
20030 tracked_data.append_update_value(16u8, 8u8, &value.0);
20031 }
20032 }
20033 }
20034 #[allow(clippy::needless_borrow)]
20035 #[allow(clippy::suspicious_else_formatting)]
20036 #[allow(clippy::needless_borrows_for_generic_args)]
20037 fn update_slime_slime_size(
20038 mut query: Query<
20039 (&slime::SlimeSize, &mut tracked_data::TrackedData),
20040 Changed<slime::SlimeSize>,
20041 >,
20042 ) {
20043 for (value, mut tracked_data) in &mut query {
20044 if *value == Default::default() {
20045 tracked_data.remove_init_value(16u8);
20046 } else {
20047 tracked_data.insert_init_value(16u8, 1u8, VarInt(value.0));
20048 }
20049 if !tracked_data.is_added() {
20050 tracked_data.append_update_value(16u8, 1u8, VarInt(value.0));
20051 }
20052 }
20053 }
20054 #[allow(clippy::needless_borrow)]
20055 #[allow(clippy::suspicious_else_formatting)]
20056 #[allow(clippy::needless_borrows_for_generic_args)]
20057 fn update_sniffer_state(
20058 mut query: Query<
20059 (&sniffer::State, &mut tracked_data::TrackedData),
20060 Changed<sniffer::State>,
20061 >,
20062 ) {
20063 for (value, mut tracked_data) in &mut query {
20064 if *value == Default::default() {
20065 tracked_data.remove_init_value(17u8);
20066 } else {
20067 tracked_data.insert_init_value(17u8, 25u8, &value.0);
20068 }
20069 if !tracked_data.is_added() {
20070 tracked_data.append_update_value(17u8, 25u8, &value.0);
20071 }
20072 }
20073 }
20074 #[allow(clippy::needless_borrow)]
20075 #[allow(clippy::suspicious_else_formatting)]
20076 #[allow(clippy::needless_borrows_for_generic_args)]
20077 fn update_sniffer_finish_dig_time(
20078 mut query: Query<
20079 (&sniffer::FinishDigTime, &mut tracked_data::TrackedData),
20080 Changed<sniffer::FinishDigTime>,
20081 >,
20082 ) {
20083 for (value, mut tracked_data) in &mut query {
20084 if *value == Default::default() {
20085 tracked_data.remove_init_value(18u8);
20086 } else {
20087 tracked_data.insert_init_value(18u8, 1u8, VarInt(value.0));
20088 }
20089 if !tracked_data.is_added() {
20090 tracked_data.append_update_value(18u8, 1u8, VarInt(value.0));
20091 }
20092 }
20093 }
20094 #[allow(clippy::needless_borrow)]
20095 #[allow(clippy::suspicious_else_formatting)]
20096 #[allow(clippy::needless_borrows_for_generic_args)]
20097 fn update_snow_golem_snow_golem_flags(
20098 mut query: Query<
20099 (&snow_golem::SnowGolemFlags, &mut tracked_data::TrackedData),
20100 Changed<snow_golem::SnowGolemFlags>,
20101 >,
20102 ) {
20103 for (value, mut tracked_data) in &mut query {
20104 if *value == Default::default() {
20105 tracked_data.remove_init_value(16u8);
20106 } else {
20107 tracked_data.insert_init_value(16u8, 0u8, &value.0);
20108 }
20109 if !tracked_data.is_added() {
20110 tracked_data.append_update_value(16u8, 0u8, &value.0);
20111 }
20112 }
20113 }
20114 #[allow(clippy::needless_borrow)]
20115 #[allow(clippy::suspicious_else_formatting)]
20116 #[allow(clippy::needless_borrows_for_generic_args)]
20117 fn update_spellcasting_illager_spell(
20118 mut query: Query<
20119 (&spellcasting_illager::Spell, &mut tracked_data::TrackedData),
20120 Changed<spellcasting_illager::Spell>,
20121 >,
20122 ) {
20123 for (value, mut tracked_data) in &mut query {
20124 if *value == Default::default() {
20125 tracked_data.remove_init_value(17u8);
20126 } else {
20127 tracked_data.insert_init_value(17u8, 0u8, &value.0);
20128 }
20129 if !tracked_data.is_added() {
20130 tracked_data.append_update_value(17u8, 0u8, &value.0);
20131 }
20132 }
20133 }
20134 #[allow(clippy::needless_borrow)]
20135 #[allow(clippy::suspicious_else_formatting)]
20136 #[allow(clippy::needless_borrows_for_generic_args)]
20137 fn update_spider_spider_flags(
20138 mut query: Query<
20139 (&spider::SpiderFlags, &mut tracked_data::TrackedData),
20140 Changed<spider::SpiderFlags>,
20141 >,
20142 ) {
20143 for (value, mut tracked_data) in &mut query {
20144 if *value == Default::default() {
20145 tracked_data.remove_init_value(16u8);
20146 } else {
20147 tracked_data.insert_init_value(16u8, 0u8, &value.0);
20148 }
20149 if !tracked_data.is_added() {
20150 tracked_data.append_update_value(16u8, 0u8, &value.0);
20151 }
20152 }
20153 }
20154 #[allow(clippy::needless_borrow)]
20155 #[allow(clippy::suspicious_else_formatting)]
20156 #[allow(clippy::needless_borrows_for_generic_args)]
20157 fn update_strider_boost_time(
20158 mut query: Query<
20159 (&strider::BoostTime, &mut tracked_data::TrackedData),
20160 Changed<strider::BoostTime>,
20161 >,
20162 ) {
20163 for (value, mut tracked_data) in &mut query {
20164 if *value == Default::default() {
20165 tracked_data.remove_init_value(17u8);
20166 } else {
20167 tracked_data.insert_init_value(17u8, 1u8, VarInt(value.0));
20168 }
20169 if !tracked_data.is_added() {
20170 tracked_data.append_update_value(17u8, 1u8, VarInt(value.0));
20171 }
20172 }
20173 }
20174 #[allow(clippy::needless_borrow)]
20175 #[allow(clippy::suspicious_else_formatting)]
20176 #[allow(clippy::needless_borrows_for_generic_args)]
20177 fn update_strider_cold(
20178 mut query: Query<(&strider::Cold, &mut tracked_data::TrackedData), Changed<strider::Cold>>,
20179 ) {
20180 for (value, mut tracked_data) in &mut query {
20181 if *value == Default::default() {
20182 tracked_data.remove_init_value(18u8);
20183 } else {
20184 tracked_data.insert_init_value(18u8, 8u8, &value.0);
20185 }
20186 if !tracked_data.is_added() {
20187 tracked_data.append_update_value(18u8, 8u8, &value.0);
20188 }
20189 }
20190 }
20191 #[allow(clippy::needless_borrow)]
20192 #[allow(clippy::suspicious_else_formatting)]
20193 #[allow(clippy::needless_borrows_for_generic_args)]
20194 fn update_strider_saddled(
20195 mut query: Query<
20196 (&strider::Saddled, &mut tracked_data::TrackedData),
20197 Changed<strider::Saddled>,
20198 >,
20199 ) {
20200 for (value, mut tracked_data) in &mut query {
20201 if *value == Default::default() {
20202 tracked_data.remove_init_value(19u8);
20203 } else {
20204 tracked_data.insert_init_value(19u8, 8u8, &value.0);
20205 }
20206 if !tracked_data.is_added() {
20207 tracked_data.append_update_value(19u8, 8u8, &value.0);
20208 }
20209 }
20210 }
20211 #[allow(clippy::needless_borrow)]
20212 #[allow(clippy::suspicious_else_formatting)]
20213 #[allow(clippy::needless_borrows_for_generic_args)]
20214 fn update_tameable_tameable_flags(
20215 mut query: Query<
20216 (&tameable::TameableFlags, &mut tracked_data::TrackedData),
20217 Changed<tameable::TameableFlags>,
20218 >,
20219 ) {
20220 for (value, mut tracked_data) in &mut query {
20221 if *value == Default::default() {
20222 tracked_data.remove_init_value(17u8);
20223 } else {
20224 tracked_data.insert_init_value(17u8, 0u8, &value.0);
20225 }
20226 if !tracked_data.is_added() {
20227 tracked_data.append_update_value(17u8, 0u8, &value.0);
20228 }
20229 }
20230 }
20231 #[allow(clippy::needless_borrow)]
20232 #[allow(clippy::suspicious_else_formatting)]
20233 #[allow(clippy::needless_borrows_for_generic_args)]
20234 fn update_tameable_owner_uuid(
20235 mut query: Query<
20236 (&tameable::OwnerUuid, &mut tracked_data::TrackedData),
20237 Changed<tameable::OwnerUuid>,
20238 >,
20239 ) {
20240 for (value, mut tracked_data) in &mut query {
20241 if *value == Default::default() {
20242 tracked_data.remove_init_value(18u8);
20243 } else {
20244 tracked_data.insert_init_value(18u8, 13u8, &value.0);
20245 }
20246 if !tracked_data.is_added() {
20247 tracked_data.append_update_value(18u8, 13u8, &value.0);
20248 }
20249 }
20250 }
20251 #[allow(clippy::needless_borrow)]
20252 #[allow(clippy::suspicious_else_formatting)]
20253 #[allow(clippy::needless_borrows_for_generic_args)]
20254 fn update_text_display_text(
20255 mut query: Query<
20256 (&text_display::Text, &mut tracked_data::TrackedData),
20257 Changed<text_display::Text>,
20258 >,
20259 ) {
20260 for (value, mut tracked_data) in &mut query {
20261 if *value == Default::default() {
20262 tracked_data.remove_init_value(22u8);
20263 } else {
20264 tracked_data.insert_init_value(22u8, 5u8, &value.0);
20265 }
20266 if !tracked_data.is_added() {
20267 tracked_data.append_update_value(22u8, 5u8, &value.0);
20268 }
20269 }
20270 }
20271 #[allow(clippy::needless_borrow)]
20272 #[allow(clippy::suspicious_else_formatting)]
20273 #[allow(clippy::needless_borrows_for_generic_args)]
20274 fn update_text_display_line_width(
20275 mut query: Query<
20276 (&text_display::LineWidth, &mut tracked_data::TrackedData),
20277 Changed<text_display::LineWidth>,
20278 >,
20279 ) {
20280 for (value, mut tracked_data) in &mut query {
20281 if *value == Default::default() {
20282 tracked_data.remove_init_value(23u8);
20283 } else {
20284 tracked_data.insert_init_value(23u8, 1u8, VarInt(value.0));
20285 }
20286 if !tracked_data.is_added() {
20287 tracked_data.append_update_value(23u8, 1u8, VarInt(value.0));
20288 }
20289 }
20290 }
20291 #[allow(clippy::needless_borrow)]
20292 #[allow(clippy::suspicious_else_formatting)]
20293 #[allow(clippy::needless_borrows_for_generic_args)]
20294 fn update_text_display_background(
20295 mut query: Query<
20296 (&text_display::Background, &mut tracked_data::TrackedData),
20297 Changed<text_display::Background>,
20298 >,
20299 ) {
20300 for (value, mut tracked_data) in &mut query {
20301 if *value == Default::default() {
20302 tracked_data.remove_init_value(24u8);
20303 } else {
20304 tracked_data.insert_init_value(24u8, 1u8, VarInt(value.0));
20305 }
20306 if !tracked_data.is_added() {
20307 tracked_data.append_update_value(24u8, 1u8, VarInt(value.0));
20308 }
20309 }
20310 }
20311 #[allow(clippy::needless_borrow)]
20312 #[allow(clippy::suspicious_else_formatting)]
20313 #[allow(clippy::needless_borrows_for_generic_args)]
20314 fn update_text_display_text_opacity(
20315 mut query: Query<
20316 (&text_display::TextOpacity, &mut tracked_data::TrackedData),
20317 Changed<text_display::TextOpacity>,
20318 >,
20319 ) {
20320 for (value, mut tracked_data) in &mut query {
20321 if *value == Default::default() {
20322 tracked_data.remove_init_value(25u8);
20323 } else {
20324 tracked_data.insert_init_value(25u8, 0u8, &value.0);
20325 }
20326 if !tracked_data.is_added() {
20327 tracked_data.append_update_value(25u8, 0u8, &value.0);
20328 }
20329 }
20330 }
20331 #[allow(clippy::needless_borrow)]
20332 #[allow(clippy::suspicious_else_formatting)]
20333 #[allow(clippy::needless_borrows_for_generic_args)]
20334 fn update_text_display_text_display_flags(
20335 mut query: Query<
20336 (
20337 &text_display::TextDisplayFlags,
20338 &mut tracked_data::TrackedData,
20339 ),
20340 Changed<text_display::TextDisplayFlags>,
20341 >,
20342 ) {
20343 for (value, mut tracked_data) in &mut query {
20344 if *value == Default::default() {
20345 tracked_data.remove_init_value(26u8);
20346 } else {
20347 tracked_data.insert_init_value(26u8, 0u8, &value.0);
20348 }
20349 if !tracked_data.is_added() {
20350 tracked_data.append_update_value(26u8, 0u8, &value.0);
20351 }
20352 }
20353 }
20354 #[allow(clippy::needless_borrow)]
20355 #[allow(clippy::suspicious_else_formatting)]
20356 #[allow(clippy::needless_borrows_for_generic_args)]
20357 fn update_thrown_item_item(
20358 mut query: Query<
20359 (&thrown_item::Item, &mut tracked_data::TrackedData),
20360 Changed<thrown_item::Item>,
20361 >,
20362 ) {
20363 for (value, mut tracked_data) in &mut query {
20364 if *value == Default::default() {
20365 tracked_data.remove_init_value(8u8);
20366 } else {
20367 tracked_data.insert_init_value(8u8, 7u8, &value.0);
20368 }
20369 if !tracked_data.is_added() {
20370 tracked_data.append_update_value(8u8, 7u8, &value.0);
20371 }
20372 }
20373 }
20374 #[allow(clippy::needless_borrow)]
20375 #[allow(clippy::suspicious_else_formatting)]
20376 #[allow(clippy::needless_borrows_for_generic_args)]
20377 fn update_tnt_fuse(
20378 mut query: Query<(&tnt::Fuse, &mut tracked_data::TrackedData), Changed<tnt::Fuse>>,
20379 ) {
20380 for (value, mut tracked_data) in &mut query {
20381 if *value == Default::default() {
20382 tracked_data.remove_init_value(8u8);
20383 } else {
20384 tracked_data.insert_init_value(8u8, 1u8, VarInt(value.0));
20385 }
20386 if !tracked_data.is_added() {
20387 tracked_data.append_update_value(8u8, 1u8, VarInt(value.0));
20388 }
20389 }
20390 }
20391 #[allow(clippy::needless_borrow)]
20392 #[allow(clippy::suspicious_else_formatting)]
20393 #[allow(clippy::needless_borrows_for_generic_args)]
20394 fn update_trident_loyalty(
20395 mut query: Query<
20396 (&trident::Loyalty, &mut tracked_data::TrackedData),
20397 Changed<trident::Loyalty>,
20398 >,
20399 ) {
20400 for (value, mut tracked_data) in &mut query {
20401 if *value == Default::default() {
20402 tracked_data.remove_init_value(10u8);
20403 } else {
20404 tracked_data.insert_init_value(10u8, 0u8, &value.0);
20405 }
20406 if !tracked_data.is_added() {
20407 tracked_data.append_update_value(10u8, 0u8, &value.0);
20408 }
20409 }
20410 }
20411 #[allow(clippy::needless_borrow)]
20412 #[allow(clippy::suspicious_else_formatting)]
20413 #[allow(clippy::needless_borrows_for_generic_args)]
20414 fn update_trident_enchanted(
20415 mut query: Query<
20416 (&trident::Enchanted, &mut tracked_data::TrackedData),
20417 Changed<trident::Enchanted>,
20418 >,
20419 ) {
20420 for (value, mut tracked_data) in &mut query {
20421 if *value == Default::default() {
20422 tracked_data.remove_init_value(11u8);
20423 } else {
20424 tracked_data.insert_init_value(11u8, 8u8, &value.0);
20425 }
20426 if !tracked_data.is_added() {
20427 tracked_data.append_update_value(11u8, 8u8, &value.0);
20428 }
20429 }
20430 }
20431 #[allow(clippy::needless_borrow)]
20432 #[allow(clippy::suspicious_else_formatting)]
20433 #[allow(clippy::needless_borrows_for_generic_args)]
20434 fn update_tropical_fish_variant(
20435 mut query: Query<
20436 (&tropical_fish::Variant, &mut tracked_data::TrackedData),
20437 Changed<tropical_fish::Variant>,
20438 >,
20439 ) {
20440 for (value, mut tracked_data) in &mut query {
20441 if *value == Default::default() {
20442 tracked_data.remove_init_value(17u8);
20443 } else {
20444 tracked_data.insert_init_value(17u8, 1u8, VarInt(value.0));
20445 }
20446 if !tracked_data.is_added() {
20447 tracked_data.append_update_value(17u8, 1u8, VarInt(value.0));
20448 }
20449 }
20450 }
20451 #[allow(clippy::needless_borrow)]
20452 #[allow(clippy::suspicious_else_formatting)]
20453 #[allow(clippy::needless_borrows_for_generic_args)]
20454 fn update_turtle_home_pos(
20455 mut query: Query<
20456 (&turtle::HomePos, &mut tracked_data::TrackedData),
20457 Changed<turtle::HomePos>,
20458 >,
20459 ) {
20460 for (value, mut tracked_data) in &mut query {
20461 if *value == Default::default() {
20462 tracked_data.remove_init_value(17u8);
20463 } else {
20464 tracked_data.insert_init_value(17u8, 10u8, &value.0);
20465 }
20466 if !tracked_data.is_added() {
20467 tracked_data.append_update_value(17u8, 10u8, &value.0);
20468 }
20469 }
20470 }
20471 #[allow(clippy::needless_borrow)]
20472 #[allow(clippy::suspicious_else_formatting)]
20473 #[allow(clippy::needless_borrows_for_generic_args)]
20474 fn update_turtle_has_egg(
20475 mut query: Query<
20476 (&turtle::HasEgg, &mut tracked_data::TrackedData),
20477 Changed<turtle::HasEgg>,
20478 >,
20479 ) {
20480 for (value, mut tracked_data) in &mut query {
20481 if *value == Default::default() {
20482 tracked_data.remove_init_value(18u8);
20483 } else {
20484 tracked_data.insert_init_value(18u8, 8u8, &value.0);
20485 }
20486 if !tracked_data.is_added() {
20487 tracked_data.append_update_value(18u8, 8u8, &value.0);
20488 }
20489 }
20490 }
20491 #[allow(clippy::needless_borrow)]
20492 #[allow(clippy::suspicious_else_formatting)]
20493 #[allow(clippy::needless_borrows_for_generic_args)]
20494 fn update_turtle_digging_sand(
20495 mut query: Query<
20496 (&turtle::DiggingSand, &mut tracked_data::TrackedData),
20497 Changed<turtle::DiggingSand>,
20498 >,
20499 ) {
20500 for (value, mut tracked_data) in &mut query {
20501 if *value == Default::default() {
20502 tracked_data.remove_init_value(19u8);
20503 } else {
20504 tracked_data.insert_init_value(19u8, 8u8, &value.0);
20505 }
20506 if !tracked_data.is_added() {
20507 tracked_data.append_update_value(19u8, 8u8, &value.0);
20508 }
20509 }
20510 }
20511 #[allow(clippy::needless_borrow)]
20512 #[allow(clippy::suspicious_else_formatting)]
20513 #[allow(clippy::needless_borrows_for_generic_args)]
20514 fn update_turtle_travel_pos(
20515 mut query: Query<
20516 (&turtle::TravelPos, &mut tracked_data::TrackedData),
20517 Changed<turtle::TravelPos>,
20518 >,
20519 ) {
20520 for (value, mut tracked_data) in &mut query {
20521 if *value == Default::default() {
20522 tracked_data.remove_init_value(20u8);
20523 } else {
20524 tracked_data.insert_init_value(20u8, 10u8, &value.0);
20525 }
20526 if !tracked_data.is_added() {
20527 tracked_data.append_update_value(20u8, 10u8, &value.0);
20528 }
20529 }
20530 }
20531 #[allow(clippy::needless_borrow)]
20532 #[allow(clippy::suspicious_else_formatting)]
20533 #[allow(clippy::needless_borrows_for_generic_args)]
20534 fn update_turtle_land_bound(
20535 mut query: Query<
20536 (&turtle::LandBound, &mut tracked_data::TrackedData),
20537 Changed<turtle::LandBound>,
20538 >,
20539 ) {
20540 for (value, mut tracked_data) in &mut query {
20541 if *value == Default::default() {
20542 tracked_data.remove_init_value(21u8);
20543 } else {
20544 tracked_data.insert_init_value(21u8, 8u8, &value.0);
20545 }
20546 if !tracked_data.is_added() {
20547 tracked_data.append_update_value(21u8, 8u8, &value.0);
20548 }
20549 }
20550 }
20551 #[allow(clippy::needless_borrow)]
20552 #[allow(clippy::suspicious_else_formatting)]
20553 #[allow(clippy::needless_borrows_for_generic_args)]
20554 fn update_turtle_actively_traveling(
20555 mut query: Query<
20556 (&turtle::ActivelyTraveling, &mut tracked_data::TrackedData),
20557 Changed<turtle::ActivelyTraveling>,
20558 >,
20559 ) {
20560 for (value, mut tracked_data) in &mut query {
20561 if *value == Default::default() {
20562 tracked_data.remove_init_value(22u8);
20563 } else {
20564 tracked_data.insert_init_value(22u8, 8u8, &value.0);
20565 }
20566 if !tracked_data.is_added() {
20567 tracked_data.append_update_value(22u8, 8u8, &value.0);
20568 }
20569 }
20570 }
20571 #[allow(clippy::needless_borrow)]
20572 #[allow(clippy::suspicious_else_formatting)]
20573 #[allow(clippy::needless_borrows_for_generic_args)]
20574 fn update_vex_vex_flags(
20575 mut query: Query<(&vex::VexFlags, &mut tracked_data::TrackedData), Changed<vex::VexFlags>>,
20576 ) {
20577 for (value, mut tracked_data) in &mut query {
20578 if *value == Default::default() {
20579 tracked_data.remove_init_value(16u8);
20580 } else {
20581 tracked_data.insert_init_value(16u8, 0u8, &value.0);
20582 }
20583 if !tracked_data.is_added() {
20584 tracked_data.append_update_value(16u8, 0u8, &value.0);
20585 }
20586 }
20587 }
20588 #[allow(clippy::needless_borrow)]
20589 #[allow(clippy::suspicious_else_formatting)]
20590 #[allow(clippy::needless_borrows_for_generic_args)]
20591 fn update_villager_villager_data(
20592 mut query: Query<
20593 (&villager::VillagerData, &mut tracked_data::TrackedData),
20594 Changed<villager::VillagerData>,
20595 >,
20596 ) {
20597 for (value, mut tracked_data) in &mut query {
20598 if *value == Default::default() {
20599 tracked_data.remove_init_value(18u8);
20600 } else {
20601 tracked_data.insert_init_value(18u8, 18u8, &value.0);
20602 }
20603 if !tracked_data.is_added() {
20604 tracked_data.append_update_value(18u8, 18u8, &value.0);
20605 }
20606 }
20607 }
20608 #[allow(clippy::needless_borrow)]
20609 #[allow(clippy::suspicious_else_formatting)]
20610 #[allow(clippy::needless_borrows_for_generic_args)]
20611 fn update_warden_anger(
20612 mut query: Query<(&warden::Anger, &mut tracked_data::TrackedData), Changed<warden::Anger>>,
20613 ) {
20614 for (value, mut tracked_data) in &mut query {
20615 if *value == Default::default() {
20616 tracked_data.remove_init_value(16u8);
20617 } else {
20618 tracked_data.insert_init_value(16u8, 1u8, VarInt(value.0));
20619 }
20620 if !tracked_data.is_added() {
20621 tracked_data.append_update_value(16u8, 1u8, VarInt(value.0));
20622 }
20623 }
20624 }
20625 #[allow(clippy::needless_borrow)]
20626 #[allow(clippy::suspicious_else_formatting)]
20627 #[allow(clippy::needless_borrows_for_generic_args)]
20628 fn update_witch_drinking(
20629 mut query: Query<
20630 (&witch::Drinking, &mut tracked_data::TrackedData),
20631 Changed<witch::Drinking>,
20632 >,
20633 ) {
20634 for (value, mut tracked_data) in &mut query {
20635 if *value == Default::default() {
20636 tracked_data.remove_init_value(17u8);
20637 } else {
20638 tracked_data.insert_init_value(17u8, 8u8, &value.0);
20639 }
20640 if !tracked_data.is_added() {
20641 tracked_data.append_update_value(17u8, 8u8, &value.0);
20642 }
20643 }
20644 }
20645 #[allow(clippy::needless_borrow)]
20646 #[allow(clippy::suspicious_else_formatting)]
20647 #[allow(clippy::needless_borrows_for_generic_args)]
20648 fn update_wither_tracked_entity_id_1(
20649 mut query: Query<
20650 (&wither::TrackedEntityId1, &mut tracked_data::TrackedData),
20651 Changed<wither::TrackedEntityId1>,
20652 >,
20653 ) {
20654 for (value, mut tracked_data) in &mut query {
20655 if *value == Default::default() {
20656 tracked_data.remove_init_value(16u8);
20657 } else {
20658 tracked_data.insert_init_value(16u8, 1u8, VarInt(value.0));
20659 }
20660 if !tracked_data.is_added() {
20661 tracked_data.append_update_value(16u8, 1u8, VarInt(value.0));
20662 }
20663 }
20664 }
20665 #[allow(clippy::needless_borrow)]
20666 #[allow(clippy::suspicious_else_formatting)]
20667 #[allow(clippy::needless_borrows_for_generic_args)]
20668 fn update_wither_tracked_entity_id_2(
20669 mut query: Query<
20670 (&wither::TrackedEntityId2, &mut tracked_data::TrackedData),
20671 Changed<wither::TrackedEntityId2>,
20672 >,
20673 ) {
20674 for (value, mut tracked_data) in &mut query {
20675 if *value == Default::default() {
20676 tracked_data.remove_init_value(17u8);
20677 } else {
20678 tracked_data.insert_init_value(17u8, 1u8, VarInt(value.0));
20679 }
20680 if !tracked_data.is_added() {
20681 tracked_data.append_update_value(17u8, 1u8, VarInt(value.0));
20682 }
20683 }
20684 }
20685 #[allow(clippy::needless_borrow)]
20686 #[allow(clippy::suspicious_else_formatting)]
20687 #[allow(clippy::needless_borrows_for_generic_args)]
20688 fn update_wither_tracked_entity_id_3(
20689 mut query: Query<
20690 (&wither::TrackedEntityId3, &mut tracked_data::TrackedData),
20691 Changed<wither::TrackedEntityId3>,
20692 >,
20693 ) {
20694 for (value, mut tracked_data) in &mut query {
20695 if *value == Default::default() {
20696 tracked_data.remove_init_value(18u8);
20697 } else {
20698 tracked_data.insert_init_value(18u8, 1u8, VarInt(value.0));
20699 }
20700 if !tracked_data.is_added() {
20701 tracked_data.append_update_value(18u8, 1u8, VarInt(value.0));
20702 }
20703 }
20704 }
20705 #[allow(clippy::needless_borrow)]
20706 #[allow(clippy::suspicious_else_formatting)]
20707 #[allow(clippy::needless_borrows_for_generic_args)]
20708 fn update_wither_invul_timer(
20709 mut query: Query<
20710 (&wither::InvulTimer, &mut tracked_data::TrackedData),
20711 Changed<wither::InvulTimer>,
20712 >,
20713 ) {
20714 for (value, mut tracked_data) in &mut query {
20715 if *value == Default::default() {
20716 tracked_data.remove_init_value(19u8);
20717 } else {
20718 tracked_data.insert_init_value(19u8, 1u8, VarInt(value.0));
20719 }
20720 if !tracked_data.is_added() {
20721 tracked_data.append_update_value(19u8, 1u8, VarInt(value.0));
20722 }
20723 }
20724 }
20725 #[allow(clippy::needless_borrow)]
20726 #[allow(clippy::suspicious_else_formatting)]
20727 #[allow(clippy::needless_borrows_for_generic_args)]
20728 fn update_wither_skull_charged(
20729 mut query: Query<
20730 (&wither_skull::Charged, &mut tracked_data::TrackedData),
20731 Changed<wither_skull::Charged>,
20732 >,
20733 ) {
20734 for (value, mut tracked_data) in &mut query {
20735 if *value == Default::default() {
20736 tracked_data.remove_init_value(8u8);
20737 } else {
20738 tracked_data.insert_init_value(8u8, 8u8, &value.0);
20739 }
20740 if !tracked_data.is_added() {
20741 tracked_data.append_update_value(8u8, 8u8, &value.0);
20742 }
20743 }
20744 }
20745 #[allow(clippy::needless_borrow)]
20746 #[allow(clippy::suspicious_else_formatting)]
20747 #[allow(clippy::needless_borrows_for_generic_args)]
20748 fn update_wolf_begging(
20749 mut query: Query<(&wolf::Begging, &mut tracked_data::TrackedData), Changed<wolf::Begging>>,
20750 ) {
20751 for (value, mut tracked_data) in &mut query {
20752 if *value == Default::default() {
20753 tracked_data.remove_init_value(19u8);
20754 } else {
20755 tracked_data.insert_init_value(19u8, 8u8, &value.0);
20756 }
20757 if !tracked_data.is_added() {
20758 tracked_data.append_update_value(19u8, 8u8, &value.0);
20759 }
20760 }
20761 }
20762 #[allow(clippy::needless_borrow)]
20763 #[allow(clippy::suspicious_else_formatting)]
20764 #[allow(clippy::needless_borrows_for_generic_args)]
20765 fn update_wolf_collar_color(
20766 mut query: Query<
20767 (&wolf::CollarColor, &mut tracked_data::TrackedData),
20768 Changed<wolf::CollarColor>,
20769 >,
20770 ) {
20771 for (value, mut tracked_data) in &mut query {
20772 if *value == Default::default() {
20773 tracked_data.remove_init_value(20u8);
20774 } else {
20775 tracked_data.insert_init_value(20u8, 1u8, VarInt(value.0));
20776 }
20777 if !tracked_data.is_added() {
20778 tracked_data.append_update_value(20u8, 1u8, VarInt(value.0));
20779 }
20780 }
20781 }
20782 #[allow(clippy::needless_borrow)]
20783 #[allow(clippy::suspicious_else_formatting)]
20784 #[allow(clippy::needless_borrows_for_generic_args)]
20785 fn update_wolf_anger_time(
20786 mut query: Query<
20787 (&wolf::AngerTime, &mut tracked_data::TrackedData),
20788 Changed<wolf::AngerTime>,
20789 >,
20790 ) {
20791 for (value, mut tracked_data) in &mut query {
20792 if *value == Default::default() {
20793 tracked_data.remove_init_value(21u8);
20794 } else {
20795 tracked_data.insert_init_value(21u8, 1u8, VarInt(value.0));
20796 }
20797 if !tracked_data.is_added() {
20798 tracked_data.append_update_value(21u8, 1u8, VarInt(value.0));
20799 }
20800 }
20801 }
20802 #[allow(clippy::needless_borrow)]
20803 #[allow(clippy::suspicious_else_formatting)]
20804 #[allow(clippy::needless_borrows_for_generic_args)]
20805 fn update_zoglin_baby(
20806 mut query: Query<(&zoglin::Baby, &mut tracked_data::TrackedData), Changed<zoglin::Baby>>,
20807 ) {
20808 for (value, mut tracked_data) in &mut query {
20809 if *value == Default::default() {
20810 tracked_data.remove_init_value(16u8);
20811 } else {
20812 tracked_data.insert_init_value(16u8, 8u8, &value.0);
20813 }
20814 if !tracked_data.is_added() {
20815 tracked_data.append_update_value(16u8, 8u8, &value.0);
20816 }
20817 }
20818 }
20819 #[allow(clippy::needless_borrow)]
20820 #[allow(clippy::suspicious_else_formatting)]
20821 #[allow(clippy::needless_borrows_for_generic_args)]
20822 fn update_zombie_baby(
20823 mut query: Query<(&zombie::Baby, &mut tracked_data::TrackedData), Changed<zombie::Baby>>,
20824 ) {
20825 for (value, mut tracked_data) in &mut query {
20826 if *value == Default::default() {
20827 tracked_data.remove_init_value(16u8);
20828 } else {
20829 tracked_data.insert_init_value(16u8, 8u8, &value.0);
20830 }
20831 if !tracked_data.is_added() {
20832 tracked_data.append_update_value(16u8, 8u8, &value.0);
20833 }
20834 }
20835 }
20836 #[allow(clippy::needless_borrow)]
20837 #[allow(clippy::suspicious_else_formatting)]
20838 #[allow(clippy::needless_borrows_for_generic_args)]
20839 fn update_zombie_zombie_type(
20840 mut query: Query<
20841 (&zombie::ZombieType, &mut tracked_data::TrackedData),
20842 Changed<zombie::ZombieType>,
20843 >,
20844 ) {
20845 for (value, mut tracked_data) in &mut query {
20846 if *value == Default::default() {
20847 tracked_data.remove_init_value(17u8);
20848 } else {
20849 tracked_data.insert_init_value(17u8, 1u8, VarInt(value.0));
20850 }
20851 if !tracked_data.is_added() {
20852 tracked_data.append_update_value(17u8, 1u8, VarInt(value.0));
20853 }
20854 }
20855 }
20856 #[allow(clippy::needless_borrow)]
20857 #[allow(clippy::suspicious_else_formatting)]
20858 #[allow(clippy::needless_borrows_for_generic_args)]
20859 fn update_zombie_converting_in_water(
20860 mut query: Query<
20861 (&zombie::ConvertingInWater, &mut tracked_data::TrackedData),
20862 Changed<zombie::ConvertingInWater>,
20863 >,
20864 ) {
20865 for (value, mut tracked_data) in &mut query {
20866 if *value == Default::default() {
20867 tracked_data.remove_init_value(18u8);
20868 } else {
20869 tracked_data.insert_init_value(18u8, 8u8, &value.0);
20870 }
20871 if !tracked_data.is_added() {
20872 tracked_data.append_update_value(18u8, 8u8, &value.0);
20873 }
20874 }
20875 }
20876 #[allow(clippy::needless_borrow)]
20877 #[allow(clippy::suspicious_else_formatting)]
20878 #[allow(clippy::needless_borrows_for_generic_args)]
20879 fn update_zombie_villager_converting(
20880 mut query: Query<
20881 (&zombie_villager::Converting, &mut tracked_data::TrackedData),
20882 Changed<zombie_villager::Converting>,
20883 >,
20884 ) {
20885 for (value, mut tracked_data) in &mut query {
20886 if *value == Default::default() {
20887 tracked_data.remove_init_value(19u8);
20888 } else {
20889 tracked_data.insert_init_value(19u8, 8u8, &value.0);
20890 }
20891 if !tracked_data.is_added() {
20892 tracked_data.append_update_value(19u8, 8u8, &value.0);
20893 }
20894 }
20895 }
20896 #[allow(clippy::needless_borrow)]
20897 #[allow(clippy::suspicious_else_formatting)]
20898 #[allow(clippy::needless_borrows_for_generic_args)]
20899 fn update_zombie_villager_villager_data(
20900 mut query: Query<
20901 (
20902 &zombie_villager::VillagerData,
20903 &mut tracked_data::TrackedData,
20904 ),
20905 Changed<zombie_villager::VillagerData>,
20906 >,
20907 ) {
20908 for (value, mut tracked_data) in &mut query {
20909 if *value == Default::default() {
20910 tracked_data.remove_init_value(20u8);
20911 } else {
20912 tracked_data.insert_init_value(20u8, 18u8, &value.0);
20913 }
20914 if !tracked_data.is_added() {
20915 tracked_data.append_update_value(20u8, 18u8, &value.0);
20916 }
20917 }
20918 }
20919 #[doc = "Special case for `living::Absorption`."]
20920 #[doc = "Updates the `AbsorptionAmount` component of the player entity."]
20921 fn update_living_and_player_absorption(
20922 mut query: Query<
20923 (&living::Absorption, &mut player::AbsorptionAmount),
20924 Changed<living::Absorption>,
20925 >,
20926 ) {
20927 for (living_absorption, mut player_absorption) in &mut query {
20928 player_absorption.0 = living_absorption.0;
20929 }
20930 }
20931 #[doc = "Special case for `living::Attributes`."]
20932 fn update_living_attributes(
20933 mut query: Query<
20934 (
20935 &mut attributes::TrackedEntityAttributes,
20936 &mut attributes::EntityAttributes,
20937 ),
20938 Changed<attributes::EntityAttributes>,
20939 >,
20940 ) {
20941 for (mut tracked, mut attributes) in &mut query {
20942 for attribute in attributes.take_recently_changed() {
20943 tracked.mark_modified(&attributes, attribute);
20944 }
20945 }
20946 }
20947 app.add_systems(
20948 PostUpdate,
20949 update_abstract_donkey_chest
20950 .in_set(UpdateTrackedDataSet)
20951 .ambiguous_with(UpdateTrackedDataSet),
20952 );
20953 app.add_systems(
20954 PostUpdate,
20955 update_abstract_fireball_item
20956 .in_set(UpdateTrackedDataSet)
20957 .ambiguous_with(UpdateTrackedDataSet),
20958 );
20959 app.add_systems(
20960 PostUpdate,
20961 update_abstract_horse_horse_flags
20962 .in_set(UpdateTrackedDataSet)
20963 .ambiguous_with(UpdateTrackedDataSet),
20964 );
20965 app.add_systems(
20966 PostUpdate,
20967 update_abstract_minecart_damage_wobble_ticks
20968 .in_set(UpdateTrackedDataSet)
20969 .ambiguous_with(UpdateTrackedDataSet),
20970 );
20971 app.add_systems(
20972 PostUpdate,
20973 update_abstract_minecart_damage_wobble_side
20974 .in_set(UpdateTrackedDataSet)
20975 .ambiguous_with(UpdateTrackedDataSet),
20976 );
20977 app.add_systems(
20978 PostUpdate,
20979 update_abstract_minecart_damage_wobble_strength
20980 .in_set(UpdateTrackedDataSet)
20981 .ambiguous_with(UpdateTrackedDataSet),
20982 );
20983 app.add_systems(
20984 PostUpdate,
20985 update_abstract_minecart_custom_block_id
20986 .in_set(UpdateTrackedDataSet)
20987 .ambiguous_with(UpdateTrackedDataSet),
20988 );
20989 app.add_systems(
20990 PostUpdate,
20991 update_abstract_minecart_custom_block_offset
20992 .in_set(UpdateTrackedDataSet)
20993 .ambiguous_with(UpdateTrackedDataSet),
20994 );
20995 app.add_systems(
20996 PostUpdate,
20997 update_abstract_minecart_custom_block_present
20998 .in_set(UpdateTrackedDataSet)
20999 .ambiguous_with(UpdateTrackedDataSet),
21000 );
21001 app.add_systems(
21002 PostUpdate,
21003 update_abstract_piglin_immune_to_zombification
21004 .in_set(UpdateTrackedDataSet)
21005 .ambiguous_with(UpdateTrackedDataSet),
21006 );
21007 app.add_systems(
21008 PostUpdate,
21009 update_allay_dancing
21010 .in_set(UpdateTrackedDataSet)
21011 .ambiguous_with(UpdateTrackedDataSet),
21012 );
21013 app.add_systems(
21014 PostUpdate,
21015 update_allay_can_duplicate
21016 .in_set(UpdateTrackedDataSet)
21017 .ambiguous_with(UpdateTrackedDataSet),
21018 );
21019 app.add_systems(
21020 PostUpdate,
21021 update_area_effect_cloud_radius
21022 .in_set(UpdateTrackedDataSet)
21023 .ambiguous_with(UpdateTrackedDataSet),
21024 );
21025 app.add_systems(
21026 PostUpdate,
21027 update_area_effect_cloud_color
21028 .in_set(UpdateTrackedDataSet)
21029 .ambiguous_with(UpdateTrackedDataSet),
21030 );
21031 app.add_systems(
21032 PostUpdate,
21033 update_area_effect_cloud_waiting
21034 .in_set(UpdateTrackedDataSet)
21035 .ambiguous_with(UpdateTrackedDataSet),
21036 );
21037 app.add_systems(
21038 PostUpdate,
21039 update_area_effect_cloud_particle_id
21040 .in_set(UpdateTrackedDataSet)
21041 .ambiguous_with(UpdateTrackedDataSet),
21042 );
21043 app.add_systems(
21044 PostUpdate,
21045 update_armor_stand_armor_stand_flags
21046 .in_set(UpdateTrackedDataSet)
21047 .ambiguous_with(UpdateTrackedDataSet),
21048 );
21049 app.add_systems(
21050 PostUpdate,
21051 update_armor_stand_tracker_head_rotation
21052 .in_set(UpdateTrackedDataSet)
21053 .ambiguous_with(UpdateTrackedDataSet),
21054 );
21055 app.add_systems(
21056 PostUpdate,
21057 update_armor_stand_tracker_body_rotation
21058 .in_set(UpdateTrackedDataSet)
21059 .ambiguous_with(UpdateTrackedDataSet),
21060 );
21061 app.add_systems(
21062 PostUpdate,
21063 update_armor_stand_tracker_left_arm_rotation
21064 .in_set(UpdateTrackedDataSet)
21065 .ambiguous_with(UpdateTrackedDataSet),
21066 );
21067 app.add_systems(
21068 PostUpdate,
21069 update_armor_stand_tracker_right_arm_rotation
21070 .in_set(UpdateTrackedDataSet)
21071 .ambiguous_with(UpdateTrackedDataSet),
21072 );
21073 app.add_systems(
21074 PostUpdate,
21075 update_armor_stand_tracker_left_leg_rotation
21076 .in_set(UpdateTrackedDataSet)
21077 .ambiguous_with(UpdateTrackedDataSet),
21078 );
21079 app.add_systems(
21080 PostUpdate,
21081 update_armor_stand_tracker_right_leg_rotation
21082 .in_set(UpdateTrackedDataSet)
21083 .ambiguous_with(UpdateTrackedDataSet),
21084 );
21085 app.add_systems(
21086 PostUpdate,
21087 update_arrow_color
21088 .in_set(UpdateTrackedDataSet)
21089 .ambiguous_with(UpdateTrackedDataSet),
21090 );
21091 app.add_systems(
21092 PostUpdate,
21093 update_axolotl_variant
21094 .in_set(UpdateTrackedDataSet)
21095 .ambiguous_with(UpdateTrackedDataSet),
21096 );
21097 app.add_systems(
21098 PostUpdate,
21099 update_axolotl_playing_dead
21100 .in_set(UpdateTrackedDataSet)
21101 .ambiguous_with(UpdateTrackedDataSet),
21102 );
21103 app.add_systems(
21104 PostUpdate,
21105 update_axolotl_from_bucket
21106 .in_set(UpdateTrackedDataSet)
21107 .ambiguous_with(UpdateTrackedDataSet),
21108 );
21109 app.add_systems(
21110 PostUpdate,
21111 update_bat_bat_flags
21112 .in_set(UpdateTrackedDataSet)
21113 .ambiguous_with(UpdateTrackedDataSet),
21114 );
21115 app.add_systems(
21116 PostUpdate,
21117 update_bee_bee_flags
21118 .in_set(UpdateTrackedDataSet)
21119 .ambiguous_with(UpdateTrackedDataSet),
21120 );
21121 app.add_systems(
21122 PostUpdate,
21123 update_bee_anger
21124 .in_set(UpdateTrackedDataSet)
21125 .ambiguous_with(UpdateTrackedDataSet),
21126 );
21127 app.add_systems(
21128 PostUpdate,
21129 update_blaze_blaze_flags
21130 .in_set(UpdateTrackedDataSet)
21131 .ambiguous_with(UpdateTrackedDataSet),
21132 );
21133 app.add_systems(
21134 PostUpdate,
21135 update_block_display_block_state
21136 .in_set(UpdateTrackedDataSet)
21137 .ambiguous_with(UpdateTrackedDataSet),
21138 );
21139 app.add_systems(
21140 PostUpdate,
21141 update_boat_damage_wobble_ticks
21142 .in_set(UpdateTrackedDataSet)
21143 .ambiguous_with(UpdateTrackedDataSet),
21144 );
21145 app.add_systems(
21146 PostUpdate,
21147 update_boat_damage_wobble_side
21148 .in_set(UpdateTrackedDataSet)
21149 .ambiguous_with(UpdateTrackedDataSet),
21150 );
21151 app.add_systems(
21152 PostUpdate,
21153 update_boat_damage_wobble_strength
21154 .in_set(UpdateTrackedDataSet)
21155 .ambiguous_with(UpdateTrackedDataSet),
21156 );
21157 app.add_systems(
21158 PostUpdate,
21159 update_boat_boat_type
21160 .in_set(UpdateTrackedDataSet)
21161 .ambiguous_with(UpdateTrackedDataSet),
21162 );
21163 app.add_systems(
21164 PostUpdate,
21165 update_boat_left_paddle_moving
21166 .in_set(UpdateTrackedDataSet)
21167 .ambiguous_with(UpdateTrackedDataSet),
21168 );
21169 app.add_systems(
21170 PostUpdate,
21171 update_boat_right_paddle_moving
21172 .in_set(UpdateTrackedDataSet)
21173 .ambiguous_with(UpdateTrackedDataSet),
21174 );
21175 app.add_systems(
21176 PostUpdate,
21177 update_boat_bubble_wobble_ticks
21178 .in_set(UpdateTrackedDataSet)
21179 .ambiguous_with(UpdateTrackedDataSet),
21180 );
21181 app.add_systems(
21182 PostUpdate,
21183 update_camel_dashing
21184 .in_set(UpdateTrackedDataSet)
21185 .ambiguous_with(UpdateTrackedDataSet),
21186 );
21187 app.add_systems(
21188 PostUpdate,
21189 update_camel_last_pose_tick
21190 .in_set(UpdateTrackedDataSet)
21191 .ambiguous_with(UpdateTrackedDataSet),
21192 );
21193 app.add_systems(
21194 PostUpdate,
21195 update_cat_cat_variant
21196 .in_set(UpdateTrackedDataSet)
21197 .ambiguous_with(UpdateTrackedDataSet),
21198 );
21199 app.add_systems(
21200 PostUpdate,
21201 update_cat_in_sleeping_pose
21202 .in_set(UpdateTrackedDataSet)
21203 .ambiguous_with(UpdateTrackedDataSet),
21204 );
21205 app.add_systems(
21206 PostUpdate,
21207 update_cat_head_down
21208 .in_set(UpdateTrackedDataSet)
21209 .ambiguous_with(UpdateTrackedDataSet),
21210 );
21211 app.add_systems(
21212 PostUpdate,
21213 update_cat_collar_color
21214 .in_set(UpdateTrackedDataSet)
21215 .ambiguous_with(UpdateTrackedDataSet),
21216 );
21217 app.add_systems(
21218 PostUpdate,
21219 update_command_block_minecart_command
21220 .in_set(UpdateTrackedDataSet)
21221 .ambiguous_with(UpdateTrackedDataSet),
21222 );
21223 app.add_systems(
21224 PostUpdate,
21225 update_command_block_minecart_last_output
21226 .in_set(UpdateTrackedDataSet)
21227 .ambiguous_with(UpdateTrackedDataSet),
21228 );
21229 app.add_systems(
21230 PostUpdate,
21231 update_creeper_fuse_speed
21232 .in_set(UpdateTrackedDataSet)
21233 .ambiguous_with(UpdateTrackedDataSet),
21234 );
21235 app.add_systems(
21236 PostUpdate,
21237 update_creeper_charged
21238 .in_set(UpdateTrackedDataSet)
21239 .ambiguous_with(UpdateTrackedDataSet),
21240 );
21241 app.add_systems(
21242 PostUpdate,
21243 update_creeper_ignited
21244 .in_set(UpdateTrackedDataSet)
21245 .ambiguous_with(UpdateTrackedDataSet),
21246 );
21247 app.add_systems(
21248 PostUpdate,
21249 update_display_start_interpolation
21250 .in_set(UpdateTrackedDataSet)
21251 .ambiguous_with(UpdateTrackedDataSet),
21252 );
21253 app.add_systems(
21254 PostUpdate,
21255 update_display_interpolation_duration
21256 .in_set(UpdateTrackedDataSet)
21257 .ambiguous_with(UpdateTrackedDataSet),
21258 );
21259 app.add_systems(
21260 PostUpdate,
21261 update_display_translation
21262 .in_set(UpdateTrackedDataSet)
21263 .ambiguous_with(UpdateTrackedDataSet),
21264 );
21265 app.add_systems(
21266 PostUpdate,
21267 update_display_scale
21268 .in_set(UpdateTrackedDataSet)
21269 .ambiguous_with(UpdateTrackedDataSet),
21270 );
21271 app.add_systems(
21272 PostUpdate,
21273 update_display_left_rotation
21274 .in_set(UpdateTrackedDataSet)
21275 .ambiguous_with(UpdateTrackedDataSet),
21276 );
21277 app.add_systems(
21278 PostUpdate,
21279 update_display_right_rotation
21280 .in_set(UpdateTrackedDataSet)
21281 .ambiguous_with(UpdateTrackedDataSet),
21282 );
21283 app.add_systems(
21284 PostUpdate,
21285 update_display_billboard
21286 .in_set(UpdateTrackedDataSet)
21287 .ambiguous_with(UpdateTrackedDataSet),
21288 );
21289 app.add_systems(
21290 PostUpdate,
21291 update_display_brightness
21292 .in_set(UpdateTrackedDataSet)
21293 .ambiguous_with(UpdateTrackedDataSet),
21294 );
21295 app.add_systems(
21296 PostUpdate,
21297 update_display_view_range
21298 .in_set(UpdateTrackedDataSet)
21299 .ambiguous_with(UpdateTrackedDataSet),
21300 );
21301 app.add_systems(
21302 PostUpdate,
21303 update_display_shadow_radius
21304 .in_set(UpdateTrackedDataSet)
21305 .ambiguous_with(UpdateTrackedDataSet),
21306 );
21307 app.add_systems(
21308 PostUpdate,
21309 update_display_shadow_strength
21310 .in_set(UpdateTrackedDataSet)
21311 .ambiguous_with(UpdateTrackedDataSet),
21312 );
21313 app.add_systems(
21314 PostUpdate,
21315 update_display_width
21316 .in_set(UpdateTrackedDataSet)
21317 .ambiguous_with(UpdateTrackedDataSet),
21318 );
21319 app.add_systems(
21320 PostUpdate,
21321 update_display_height
21322 .in_set(UpdateTrackedDataSet)
21323 .ambiguous_with(UpdateTrackedDataSet),
21324 );
21325 app.add_systems(
21326 PostUpdate,
21327 update_display_glow_color_override
21328 .in_set(UpdateTrackedDataSet)
21329 .ambiguous_with(UpdateTrackedDataSet),
21330 );
21331 app.add_systems(
21332 PostUpdate,
21333 update_dolphin_treasure_pos
21334 .in_set(UpdateTrackedDataSet)
21335 .ambiguous_with(UpdateTrackedDataSet),
21336 );
21337 app.add_systems(
21338 PostUpdate,
21339 update_dolphin_has_fish
21340 .in_set(UpdateTrackedDataSet)
21341 .ambiguous_with(UpdateTrackedDataSet),
21342 );
21343 app.add_systems(
21344 PostUpdate,
21345 update_dolphin_moistness
21346 .in_set(UpdateTrackedDataSet)
21347 .ambiguous_with(UpdateTrackedDataSet),
21348 );
21349 app.add_systems(
21350 PostUpdate,
21351 update_end_crystal_beam_target
21352 .in_set(UpdateTrackedDataSet)
21353 .ambiguous_with(UpdateTrackedDataSet),
21354 );
21355 app.add_systems(
21356 PostUpdate,
21357 update_end_crystal_show_bottom
21358 .in_set(UpdateTrackedDataSet)
21359 .ambiguous_with(UpdateTrackedDataSet),
21360 );
21361 app.add_systems(
21362 PostUpdate,
21363 update_ender_dragon_phase_type
21364 .in_set(UpdateTrackedDataSet)
21365 .ambiguous_with(UpdateTrackedDataSet),
21366 );
21367 app.add_systems(
21368 PostUpdate,
21369 update_enderman_carried_block
21370 .in_set(UpdateTrackedDataSet)
21371 .ambiguous_with(UpdateTrackedDataSet),
21372 );
21373 app.add_systems(
21374 PostUpdate,
21375 update_enderman_angry
21376 .in_set(UpdateTrackedDataSet)
21377 .ambiguous_with(UpdateTrackedDataSet),
21378 );
21379 app.add_systems(
21380 PostUpdate,
21381 update_enderman_provoked
21382 .in_set(UpdateTrackedDataSet)
21383 .ambiguous_with(UpdateTrackedDataSet),
21384 );
21385 app.add_systems(
21386 PostUpdate,
21387 update_entity_flags
21388 .in_set(UpdateTrackedDataSet)
21389 .ambiguous_with(UpdateTrackedDataSet),
21390 );
21391 app.add_systems(
21392 PostUpdate,
21393 update_entity_air
21394 .in_set(UpdateTrackedDataSet)
21395 .ambiguous_with(UpdateTrackedDataSet),
21396 );
21397 app.add_systems(
21398 PostUpdate,
21399 update_entity_custom_name
21400 .in_set(UpdateTrackedDataSet)
21401 .ambiguous_with(UpdateTrackedDataSet),
21402 );
21403 app.add_systems(
21404 PostUpdate,
21405 update_entity_name_visible
21406 .in_set(UpdateTrackedDataSet)
21407 .ambiguous_with(UpdateTrackedDataSet),
21408 );
21409 app.add_systems(
21410 PostUpdate,
21411 update_entity_silent
21412 .in_set(UpdateTrackedDataSet)
21413 .ambiguous_with(UpdateTrackedDataSet),
21414 );
21415 app.add_systems(
21416 PostUpdate,
21417 update_entity_no_gravity
21418 .in_set(UpdateTrackedDataSet)
21419 .ambiguous_with(UpdateTrackedDataSet),
21420 );
21421 app.add_systems(
21422 PostUpdate,
21423 update_entity_pose
21424 .in_set(UpdateTrackedDataSet)
21425 .ambiguous_with(UpdateTrackedDataSet),
21426 );
21427 app.add_systems(
21428 PostUpdate,
21429 update_entity_frozen_ticks
21430 .in_set(UpdateTrackedDataSet)
21431 .ambiguous_with(UpdateTrackedDataSet),
21432 );
21433 app.add_systems(
21434 PostUpdate,
21435 update_eye_of_ender_item
21436 .in_set(UpdateTrackedDataSet)
21437 .ambiguous_with(UpdateTrackedDataSet),
21438 );
21439 app.add_systems(
21440 PostUpdate,
21441 update_falling_block_block_pos
21442 .in_set(UpdateTrackedDataSet)
21443 .ambiguous_with(UpdateTrackedDataSet),
21444 );
21445 app.add_systems(
21446 PostUpdate,
21447 update_firework_rocket_item
21448 .in_set(UpdateTrackedDataSet)
21449 .ambiguous_with(UpdateTrackedDataSet),
21450 );
21451 app.add_systems(
21452 PostUpdate,
21453 update_firework_rocket_shooter_entity_id
21454 .in_set(UpdateTrackedDataSet)
21455 .ambiguous_with(UpdateTrackedDataSet),
21456 );
21457 app.add_systems(
21458 PostUpdate,
21459 update_firework_rocket_shot_at_angle
21460 .in_set(UpdateTrackedDataSet)
21461 .ambiguous_with(UpdateTrackedDataSet),
21462 );
21463 app.add_systems(
21464 PostUpdate,
21465 update_fish_from_bucket
21466 .in_set(UpdateTrackedDataSet)
21467 .ambiguous_with(UpdateTrackedDataSet),
21468 );
21469 app.add_systems(
21470 PostUpdate,
21471 update_fishing_bobber_hook_entity_id
21472 .in_set(UpdateTrackedDataSet)
21473 .ambiguous_with(UpdateTrackedDataSet),
21474 );
21475 app.add_systems(
21476 PostUpdate,
21477 update_fishing_bobber_caught_fish
21478 .in_set(UpdateTrackedDataSet)
21479 .ambiguous_with(UpdateTrackedDataSet),
21480 );
21481 app.add_systems(
21482 PostUpdate,
21483 update_fox_type
21484 .in_set(UpdateTrackedDataSet)
21485 .ambiguous_with(UpdateTrackedDataSet),
21486 );
21487 app.add_systems(
21488 PostUpdate,
21489 update_fox_fox_flags
21490 .in_set(UpdateTrackedDataSet)
21491 .ambiguous_with(UpdateTrackedDataSet),
21492 );
21493 app.add_systems(
21494 PostUpdate,
21495 update_fox_owner
21496 .in_set(UpdateTrackedDataSet)
21497 .ambiguous_with(UpdateTrackedDataSet),
21498 );
21499 app.add_systems(
21500 PostUpdate,
21501 update_fox_other_trusted
21502 .in_set(UpdateTrackedDataSet)
21503 .ambiguous_with(UpdateTrackedDataSet),
21504 );
21505 app.add_systems(
21506 PostUpdate,
21507 update_frog_variant
21508 .in_set(UpdateTrackedDataSet)
21509 .ambiguous_with(UpdateTrackedDataSet),
21510 );
21511 app.add_systems(
21512 PostUpdate,
21513 update_frog_target
21514 .in_set(UpdateTrackedDataSet)
21515 .ambiguous_with(UpdateTrackedDataSet),
21516 );
21517 app.add_systems(
21518 PostUpdate,
21519 update_furnace_minecart_lit
21520 .in_set(UpdateTrackedDataSet)
21521 .ambiguous_with(UpdateTrackedDataSet),
21522 );
21523 app.add_systems(
21524 PostUpdate,
21525 update_ghast_shooting
21526 .in_set(UpdateTrackedDataSet)
21527 .ambiguous_with(UpdateTrackedDataSet),
21528 );
21529 app.add_systems(
21530 PostUpdate,
21531 update_glow_squid_dark_ticks_remaining
21532 .in_set(UpdateTrackedDataSet)
21533 .ambiguous_with(UpdateTrackedDataSet),
21534 );
21535 app.add_systems(
21536 PostUpdate,
21537 update_goat_screaming
21538 .in_set(UpdateTrackedDataSet)
21539 .ambiguous_with(UpdateTrackedDataSet),
21540 );
21541 app.add_systems(
21542 PostUpdate,
21543 update_goat_left_horn
21544 .in_set(UpdateTrackedDataSet)
21545 .ambiguous_with(UpdateTrackedDataSet),
21546 );
21547 app.add_systems(
21548 PostUpdate,
21549 update_goat_right_horn
21550 .in_set(UpdateTrackedDataSet)
21551 .ambiguous_with(UpdateTrackedDataSet),
21552 );
21553 app.add_systems(
21554 PostUpdate,
21555 update_guardian_spikes_retracted
21556 .in_set(UpdateTrackedDataSet)
21557 .ambiguous_with(UpdateTrackedDataSet),
21558 );
21559 app.add_systems(
21560 PostUpdate,
21561 update_guardian_beam_target_id
21562 .in_set(UpdateTrackedDataSet)
21563 .ambiguous_with(UpdateTrackedDataSet),
21564 );
21565 app.add_systems(
21566 PostUpdate,
21567 update_hoglin_baby
21568 .in_set(UpdateTrackedDataSet)
21569 .ambiguous_with(UpdateTrackedDataSet),
21570 );
21571 app.add_systems(
21572 PostUpdate,
21573 update_horse_variant
21574 .in_set(UpdateTrackedDataSet)
21575 .ambiguous_with(UpdateTrackedDataSet),
21576 );
21577 app.add_systems(
21578 PostUpdate,
21579 update_interaction_width
21580 .in_set(UpdateTrackedDataSet)
21581 .ambiguous_with(UpdateTrackedDataSet),
21582 );
21583 app.add_systems(
21584 PostUpdate,
21585 update_interaction_height
21586 .in_set(UpdateTrackedDataSet)
21587 .ambiguous_with(UpdateTrackedDataSet),
21588 );
21589 app.add_systems(
21590 PostUpdate,
21591 update_interaction_response
21592 .in_set(UpdateTrackedDataSet)
21593 .ambiguous_with(UpdateTrackedDataSet),
21594 );
21595 app.add_systems(
21596 PostUpdate,
21597 update_iron_golem_iron_golem_flags
21598 .in_set(UpdateTrackedDataSet)
21599 .ambiguous_with(UpdateTrackedDataSet),
21600 );
21601 app.add_systems(
21602 PostUpdate,
21603 update_item_display_item
21604 .in_set(UpdateTrackedDataSet)
21605 .ambiguous_with(UpdateTrackedDataSet),
21606 );
21607 app.add_systems(
21608 PostUpdate,
21609 update_item_display_item_display
21610 .in_set(UpdateTrackedDataSet)
21611 .ambiguous_with(UpdateTrackedDataSet),
21612 );
21613 app.add_systems(
21614 PostUpdate,
21615 update_item_stack
21616 .in_set(UpdateTrackedDataSet)
21617 .ambiguous_with(UpdateTrackedDataSet),
21618 );
21619 app.add_systems(
21620 PostUpdate,
21621 update_item_frame_item_stack
21622 .in_set(UpdateTrackedDataSet)
21623 .ambiguous_with(UpdateTrackedDataSet),
21624 );
21625 app.add_systems(
21626 PostUpdate,
21627 update_item_frame_rotation
21628 .in_set(UpdateTrackedDataSet)
21629 .ambiguous_with(UpdateTrackedDataSet),
21630 );
21631 app.add_systems(
21632 PostUpdate,
21633 update_living_living_flags
21634 .in_set(UpdateTrackedDataSet)
21635 .ambiguous_with(UpdateTrackedDataSet),
21636 );
21637 app.add_systems(
21638 PostUpdate,
21639 update_living_health
21640 .in_set(UpdateTrackedDataSet)
21641 .ambiguous_with(UpdateTrackedDataSet),
21642 );
21643 app.add_systems(
21644 PostUpdate,
21645 update_living_potion_swirls_color
21646 .in_set(UpdateTrackedDataSet)
21647 .ambiguous_with(UpdateTrackedDataSet),
21648 );
21649 app.add_systems(
21650 PostUpdate,
21651 update_living_potion_swirls_ambient
21652 .in_set(UpdateTrackedDataSet)
21653 .ambiguous_with(UpdateTrackedDataSet),
21654 );
21655 app.add_systems(
21656 PostUpdate,
21657 update_living_stuck_arrow_count
21658 .in_set(UpdateTrackedDataSet)
21659 .ambiguous_with(UpdateTrackedDataSet),
21660 );
21661 app.add_systems(
21662 PostUpdate,
21663 update_living_stinger_count
21664 .in_set(UpdateTrackedDataSet)
21665 .ambiguous_with(UpdateTrackedDataSet),
21666 );
21667 app.add_systems(
21668 PostUpdate,
21669 update_living_sleeping_position
21670 .in_set(UpdateTrackedDataSet)
21671 .ambiguous_with(UpdateTrackedDataSet),
21672 );
21673 app.add_systems(
21674 PostUpdate,
21675 update_llama_strength
21676 .in_set(UpdateTrackedDataSet)
21677 .ambiguous_with(UpdateTrackedDataSet),
21678 );
21679 app.add_systems(
21680 PostUpdate,
21681 update_llama_carpet_color
21682 .in_set(UpdateTrackedDataSet)
21683 .ambiguous_with(UpdateTrackedDataSet),
21684 );
21685 app.add_systems(
21686 PostUpdate,
21687 update_llama_variant
21688 .in_set(UpdateTrackedDataSet)
21689 .ambiguous_with(UpdateTrackedDataSet),
21690 );
21691 app.add_systems(
21692 PostUpdate,
21693 update_merchant_head_rolling_time_left
21694 .in_set(UpdateTrackedDataSet)
21695 .ambiguous_with(UpdateTrackedDataSet),
21696 );
21697 app.add_systems(
21698 PostUpdate,
21699 update_mob_mob_flags
21700 .in_set(UpdateTrackedDataSet)
21701 .ambiguous_with(UpdateTrackedDataSet),
21702 );
21703 app.add_systems(
21704 PostUpdate,
21705 update_mooshroom_type
21706 .in_set(UpdateTrackedDataSet)
21707 .ambiguous_with(UpdateTrackedDataSet),
21708 );
21709 app.add_systems(
21710 PostUpdate,
21711 update_ocelot_trusting
21712 .in_set(UpdateTrackedDataSet)
21713 .ambiguous_with(UpdateTrackedDataSet),
21714 );
21715 app.add_systems(
21716 PostUpdate,
21717 update_painting_variant
21718 .in_set(UpdateTrackedDataSet)
21719 .ambiguous_with(UpdateTrackedDataSet),
21720 );
21721 app.add_systems(
21722 PostUpdate,
21723 update_panda_ask_for_bamboo_ticks
21724 .in_set(UpdateTrackedDataSet)
21725 .ambiguous_with(UpdateTrackedDataSet),
21726 );
21727 app.add_systems(
21728 PostUpdate,
21729 update_panda_sneeze_progress
21730 .in_set(UpdateTrackedDataSet)
21731 .ambiguous_with(UpdateTrackedDataSet),
21732 );
21733 app.add_systems(
21734 PostUpdate,
21735 update_panda_eating_ticks
21736 .in_set(UpdateTrackedDataSet)
21737 .ambiguous_with(UpdateTrackedDataSet),
21738 );
21739 app.add_systems(
21740 PostUpdate,
21741 update_panda_main_gene
21742 .in_set(UpdateTrackedDataSet)
21743 .ambiguous_with(UpdateTrackedDataSet),
21744 );
21745 app.add_systems(
21746 PostUpdate,
21747 update_panda_hidden_gene
21748 .in_set(UpdateTrackedDataSet)
21749 .ambiguous_with(UpdateTrackedDataSet),
21750 );
21751 app.add_systems(
21752 PostUpdate,
21753 update_panda_panda_flags
21754 .in_set(UpdateTrackedDataSet)
21755 .ambiguous_with(UpdateTrackedDataSet),
21756 );
21757 app.add_systems(
21758 PostUpdate,
21759 update_parrot_variant
21760 .in_set(UpdateTrackedDataSet)
21761 .ambiguous_with(UpdateTrackedDataSet),
21762 );
21763 app.add_systems(
21764 PostUpdate,
21765 update_passive_child
21766 .in_set(UpdateTrackedDataSet)
21767 .ambiguous_with(UpdateTrackedDataSet),
21768 );
21769 app.add_systems(
21770 PostUpdate,
21771 update_persistent_projectile_projectile_flags
21772 .in_set(UpdateTrackedDataSet)
21773 .ambiguous_with(UpdateTrackedDataSet),
21774 );
21775 app.add_systems(
21776 PostUpdate,
21777 update_persistent_projectile_pierce_level
21778 .in_set(UpdateTrackedDataSet)
21779 .ambiguous_with(UpdateTrackedDataSet),
21780 );
21781 app.add_systems(
21782 PostUpdate,
21783 update_phantom_size
21784 .in_set(UpdateTrackedDataSet)
21785 .ambiguous_with(UpdateTrackedDataSet),
21786 );
21787 app.add_systems(
21788 PostUpdate,
21789 update_pig_saddled
21790 .in_set(UpdateTrackedDataSet)
21791 .ambiguous_with(UpdateTrackedDataSet),
21792 );
21793 app.add_systems(
21794 PostUpdate,
21795 update_pig_boost_time
21796 .in_set(UpdateTrackedDataSet)
21797 .ambiguous_with(UpdateTrackedDataSet),
21798 );
21799 app.add_systems(
21800 PostUpdate,
21801 update_piglin_baby
21802 .in_set(UpdateTrackedDataSet)
21803 .ambiguous_with(UpdateTrackedDataSet),
21804 );
21805 app.add_systems(
21806 PostUpdate,
21807 update_piglin_charging
21808 .in_set(UpdateTrackedDataSet)
21809 .ambiguous_with(UpdateTrackedDataSet),
21810 );
21811 app.add_systems(
21812 PostUpdate,
21813 update_piglin_dancing
21814 .in_set(UpdateTrackedDataSet)
21815 .ambiguous_with(UpdateTrackedDataSet),
21816 );
21817 app.add_systems(
21818 PostUpdate,
21819 update_pillager_charging
21820 .in_set(UpdateTrackedDataSet)
21821 .ambiguous_with(UpdateTrackedDataSet),
21822 );
21823 app.add_systems(
21824 PostUpdate,
21825 update_player_absorption_amount
21826 .in_set(UpdateTrackedDataSet)
21827 .ambiguous_with(UpdateTrackedDataSet),
21828 );
21829 app.add_systems(
21830 PostUpdate,
21831 update_player_score
21832 .in_set(UpdateTrackedDataSet)
21833 .ambiguous_with(UpdateTrackedDataSet),
21834 );
21835 app.add_systems(
21836 PostUpdate,
21837 update_player_player_model_parts
21838 .in_set(UpdateTrackedDataSet)
21839 .ambiguous_with(UpdateTrackedDataSet),
21840 );
21841 app.add_systems(
21842 PostUpdate,
21843 update_player_main_arm
21844 .in_set(UpdateTrackedDataSet)
21845 .ambiguous_with(UpdateTrackedDataSet),
21846 );
21847 app.add_systems(
21848 PostUpdate,
21849 update_player_left_shoulder_entity
21850 .in_set(UpdateTrackedDataSet)
21851 .ambiguous_with(UpdateTrackedDataSet),
21852 );
21853 app.add_systems(
21854 PostUpdate,
21855 update_player_right_shoulder_entity
21856 .in_set(UpdateTrackedDataSet)
21857 .ambiguous_with(UpdateTrackedDataSet),
21858 );
21859 app.add_systems(
21860 PostUpdate,
21861 update_polar_bear_warning
21862 .in_set(UpdateTrackedDataSet)
21863 .ambiguous_with(UpdateTrackedDataSet),
21864 );
21865 app.add_systems(
21866 PostUpdate,
21867 update_pufferfish_puff_state
21868 .in_set(UpdateTrackedDataSet)
21869 .ambiguous_with(UpdateTrackedDataSet),
21870 );
21871 app.add_systems(
21872 PostUpdate,
21873 update_rabbit_rabbit_type
21874 .in_set(UpdateTrackedDataSet)
21875 .ambiguous_with(UpdateTrackedDataSet),
21876 );
21877 app.add_systems(
21878 PostUpdate,
21879 update_raider_celebrating
21880 .in_set(UpdateTrackedDataSet)
21881 .ambiguous_with(UpdateTrackedDataSet),
21882 );
21883 app.add_systems(
21884 PostUpdate,
21885 update_sheep_color
21886 .in_set(UpdateTrackedDataSet)
21887 .ambiguous_with(UpdateTrackedDataSet),
21888 );
21889 app.add_systems(
21890 PostUpdate,
21891 update_shulker_attached_face
21892 .in_set(UpdateTrackedDataSet)
21893 .ambiguous_with(UpdateTrackedDataSet),
21894 );
21895 app.add_systems(
21896 PostUpdate,
21897 update_shulker_peek_amount
21898 .in_set(UpdateTrackedDataSet)
21899 .ambiguous_with(UpdateTrackedDataSet),
21900 );
21901 app.add_systems(
21902 PostUpdate,
21903 update_shulker_color
21904 .in_set(UpdateTrackedDataSet)
21905 .ambiguous_with(UpdateTrackedDataSet),
21906 );
21907 app.add_systems(
21908 PostUpdate,
21909 update_skeleton_converting
21910 .in_set(UpdateTrackedDataSet)
21911 .ambiguous_with(UpdateTrackedDataSet),
21912 );
21913 app.add_systems(
21914 PostUpdate,
21915 update_slime_slime_size
21916 .in_set(UpdateTrackedDataSet)
21917 .ambiguous_with(UpdateTrackedDataSet),
21918 );
21919 app.add_systems(
21920 PostUpdate,
21921 update_sniffer_state
21922 .in_set(UpdateTrackedDataSet)
21923 .ambiguous_with(UpdateTrackedDataSet),
21924 );
21925 app.add_systems(
21926 PostUpdate,
21927 update_sniffer_finish_dig_time
21928 .in_set(UpdateTrackedDataSet)
21929 .ambiguous_with(UpdateTrackedDataSet),
21930 );
21931 app.add_systems(
21932 PostUpdate,
21933 update_snow_golem_snow_golem_flags
21934 .in_set(UpdateTrackedDataSet)
21935 .ambiguous_with(UpdateTrackedDataSet),
21936 );
21937 app.add_systems(
21938 PostUpdate,
21939 update_spellcasting_illager_spell
21940 .in_set(UpdateTrackedDataSet)
21941 .ambiguous_with(UpdateTrackedDataSet),
21942 );
21943 app.add_systems(
21944 PostUpdate,
21945 update_spider_spider_flags
21946 .in_set(UpdateTrackedDataSet)
21947 .ambiguous_with(UpdateTrackedDataSet),
21948 );
21949 app.add_systems(
21950 PostUpdate,
21951 update_strider_boost_time
21952 .in_set(UpdateTrackedDataSet)
21953 .ambiguous_with(UpdateTrackedDataSet),
21954 );
21955 app.add_systems(
21956 PostUpdate,
21957 update_strider_cold
21958 .in_set(UpdateTrackedDataSet)
21959 .ambiguous_with(UpdateTrackedDataSet),
21960 );
21961 app.add_systems(
21962 PostUpdate,
21963 update_strider_saddled
21964 .in_set(UpdateTrackedDataSet)
21965 .ambiguous_with(UpdateTrackedDataSet),
21966 );
21967 app.add_systems(
21968 PostUpdate,
21969 update_tameable_tameable_flags
21970 .in_set(UpdateTrackedDataSet)
21971 .ambiguous_with(UpdateTrackedDataSet),
21972 );
21973 app.add_systems(
21974 PostUpdate,
21975 update_tameable_owner_uuid
21976 .in_set(UpdateTrackedDataSet)
21977 .ambiguous_with(UpdateTrackedDataSet),
21978 );
21979 app.add_systems(
21980 PostUpdate,
21981 update_text_display_text
21982 .in_set(UpdateTrackedDataSet)
21983 .ambiguous_with(UpdateTrackedDataSet),
21984 );
21985 app.add_systems(
21986 PostUpdate,
21987 update_text_display_line_width
21988 .in_set(UpdateTrackedDataSet)
21989 .ambiguous_with(UpdateTrackedDataSet),
21990 );
21991 app.add_systems(
21992 PostUpdate,
21993 update_text_display_background
21994 .in_set(UpdateTrackedDataSet)
21995 .ambiguous_with(UpdateTrackedDataSet),
21996 );
21997 app.add_systems(
21998 PostUpdate,
21999 update_text_display_text_opacity
22000 .in_set(UpdateTrackedDataSet)
22001 .ambiguous_with(UpdateTrackedDataSet),
22002 );
22003 app.add_systems(
22004 PostUpdate,
22005 update_text_display_text_display_flags
22006 .in_set(UpdateTrackedDataSet)
22007 .ambiguous_with(UpdateTrackedDataSet),
22008 );
22009 app.add_systems(
22010 PostUpdate,
22011 update_thrown_item_item
22012 .in_set(UpdateTrackedDataSet)
22013 .ambiguous_with(UpdateTrackedDataSet),
22014 );
22015 app.add_systems(
22016 PostUpdate,
22017 update_tnt_fuse
22018 .in_set(UpdateTrackedDataSet)
22019 .ambiguous_with(UpdateTrackedDataSet),
22020 );
22021 app.add_systems(
22022 PostUpdate,
22023 update_trident_loyalty
22024 .in_set(UpdateTrackedDataSet)
22025 .ambiguous_with(UpdateTrackedDataSet),
22026 );
22027 app.add_systems(
22028 PostUpdate,
22029 update_trident_enchanted
22030 .in_set(UpdateTrackedDataSet)
22031 .ambiguous_with(UpdateTrackedDataSet),
22032 );
22033 app.add_systems(
22034 PostUpdate,
22035 update_tropical_fish_variant
22036 .in_set(UpdateTrackedDataSet)
22037 .ambiguous_with(UpdateTrackedDataSet),
22038 );
22039 app.add_systems(
22040 PostUpdate,
22041 update_turtle_home_pos
22042 .in_set(UpdateTrackedDataSet)
22043 .ambiguous_with(UpdateTrackedDataSet),
22044 );
22045 app.add_systems(
22046 PostUpdate,
22047 update_turtle_has_egg
22048 .in_set(UpdateTrackedDataSet)
22049 .ambiguous_with(UpdateTrackedDataSet),
22050 );
22051 app.add_systems(
22052 PostUpdate,
22053 update_turtle_digging_sand
22054 .in_set(UpdateTrackedDataSet)
22055 .ambiguous_with(UpdateTrackedDataSet),
22056 );
22057 app.add_systems(
22058 PostUpdate,
22059 update_turtle_travel_pos
22060 .in_set(UpdateTrackedDataSet)
22061 .ambiguous_with(UpdateTrackedDataSet),
22062 );
22063 app.add_systems(
22064 PostUpdate,
22065 update_turtle_land_bound
22066 .in_set(UpdateTrackedDataSet)
22067 .ambiguous_with(UpdateTrackedDataSet),
22068 );
22069 app.add_systems(
22070 PostUpdate,
22071 update_turtle_actively_traveling
22072 .in_set(UpdateTrackedDataSet)
22073 .ambiguous_with(UpdateTrackedDataSet),
22074 );
22075 app.add_systems(
22076 PostUpdate,
22077 update_vex_vex_flags
22078 .in_set(UpdateTrackedDataSet)
22079 .ambiguous_with(UpdateTrackedDataSet),
22080 );
22081 app.add_systems(
22082 PostUpdate,
22083 update_villager_villager_data
22084 .in_set(UpdateTrackedDataSet)
22085 .ambiguous_with(UpdateTrackedDataSet),
22086 );
22087 app.add_systems(
22088 PostUpdate,
22089 update_warden_anger
22090 .in_set(UpdateTrackedDataSet)
22091 .ambiguous_with(UpdateTrackedDataSet),
22092 );
22093 app.add_systems(
22094 PostUpdate,
22095 update_witch_drinking
22096 .in_set(UpdateTrackedDataSet)
22097 .ambiguous_with(UpdateTrackedDataSet),
22098 );
22099 app.add_systems(
22100 PostUpdate,
22101 update_wither_tracked_entity_id_1
22102 .in_set(UpdateTrackedDataSet)
22103 .ambiguous_with(UpdateTrackedDataSet),
22104 );
22105 app.add_systems(
22106 PostUpdate,
22107 update_wither_tracked_entity_id_2
22108 .in_set(UpdateTrackedDataSet)
22109 .ambiguous_with(UpdateTrackedDataSet),
22110 );
22111 app.add_systems(
22112 PostUpdate,
22113 update_wither_tracked_entity_id_3
22114 .in_set(UpdateTrackedDataSet)
22115 .ambiguous_with(UpdateTrackedDataSet),
22116 );
22117 app.add_systems(
22118 PostUpdate,
22119 update_wither_invul_timer
22120 .in_set(UpdateTrackedDataSet)
22121 .ambiguous_with(UpdateTrackedDataSet),
22122 );
22123 app.add_systems(
22124 PostUpdate,
22125 update_wither_skull_charged
22126 .in_set(UpdateTrackedDataSet)
22127 .ambiguous_with(UpdateTrackedDataSet),
22128 );
22129 app.add_systems(
22130 PostUpdate,
22131 update_wolf_begging
22132 .in_set(UpdateTrackedDataSet)
22133 .ambiguous_with(UpdateTrackedDataSet),
22134 );
22135 app.add_systems(
22136 PostUpdate,
22137 update_wolf_collar_color
22138 .in_set(UpdateTrackedDataSet)
22139 .ambiguous_with(UpdateTrackedDataSet),
22140 );
22141 app.add_systems(
22142 PostUpdate,
22143 update_wolf_anger_time
22144 .in_set(UpdateTrackedDataSet)
22145 .ambiguous_with(UpdateTrackedDataSet),
22146 );
22147 app.add_systems(
22148 PostUpdate,
22149 update_zoglin_baby
22150 .in_set(UpdateTrackedDataSet)
22151 .ambiguous_with(UpdateTrackedDataSet),
22152 );
22153 app.add_systems(
22154 PostUpdate,
22155 update_zombie_baby
22156 .in_set(UpdateTrackedDataSet)
22157 .ambiguous_with(UpdateTrackedDataSet),
22158 );
22159 app.add_systems(
22160 PostUpdate,
22161 update_zombie_zombie_type
22162 .in_set(UpdateTrackedDataSet)
22163 .ambiguous_with(UpdateTrackedDataSet),
22164 );
22165 app.add_systems(
22166 PostUpdate,
22167 update_zombie_converting_in_water
22168 .in_set(UpdateTrackedDataSet)
22169 .ambiguous_with(UpdateTrackedDataSet),
22170 );
22171 app.add_systems(
22172 PostUpdate,
22173 update_zombie_villager_converting
22174 .in_set(UpdateTrackedDataSet)
22175 .ambiguous_with(UpdateTrackedDataSet),
22176 );
22177 app.add_systems(
22178 PostUpdate,
22179 update_zombie_villager_villager_data
22180 .in_set(UpdateTrackedDataSet)
22181 .ambiguous_with(UpdateTrackedDataSet),
22182 );
22183 app.add_systems(
22184 PostUpdate,
22185 update_living_and_player_absorption
22186 .in_set(UpdateTrackedDataSet)
22187 .ambiguous_with(UpdateTrackedDataSet),
22188 );
22189 app.add_systems(
22190 PostUpdate,
22191 update_living_attributes
22192 .in_set(UpdateTrackedDataSet)
22193 .ambiguous_with(UpdateTrackedDataSet),
22194 );
22195}