-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug you're experiencing
The following code experiences logical errors when Performant is installed:
public boolean isStuck() {
double dx = getX() - xo;
double dz = getZ() - zo;
double dxSqr = dx * dx;
double dzSqr = dz * dz;
return dxSqr + dzSqr < getMovementThreshold();
}
public double getMovementThreshold() {
return 2.500000277905201E-7; // Default (arbitrary) value used by vanilla's movement controllers
}dx and dz fluctuate dramatically with Performant installed. Is there a known workaround?
Reproducability
- Download Performant.
- Use any mod whose animations (or other client-side aspects) depend on movement.
Mod up to date
- Before submitting this issue I updated to the newest version and reproduced it
Minecraft version
1.16.5
Modloader version
Forge
Logs
None
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working