Improved world generation entities rendering

This commit is contained in:
LemADEC 2017-02-11 12:13:50 +01:00
parent aa3280ff31
commit a2dbae1ded
2 changed files with 18 additions and 0 deletions

View file

@ -227,6 +227,15 @@ public final class EntitySphereGen extends Entity {
@Override
protected void entityInit() {
noClip = true;
}
// override to skip the block bounding override on client side
@Override
public void setPositionAndRotation2(double x, double y, double z, float yaw, float pitch, int p_70056_9_) {
// super.setPositionAndRotation2(x, y, z, yaw, pitch, p_70056_9_);
this.setPosition(x, y, z);
this.setRotation(yaw, pitch);
}
@Override

View file

@ -137,6 +137,15 @@ public final class EntityStarCore extends Entity {
@Override
protected void entityInit() {
noClip = true;
}
// override to skip the block bounding override on client side
@Override
public void setPositionAndRotation2(double x, double y, double z, float yaw, float pitch, int p_70056_9_) {
// super.setPositionAndRotation2(x, y, z, yaw, pitch, p_70056_9_);
this.setPosition(x, y, z);
this.setRotation(yaw, pitch);
}
@Override