Update to Minecraft 1.19.4

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2023-03-15 03:30:00 +11:00
parent 90a887a912
commit 40076782ed
227 changed files with 2788 additions and 1621 deletions

View File

@@ -14,9 +14,9 @@
public class ChestBoat extends EntityBoat implements HasCustomInventoryScreen, ContainerEntity {
@@ -218,4 +225,51 @@
public void clearItemStacks() {
this.itemStacks = NonNullList.withSize(this.getContainerSize(), ItemStack.EMPTY);
@@ -237,4 +244,51 @@
public void stopOpen(EntityHuman entityhuman) {
this.level.gameEvent(GameEvent.CONTAINER_CLOSE, this.position(), GameEvent.a.of((Entity) entityhuman));
}
+
+ // CraftBukkit start

View File

@@ -97,7 +97,7 @@
super.push(entity);
}
@@ -276,6 +335,7 @@
@@ -279,6 +338,7 @@
return this.getDirection().getClockWise();
}
@@ -105,7 +105,7 @@
@Override
public void tick() {
this.oldStatus = this.status;
@@ -316,6 +376,22 @@
@@ -319,6 +379,22 @@
this.setDeltaMovement(Vec3D.ZERO);
}
@@ -128,9 +128,9 @@
this.tickBubbleColumn();
for (int i = 0; i <= 1; ++i) {
@@ -823,6 +899,11 @@
@@ -830,6 +906,11 @@
this.causeFallDamage(this.fallDistance, 1.0F, DamageSource.FALL);
this.causeFallDamage(this.fallDistance, 1.0F, this.damageSources().fall());
if (!this.level.isClientSide && !this.isRemoved()) {
+ // CraftBukkit start
+ Vehicle vehicle = (Vehicle) this.getBukkitEntity();
@@ -140,7 +140,7 @@
this.kill();
if (this.level.getGameRules().getBoolean(GameRules.RULE_DOENTITYDROPS)) {
int i;
@@ -836,6 +917,7 @@
@@ -843,6 +924,7 @@
}
}
}

View File

@@ -1,6 +1,6 @@
--- a/net/minecraft/world/entity/vehicle/EntityMinecartTNT.java
+++ b/net/minecraft/world/entity/vehicle/EntityMinecartTNT.java
@@ -22,6 +22,10 @@
@@ -23,6 +23,10 @@
import net.minecraft.world.level.block.state.IBlockData;
import net.minecraft.world.level.material.Fluid;
@@ -11,7 +11,7 @@
public class EntityMinecartTNT extends EntityMinecartAbstract {
private static final byte EVENT_PRIME = 10;
@@ -114,7 +118,15 @@
@@ -115,7 +119,15 @@
d1 = 5.0D;
}