@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/world/entity/ambient/EntityBat.java
|
||||
+++ b/net/minecraft/world/entity/ambient/EntityBat.java
|
||||
@@ -29,6 +29,10 @@
|
||||
@@ -27,6 +27,10 @@
|
||||
import net.minecraft.world.level.block.state.IBlockData;
|
||||
import net.minecraft.world.phys.Vec3D;
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
public class EntityBat extends EntityAmbient {
|
||||
|
||||
public static final float FLAP_LENGTH_SECONDS = 0.5F;
|
||||
@@ -143,13 +147,13 @@
|
||||
@@ -141,13 +145,13 @@
|
||||
this.yHeadRot = (float) this.random.nextInt(360);
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
this.setResting(false);
|
||||
if (!flag) {
|
||||
this.level().levelEvent((EntityHuman) null, 1025, blockposition, 0);
|
||||
@@ -176,7 +180,7 @@
|
||||
@@ -174,7 +178,7 @@
|
||||
|
||||
this.zza = 0.5F;
|
||||
this.setYRot(this.getYRot() + f1);
|
||||
@@ -36,7 +36,7 @@
|
||||
this.setResting(true);
|
||||
}
|
||||
}
|
||||
@@ -201,7 +205,7 @@
|
||||
@@ -199,7 +203,7 @@
|
||||
if (this.isInvulnerableTo(damagesource)) {
|
||||
return false;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user