1
- From 1e198f819634712bef38f56906a2916d86f3b784 Mon Sep 17 00:00:00 2001
1
+ From 54dbe2548fcefd9a7aa9149159d93d6fe8675e14 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
@@ -338,7 +338,7 @@ index 0c51b315..53f48f3f 100644
338
338
339
339
<name>HyperFall-Protocol</name>
340
340
diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/Protocol.java b/protocol/src/main/java/net/md_5/bungee/protocol/Protocol.java
341
- index aa1515f4..5e1399a6 100644
341
+ index aa1515f4..7684e514 100644
342
342
--- a/protocol/src/main/java/net/md_5/bungee/protocol/Protocol.java
343
343
+++ b/protocol/src/main/java/net/md_5/bungee/protocol/Protocol.java
344
344
@@ -105,6 +105,7 @@ public enum Protocol
@@ -349,6 +349,46 @@ index aa1515f4..5e1399a6 100644
349
349
);
350
350
// Waterfall start
351
351
TO_CLIENT.registerPacket(
352
+ @@ -158,7 +159,8 @@ public enum Protocol
353
+ map( ProtocolConstants.MINECRAFT_1_12_1, 0x42 ),
354
+ map( ProtocolConstants.MINECRAFT_1_13, 0x45 ),
355
+ map( ProtocolConstants.MINECRAFT_1_14, 0x49 ),
356
+ - map( ProtocolConstants.MINECRAFT_1_15, 0x4A )
357
+ + map( ProtocolConstants.MINECRAFT_1_15, 0x4A ),
358
+ + map( ProtocolConstants.MINECRAFT_1_15, 0x4B )
359
+ );
360
+ TO_CLIENT.registerPacket(
361
+ ScoreboardScore.class,
362
+ @@ -169,7 +171,8 @@ public enum Protocol
363
+ map( ProtocolConstants.MINECRAFT_1_12_1, 0x45 ),
364
+ map( ProtocolConstants.MINECRAFT_1_13, 0x48 ),
365
+ map( ProtocolConstants.MINECRAFT_1_14, 0x4C ),
366
+ - map( ProtocolConstants.MINECRAFT_1_15, 0x4D )
367
+ + map( ProtocolConstants.MINECRAFT_1_15, 0x4D ),
368
+ + map( ProtocolConstants.MINECRAFT_1_16, 0x4E )
369
+ );
370
+ TO_CLIENT.registerPacket(
371
+ ScoreboardDisplay.class,
372
+ @@ -180,7 +183,8 @@ public enum Protocol
373
+ map( ProtocolConstants.MINECRAFT_1_12_1, 0x3B ),
374
+ map( ProtocolConstants.MINECRAFT_1_13, 0x3E ),
375
+ map( ProtocolConstants.MINECRAFT_1_14, 0x42 ),
376
+ - map( ProtocolConstants.MINECRAFT_1_15, 0x43 )
377
+ + map( ProtocolConstants.MINECRAFT_1_15, 0x43 ),
378
+ + map( ProtocolConstants.MINECRAFT_1_16, 0x44 )
379
+ );
380
+ TO_CLIENT.registerPacket(
381
+ Team.class,
382
+ @@ -191,7 +195,8 @@ public enum Protocol
383
+ map( ProtocolConstants.MINECRAFT_1_12_1, 0x44 ),
384
+ map( ProtocolConstants.MINECRAFT_1_13, 0x47 ),
385
+ map( ProtocolConstants.MINECRAFT_1_14, 0x4B ),
386
+ - map( ProtocolConstants.MINECRAFT_1_15, 0x4C )
387
+ + map( ProtocolConstants.MINECRAFT_1_15, 0x4C ),
388
+ + map( ProtocolConstants.MINECRAFT_1_16, 0x4D )
389
+ );
390
+ TO_CLIENT.registerPacket(
391
+ PluginMessage.class,
352
392
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
353
393
index cd987c8a..9fa666a2 100644
354
394
--- a/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java
0 commit comments