1
- From d5286d3fead7ce8c8d7816bb88386c0d02eead04 Mon Sep 17 00:00:00 2001
1
+ From e82f1ec6b3c6f0485089ff4eecc6f16b50be8671 Mon Sep 17 00:00:00 2001
2
2
From: Justsnoopy30 <everettallen30@gmail.com>
3
3
Date: Sun, 16 Feb 2020 16:45:16 -0600
4
4
Subject: [PATCH] Minecraft 1.16 Support
@@ -400,14 +400,14 @@ index aa1515f4..707d93c5 100644
400
400
TO_SERVER.registerPacket(
401
401
Chat.class,
402
402
diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java b/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java
403
- index cd987c8a..1b471c3d 100644
403
+ index cd987c8a..a9105448 100644
404
404
--- a/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java
405
405
+++ b/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java
406
406
@@ -28,6 +28,7 @@ public class ProtocolConstants
407
407
public static final int MINECRAFT_1_15 = 573;
408
408
public static final int MINECRAFT_1_15_1 = 575;
409
409
public static final int MINECRAFT_1_15_2 = 578;
410
- + public static final int MINECRAFT_1_16 = 712 ;
410
+ + public static final int MINECRAFT_1_16 = 713 ;
411
411
public static final List<String> SUPPORTED_VERSIONS = Arrays.asList(
412
412
"1.8.x",
413
413
"1.9.x",
@@ -432,10 +432,18 @@ index cd987c8a..1b471c3d 100644
432
432
433
433
public static final boolean isBeforeOrEq(int before, int other)
434
434
diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/packet/Commands.java b/protocol/src/main/java/net/md_5/bungee/protocol/packet/Commands.java
435
- index 1b0e4474..bdc5cc98 100644
435
+ index 1b0e4474..7235ea87 100644
436
436
--- a/protocol/src/main/java/net/md_5/bungee/protocol/packet/Commands.java
437
437
+++ b/protocol/src/main/java/net/md_5/bungee/protocol/packet/Commands.java
438
- @@ -587,6 +587,7 @@ public class Commands extends DefinedPacket
438
+ @@ -516,6 +516,7 @@ public class Commands extends DefinedPacket
439
+ PROVIDERS.put( "minecraft:entity_summon", VOID );
440
+ PROVIDERS.put( "minecraft:dimension", VOID );
441
+ PROVIDERS.put( "minecraft:time", VOID ); // 1.14
442
+ + PROVIDERS.put( "minecraft:uuid", VOID ); // Minecraft 1.16 20w17a snapshot and up - HyperFall
443
+ }
444
+
445
+ private static ArgumentType<?> read(String key, ByteBuf buf)
446
+ @@ -587,6 +588,7 @@ public class Commands extends DefinedPacket
439
447
registerDummy( "minecraft:all_recipes" );
440
448
registerDummy( "minecraft:available_sounds" );
441
449
registerDummy( "minecraft:summonable_entities" );
0 commit comments