Mappings Update

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2018-12-26 08:00:00 +11:00
parent 239b2828db
commit d7e312278d
120 changed files with 878 additions and 1619 deletions

View File

@@ -1,6 +1,6 @@
--- a/net/minecraft/server/TileEntityHopper.java
+++ b/net/minecraft/server/TileEntityHopper.java
@@ -7,12 +7,46 @@
@@ -6,12 +6,46 @@
import java.util.stream.Collectors;
import javax.annotation.Nullable;
@@ -47,7 +47,7 @@
public TileEntityHopper() {
super(TileEntityTypes.HOPPER);
this.items = NonNullList.a(5, ItemStack.a);
@@ -72,7 +106,7 @@
@@ -71,7 +105,7 @@
}
public int getMaxStackSize() {
@@ -56,7 +56,7 @@
}
public void tick() {
@@ -165,7 +199,28 @@
@@ -164,7 +198,28 @@
for (int i = 0; i < this.getSize(); ++i) {
if (!this.getItem(i).isEmpty()) {
ItemStack itemstack = this.getItem(i).cloneItemStack();
@@ -86,7 +86,7 @@
if (itemstack1.isEmpty()) {
iinventory.update();
@@ -290,7 +345,34 @@
@@ -289,7 +344,34 @@
if (!itemstack.isEmpty() && b(iinventory, itemstack, i, enumdirection)) {
ItemStack itemstack1 = itemstack.cloneItemStack();
@@ -122,7 +122,7 @@
if (itemstack2.isEmpty()) {
iinventory.update();
@@ -305,6 +387,13 @@
@@ -304,6 +386,13 @@
public static boolean a(IInventory iinventory, EntityItem entityitem) {
boolean flag = false;