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

@@ -1,8 +1,8 @@
--- a/net/minecraft/world/IInventory.java
+++ b/net/minecraft/world/IInventory.java
@@ -6,6 +6,11 @@
import net.minecraft.world.item.Item;
import net.minecraft.world.item.ItemStack;
@@ -9,6 +9,11 @@
import net.minecraft.world.level.World;
import net.minecraft.world.level.block.entity.TileEntity;
+// CraftBukkit start
+import net.minecraft.world.item.crafting.IRecipe;
@@ -12,7 +12,7 @@
public interface IInventory extends Clearable {
int LARGE_MAX_STACK_SIZE = 64;
@@ -22,9 +27,7 @@
@@ -26,9 +31,7 @@
void setItem(int i, ItemStack itemstack);
@@ -23,9 +23,9 @@
void setChanged();
@@ -69,4 +72,29 @@
@@ -88,4 +91,29 @@
return false;
return world == null ? false : (world.getBlockEntity(blockposition) != tileentity ? false : entityhuman.distanceToSqr((double) blockposition.getX() + 0.5D, (double) blockposition.getY() + 0.5D, (double) blockposition.getZ() + 0.5D) <= (double) (i * i));
}
+
+ // CraftBukkit start