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
Minecraft version
1.16.5
Modloader version
Forge
Logs
None
Describe the bug you're experiencing
The following code experiences logical errors when Performant is installed:
dxanddzfluctuate dramatically with Performant installed. Is there a known workaround?Reproducability
Mod up to date
Minecraft version
1.16.5
Modloader version
Forge
Logs
None