Update to Minecraft 1.14

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2019-04-25 12:00:00 +10:00
parent 5ea2a0e8e4
commit badc255efc
34 changed files with 172 additions and 167 deletions

View File

@@ -52,7 +52,7 @@
public TileEntityHopper() {
super(TileEntityTypes.HOPPER);
this.items = NonNullList.a(5, ItemStack.a);
@@ -159,7 +198,28 @@
@@ -161,7 +200,28 @@
for (int i = 0; i < this.getSize(); ++i) {
if (!this.getItem(i).isEmpty()) {
ItemStack itemstack = this.getItem(i).cloneItemStack();
@@ -82,7 +82,7 @@
if (itemstack1.isEmpty()) {
iinventory.update();
@@ -224,7 +284,34 @@
@@ -226,7 +286,34 @@
if (!itemstack.isEmpty() && b(iinventory, itemstack, i, enumdirection)) {
ItemStack itemstack1 = itemstack.cloneItemStack();
@@ -118,7 +118,7 @@
if (itemstack2.isEmpty()) {
iinventory.update();
@@ -239,6 +326,13 @@
@@ -241,6 +328,13 @@
public static boolean a(IInventory iinventory, EntityItem entityitem) {
boolean flag = false;