Remove the calc of clientside effect
This commit is contained in:
@@ -1229,9 +1229,12 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke
|
||||
if (this.getVehicle() instanceof EntityBoat) {
|
||||
this.inWater = false;
|
||||
} else if (this.b(TagsFluid.WATER)) {
|
||||
// Akarin start - this handle by client
|
||||
/*
|
||||
if (!this.inWater && !this.justCreated) {
|
||||
this.au();
|
||||
}
|
||||
*/
|
||||
|
||||
this.fallDistance = 0.0F;
|
||||
this.inWater = true;
|
||||
@@ -1271,13 +1274,13 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke
|
||||
for (i = 0; (float) i < 1.0F + this.width * 20.0F; ++i) {
|
||||
f3 = (this.random.nextFloat() * 2.0F - 1.0F) * this.width;
|
||||
f4 = (this.random.nextFloat() * 2.0F - 1.0F) * this.width;
|
||||
//this.world.addParticle(Particles.e, this.locX + (double) f3, (double) (f2 + 1.0F), this.locZ + (double) f4, this.motX, this.motY - (double) (this.random.nextFloat() * 0.2F), this.motZ);
|
||||
this.world.addParticle(Particles.e, this.locX + (double) f3, (double) (f2 + 1.0F), this.locZ + (double) f4, this.motX, this.motY - (double) (this.random.nextFloat() * 0.2F), this.motZ);
|
||||
}
|
||||
|
||||
for (i = 0; (float) i < 1.0F + this.width * 20.0F; ++i) {
|
||||
f3 = (this.random.nextFloat() * 2.0F - 1.0F) * this.width;
|
||||
f4 = (this.random.nextFloat() * 2.0F - 1.0F) * this.width;
|
||||
//this.world.addParticle(Particles.R, this.locX + (double) f3, (double) (f2 + 1.0F), this.locZ + (double) f4, this.motX, this.motY, this.motZ);
|
||||
this.world.addParticle(Particles.R, this.locX + (double) f3, (double) (f2 + 1.0F), this.locZ + (double) f4, this.motX, this.motY, this.motZ);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -146,9 +146,13 @@ public class EntitySlime extends EntityInsentient implements IMonster {
|
||||
this.setSize(0.51000005F * (float) i, 0.51000005F * (float) i);
|
||||
this.yaw = this.aS;
|
||||
this.aQ = this.aS;
|
||||
// Akarin start - this handle by client
|
||||
/*
|
||||
if (this.isInWater() && this.random.nextInt(20) == 0) {
|
||||
this.au();
|
||||
}
|
||||
*/
|
||||
// Akarin end
|
||||
}
|
||||
|
||||
super.a(datawatcherobject);
|
||||
|
||||
@@ -98,11 +98,9 @@ public class PlayerConnection implements PacketListenerPlayIn, ITickable {
|
||||
private double s;
|
||||
private double t;
|
||||
private double u;
|
||||
// Akarin start - package
|
||||
double v;
|
||||
double w;
|
||||
double x;
|
||||
// Akarin end
|
||||
private double v;
|
||||
private double w;
|
||||
private double x;
|
||||
private Vec3D teleportPos;
|
||||
private int teleportAwait;
|
||||
private int A;
|
||||
|
||||
Reference in New Issue
Block a user