From 8b363d3d1fe06f56c9fca97d9807fdb41f64e3cb Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 22 Nov 2021 09:00:00 +1100 Subject: [PATCH] Minecraft 1.18-pre5 support --- api/pom.xml | 4 ++-- bootstrap/pom.xml | 4 ++-- chat/pom.xml | 6 +++--- config/pom.xml | 6 +++--- event/pom.xml | 4 ++-- log/pom.xml | 4 ++-- module/cmd-alert/pom.xml | 4 ++-- module/cmd-find/pom.xml | 4 ++-- module/cmd-list/pom.xml | 4 ++-- module/cmd-send/pom.xml | 4 ++-- module/cmd-server/pom.xml | 4 ++-- module/pom.xml | 4 ++-- module/reconnect-yaml/pom.xml | 4 ++-- native/pom.xml | 4 ++-- pom.xml | 8 ++++---- protocol/pom.xml | 4 ++-- .../net/md_5/bungee/protocol/ProtocolConstants.java | 12 +++++++----- proxy/pom.xml | 6 +++--- query/pom.xml | 4 ++-- slf4j/pom.xml | 4 ++-- 20 files changed, 50 insertions(+), 48 deletions(-) diff --git a/api/pom.xml b/api/pom.xml index e64231f5..a8ed49ed 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -6,13 +6,13 @@ net.md-5 bungeecord-parent - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT ../pom.xml net.md-5 bungeecord-api - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT jar BungeeCord-API diff --git a/bootstrap/pom.xml b/bootstrap/pom.xml index f9dc01f4..c7eabe73 100644 --- a/bootstrap/pom.xml +++ b/bootstrap/pom.xml @@ -6,13 +6,13 @@ net.md-5 bungeecord-parent - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT ../pom.xml net.md-5 bungeecord-bootstrap - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT jar BungeeCord-Bootstrap diff --git a/chat/pom.xml b/chat/pom.xml index fb797b1e..0c244852 100644 --- a/chat/pom.xml +++ b/chat/pom.xml @@ -6,13 +6,13 @@ net.md-5 bungeecord-parent - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT ../pom.xml net.md-5 bungeecord-chat - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT jar BungeeCord-Chat @@ -22,7 +22,7 @@ com.google.code.gson gson - 2.8.0 + 2.8.8 compile diff --git a/config/pom.xml b/config/pom.xml index 88c71b99..a6f34c99 100644 --- a/config/pom.xml +++ b/config/pom.xml @@ -6,13 +6,13 @@ net.md-5 bungeecord-parent - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT ../pom.xml net.md-5 bungeecord-config - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT jar BungeeCord-Config @@ -22,7 +22,7 @@ com.google.code.gson gson - 2.8.0 + 2.8.8 compile true diff --git a/event/pom.xml b/event/pom.xml index 3a9c7634..37320a3b 100644 --- a/event/pom.xml +++ b/event/pom.xml @@ -6,13 +6,13 @@ net.md-5 bungeecord-parent - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT ../pom.xml net.md-5 bungeecord-event - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT jar BungeeCord-Event diff --git a/log/pom.xml b/log/pom.xml index 6d6242e1..28545b92 100644 --- a/log/pom.xml +++ b/log/pom.xml @@ -6,13 +6,13 @@ net.md-5 bungeecord-parent - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT ../pom.xml net.md-5 bungeecord-log - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT jar BungeeCord-Log diff --git a/module/cmd-alert/pom.xml b/module/cmd-alert/pom.xml index 4b3a82ea..dcf93888 100644 --- a/module/cmd-alert/pom.xml +++ b/module/cmd-alert/pom.xml @@ -6,13 +6,13 @@ net.md-5 bungeecord-module - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT ../pom.xml net.md-5 bungeecord-module-cmd-alert - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT jar cmd_alert diff --git a/module/cmd-find/pom.xml b/module/cmd-find/pom.xml index 1c7f2515..59163873 100644 --- a/module/cmd-find/pom.xml +++ b/module/cmd-find/pom.xml @@ -6,13 +6,13 @@ net.md-5 bungeecord-module - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT ../pom.xml net.md-5 bungeecord-module-cmd-find - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT jar cmd_find diff --git a/module/cmd-list/pom.xml b/module/cmd-list/pom.xml index 91fadc2b..23f69747 100644 --- a/module/cmd-list/pom.xml +++ b/module/cmd-list/pom.xml @@ -6,13 +6,13 @@ net.md-5 bungeecord-module - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT ../pom.xml net.md-5 bungeecord-module-cmd-list - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT jar cmd_list diff --git a/module/cmd-send/pom.xml b/module/cmd-send/pom.xml index 30097fc3..db9e4762 100644 --- a/module/cmd-send/pom.xml +++ b/module/cmd-send/pom.xml @@ -6,13 +6,13 @@ net.md-5 bungeecord-module - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT ../pom.xml net.md-5 bungeecord-module-cmd-send - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT jar cmd_send diff --git a/module/cmd-server/pom.xml b/module/cmd-server/pom.xml index d69f1e61..06f55aa8 100644 --- a/module/cmd-server/pom.xml +++ b/module/cmd-server/pom.xml @@ -6,13 +6,13 @@ net.md-5 bungeecord-module - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT ../pom.xml net.md-5 bungeecord-module-cmd-server - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT jar cmd_server diff --git a/module/pom.xml b/module/pom.xml index dbc316dd..32d966a0 100644 --- a/module/pom.xml +++ b/module/pom.xml @@ -6,13 +6,13 @@ net.md-5 bungeecord-parent - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT ../pom.xml net.md-5 bungeecord-module - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT pom BungeeCord Modules diff --git a/module/reconnect-yaml/pom.xml b/module/reconnect-yaml/pom.xml index 8d1df1fd..4bb408fe 100644 --- a/module/reconnect-yaml/pom.xml +++ b/module/reconnect-yaml/pom.xml @@ -6,13 +6,13 @@ net.md-5 bungeecord-module - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT ../pom.xml net.md-5 bungeecord-module-reconnect-yaml - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT jar reconnect_yaml diff --git a/native/pom.xml b/native/pom.xml index f8bacabd..aa62ce2a 100644 --- a/native/pom.xml +++ b/native/pom.xml @@ -6,13 +6,13 @@ net.md-5 bungeecord-parent - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT ../pom.xml net.md-5 bungeecord-native - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT jar BungeeCord-Native diff --git a/pom.xml b/pom.xml index 3a793641..0f4a4570 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ net.md-5 bungeecord-parent - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT pom BungeeCord-Parent @@ -73,7 +73,7 @@ unknown 1.18.20 - 4.1.65.Final + 4.1.70.Final 1.8 1.8 UTF-8 @@ -89,7 +89,7 @@ com.google.guava guava - 21.0 + 31.0.1-jre compile @@ -150,7 +150,7 @@ com.puppycrawl.tools checkstyle - 8.44 + 9.1 diff --git a/protocol/pom.xml b/protocol/pom.xml index f66ca6ca..e7a492f6 100644 --- a/protocol/pom.xml +++ b/protocol/pom.xml @@ -6,13 +6,13 @@ net.md-5 bungeecord-parent - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT ../pom.xml net.md-5 bungeecord-protocol - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT jar BungeeCord-Protocol 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 index 71b2b5bf..cd4965df 100644 --- a/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java +++ b/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java @@ -36,7 +36,7 @@ public class ProtocolConstants public static final int MINECRAFT_1_16_4 = 754; public static final int MINECRAFT_1_17 = 755; public static final int MINECRAFT_1_17_1 = 756; - public static final int MINECRAFT_1_18 = 1073741873; + public static final int MINECRAFT_1_18 = 1073741877; public static final List SUPPORTED_VERSIONS; public static final List SUPPORTED_VERSION_IDS; @@ -52,7 +52,8 @@ public class ProtocolConstants "1.14.x", "1.15.x", "1.16.x", - "1.17.x" + "1.17.x", + "1.18.x" ); ImmutableList.Builder supportedVersionIds = ImmutableList.builder().add( ProtocolConstants.MINECRAFT_1_8, @@ -83,13 +84,14 @@ public class ProtocolConstants ProtocolConstants.MINECRAFT_1_16_3, ProtocolConstants.MINECRAFT_1_16_4, ProtocolConstants.MINECRAFT_1_17, - ProtocolConstants.MINECRAFT_1_17_1 + ProtocolConstants.MINECRAFT_1_17_1, + ProtocolConstants.MINECRAFT_1_18 ); if ( SNAPSHOT_SUPPORT ) { - supportedVersions.add( "1.18.x" ); - supportedVersionIds.add( ProtocolConstants.MINECRAFT_1_18 ); + // supportedVersions.add( "1.18.x" ); + // supportedVersionIds.add( ProtocolConstants.MINECRAFT_1_18 ); } SUPPORTED_VERSIONS = supportedVersions.build(); diff --git a/proxy/pom.xml b/proxy/pom.xml index 0f0af3dc..84ace403 100644 --- a/proxy/pom.xml +++ b/proxy/pom.xml @@ -6,13 +6,13 @@ net.md-5 bungeecord-parent - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT ../pom.xml net.md-5 bungeecord-proxy - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT jar BungeeCord-Proxy @@ -94,7 +94,7 @@ mysql mysql-connector-java - 5.1.49 + 8.0.27 runtime diff --git a/query/pom.xml b/query/pom.xml index 4212899e..9e0c4539 100644 --- a/query/pom.xml +++ b/query/pom.xml @@ -6,13 +6,13 @@ net.md-5 bungeecord-parent - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT ../pom.xml net.md-5 bungeecord-query - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT jar BungeeCord-Query diff --git a/slf4j/pom.xml b/slf4j/pom.xml index fd365ed0..d9495ea7 100644 --- a/slf4j/pom.xml +++ b/slf4j/pom.xml @@ -6,13 +6,13 @@ net.md-5 bungeecord-parent - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT ../pom.xml net.md-5 bungeecord-slf4j - 1.17-R0.1-SNAPSHOT + 1.18-R0.1-SNAPSHOT jar BungeeCord-SLF4J