mirror of
https://github.com/italicsjenga/valence.git
synced 2025-01-27 22:16:32 +11:00
Remove unnecessary prefix from Poses
This commit is contained in:
parent
9ec1df1978
commit
5bdac7fbb0
1 changed files with 7 additions and 7 deletions
|
@ -690,13 +690,13 @@ impl<C: Config> Entity<C> {
|
||||||
TrackedData::ZombieVillager(e) => baby(e.get_baby(), [0.6, 1.95, 0.6]),
|
TrackedData::ZombieVillager(e) => baby(e.get_baby(), [0.6, 1.95, 0.6]),
|
||||||
TrackedData::ZombifiedPiglin(e) => baby(e.get_baby(), [0.6, 1.95, 0.6]),
|
TrackedData::ZombifiedPiglin(e) => baby(e.get_baby(), [0.6, 1.95, 0.6]),
|
||||||
TrackedData::Player(e) => match e.get_pose() {
|
TrackedData::Player(e) => match e.get_pose() {
|
||||||
types::Pose::Standing => [0.6, 1.8, 0.6],
|
Pose::Standing => [0.6, 1.8, 0.6],
|
||||||
types::Pose::Sleeping => [0.2, 0.2, 0.2],
|
Pose::Sleeping => [0.2, 0.2, 0.2],
|
||||||
types::Pose::FallFlying => [0.6, 0.6, 0.6],
|
Pose::FallFlying => [0.6, 0.6, 0.6],
|
||||||
types::Pose::Swimming => [0.6, 0.6, 0.6],
|
Pose::Swimming => [0.6, 0.6, 0.6],
|
||||||
types::Pose::SpinAttack => [0.6, 0.6, 0.6],
|
Pose::SpinAttack => [0.6, 0.6, 0.6],
|
||||||
types::Pose::Sneaking => [0.6, 1.5, 0.6],
|
Pose::Sneaking => [0.6, 1.5, 0.6],
|
||||||
types::Pose::Dying => [0.2, 0.2, 0.2],
|
Pose::Dying => [0.2, 0.2, 0.2],
|
||||||
_ => [0.6, 1.8, 0.6],
|
_ => [0.6, 1.8, 0.6],
|
||||||
},
|
},
|
||||||
TrackedData::FishingBobber(_) => [0.25, 0.25, 0.25],
|
TrackedData::FishingBobber(_) => [0.25, 0.25, 0.25],
|
||||||
|
|
Loading…
Add table
Reference in a new issue