Update to Minecraft 1.20.5

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2024-04-24 01:15:00 +10:00
parent 4deda9501f
commit 65bc2541a3
524 changed files with 7788 additions and 6181 deletions

View File

@@ -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 {