Update to Minecraft 1.16.1

This commit is contained in:
md_5
2020-06-25 10:00:00 +10:00
parent be6aaf046e
commit 7ea3c040bc
424 changed files with 5960 additions and 5636 deletions

View File

@@ -1,6 +1,6 @@
--- a/net/minecraft/server/PacketDataSerializer.java
+++ b/net/minecraft/server/PacketDataSerializer.java
@@ -23,6 +23,8 @@
@@ -26,6 +26,8 @@
import java.util.UUID;
import javax.annotation.Nullable;
@@ -9,7 +9,7 @@
public class PacketDataSerializer extends ByteBuf {
private final ByteBuf a;
@@ -130,7 +132,7 @@
@@ -154,7 +156,7 @@
}
public <T extends Enum<T>> T a(Class<T> oclass) {
@@ -18,7 +18,7 @@
}
public PacketDataSerializer a(Enum<?> oenum) {
@@ -207,7 +209,7 @@
@@ -231,7 +233,7 @@
} else {
try {
NBTCompressedStreamTools.a(nbttagcompound, (DataOutput) (new ByteBufOutputStream(this)));
@@ -27,7 +27,7 @@
throw new EncoderException(ioexception);
}
}
@@ -234,7 +236,7 @@
@@ -258,7 +260,7 @@
}
public PacketDataSerializer a(ItemStack itemstack) {
@@ -36,7 +36,7 @@
this.writeBoolean(false);
} else {
this.writeBoolean(true);
@@ -263,6 +265,11 @@
@@ -287,6 +289,11 @@
ItemStack itemstack = new ItemStack(Item.getById(i), b0);
itemstack.setTag(this.l());