forked from BynBang/OpenPrestige
Sync local working tree: injector, engine, mixin and build updates
Add compatibility notes, resource-provider and hook checks, and payload bundling script. Remove generated engine mixin stubs, engine target lists and prebuilt binaries now produced by the build. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
6d94493e58
commit
05d169a2dd
210 files changed
+1862
-849
No files matched your search
@@ -26,6 +26,7 @@ public final class PearlFollowSimulatedPearl extends PersistentProjectileEntity
|
||||
if (hitResult.getType() != Type.MISS) {
|
||||
this.onCollision(hitResult);
|
||||
} else {
|
||||
//? if >=1.21.2
|
||||
this.tickBlockCollision();
|
||||
if (!this.landed) {
|
||||
Vec3d motion = this.getVelocity();
|
||||
@@ -72,7 +73,15 @@ public final class PearlFollowSimulatedPearl extends PersistentProjectileEntity
|
||||
this.setVelocity(scaledMotion);
|
||||
this.setYaw((float)(MathHelper.atan2(scaledMotion.x, scaledMotion.z) * 180.0F / (float)Math.PI));
|
||||
this.setPitch((float)(MathHelper.atan2(scaledMotion.y, scaledMotion.horizontalLength()) * 180.0F / (float)Math.PI));
|
||||
//? if >=1.21.5 {
|
||||
this.lastYaw = this.getYaw();
|
||||
//? } else {
|
||||
/* this.prevYaw = this.getYaw();
|
||||
*///? }
|
||||
//? if >=1.21.5 {
|
||||
this.lastPitch = this.getPitch();
|
||||
//? } else {
|
||||
/* this.prevPitch = this.getPitch();
|
||||
*///? }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user