@@ -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
|
||||
|
||||
Reference in New Issue
Block a user