Update to Minecraft 1.20.3

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2023-12-06 03:40:00 +11:00
parent afdb1d9bc3
commit 8398e12b34
256 changed files with 2745 additions and 1911 deletions

View File

@@ -20,7 +20,7 @@
private static final DataWatcherObject<BlockPosition> TREASURE_POS = DataWatcher.defineId(EntityDolphin.class, DataWatcherRegistry.BLOCK_POS);
private static final DataWatcherObject<Boolean> GOT_FISH = DataWatcher.defineId(EntityDolphin.class, DataWatcherRegistry.BOOLEAN);
private static final DataWatcherObject<Integer> MOISTNESS_LEVEL = DataWatcher.defineId(EntityDolphin.class, DataWatcherRegistry.INT);
@@ -190,7 +201,7 @@
@@ -185,7 +196,7 @@
@Override
public int getMaxAirSupply() {
@@ -29,7 +29,7 @@
}
@Override
@@ -231,6 +242,12 @@
@@ -226,6 +237,12 @@
ItemStack itemstack = entityitem.getItem();
if (this.canHoldItem(itemstack)) {
@@ -42,7 +42,7 @@
this.onItemPickup(entityitem);
this.setItemSlot(EnumItemSlot.MAINHAND, itemstack);
this.setGuaranteedDrop(EnumItemSlot.MAINHAND);
@@ -489,7 +506,7 @@
@@ -484,7 +501,7 @@
@Override
public void start() {
@@ -51,7 +51,7 @@
}
@Override
@@ -508,7 +525,7 @@
@@ -503,7 +520,7 @@
}
if (this.player.isSwimming() && this.player.level().random.nextInt(6) == 0) {