Fix more instancing nonsense.

OrientedData was still applying the origin position shift, so some
things (mechanical presses) wouldn't appear in the right spot.
This commit is contained in:
JozsefA 2021-03-27 16:35:47 -07:00
parent 5f49698a94
commit 4e7777a130
2 changed files with 0 additions and 14 deletions

View file

@ -28,12 +28,6 @@ public class KineticData extends BasicData {
return setPosition(pos.getX(), pos.getY(), pos.getZ());
}
public KineticData setPosition(int x, int y, int z) {
return setPosition((float) (x),
(float) (y),
(float) (z));
}
public KineticData setPosition(float x, float y, float z) {
this.x = x;
this.y = y;

View file

@ -35,14 +35,6 @@ public class OrientedData extends BasicData {
return setPosition(pos.getX(), pos.getY(), pos.getZ());
}
public OrientedData setPosition(int x, int y, int z) {
BlockPos origin = owner.renderer.getOriginCoordinate();
return setPosition((float) (x - origin.getX()),
(float) (y - origin.getY()),
(float) (z - origin.getZ()));
}
public OrientedData setPosition(float x, float y, float z) {
this.posX = x;
this.posY = y;