From 752d0c881e1145474c4df6c7703e74a307d58f9e Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Thu, 21 Jul 2022 14:18:12 +0900 Subject: [PATCH] Bump network protocol version, version to 1.18.7 --- Changelog.md | 5 +++++ build.gradle | 2 +- .../TurnBasedMinecraft/common/TurnBasedMinecraftMod.java | 4 ++-- src/main/resources/META-INF/mods.toml | 2 +- src/main/resources/mcmod.info | 2 +- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Changelog.md b/Changelog.md index dea6f8c..1f7a261 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,10 @@ # Upcoming changes +# Version 1.18.7 + +Incremented network channel's protocol version to 2, because a packet's format +was changed in the previous version. + # Version 1.18.6 Add server config option to disable the turn timer (recommended to not disable diff --git a/build.gradle b/build.gradle index 599d054..614b3fd 100644 --- a/build.gradle +++ b/build.gradle @@ -14,7 +14,7 @@ apply plugin: 'net.minecraftforge.gradle' //apply plugin: 'eclipse' //apply plugin: 'maven-publish' -version = "1.18.6" +version = "1.18.7" group = "com.burnedkirby.TurnBasedMinecraft" archivesBaseName = "TurnBasedMinecraft" diff --git a/src/main/java/com/burnedkirby/TurnBasedMinecraft/common/TurnBasedMinecraftMod.java b/src/main/java/com/burnedkirby/TurnBasedMinecraft/common/TurnBasedMinecraftMod.java index 3fb5501..b8eb937 100644 --- a/src/main/java/com/burnedkirby/TurnBasedMinecraft/common/TurnBasedMinecraftMod.java +++ b/src/main/java/com/burnedkirby/TurnBasedMinecraft/common/TurnBasedMinecraftMod.java @@ -38,7 +38,7 @@ import org.apache.logging.log4j.Logger; public class TurnBasedMinecraftMod { public static final String MODID = "com_burnedkirby_turnbasedminecraft"; public static final String NAME = "Turn Based Minecraft Mod"; - public static final String VERSION = "1.18.6"; + public static final String VERSION = "1.18.7"; public static final String CONFIG_FILENAME = "TBM_Config.toml"; public static final String DEFAULT_CONFIG_FILENAME = "TBM_Config_DEFAULT.toml"; public static final String CONFIG_DIRECTORY = "config/TurnBasedMinecraft/"; @@ -49,7 +49,7 @@ public class TurnBasedMinecraftMod { public static final String MUSIC_SILLY = MUSIC_ROOT + "silly/"; public static final String MUSIC_BATTLE = MUSIC_ROOT + "battle/"; - private static final String PROTOCOL_VERSION = Integer.toString(1); + private static final String PROTOCOL_VERSION = Integer.toString(2); private static final ResourceLocation HANDLER_ID = new ResourceLocation(MODID, "main_channel"); private static final SimpleChannel HANDLER = NetworkRegistry.ChannelBuilder .named(HANDLER_ID) diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index b2f3cee..a601b02 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -15,7 +15,7 @@ license="MIT" # The modid of the mod modId="com_burnedkirby_turnbasedminecraft" #mandatory # The version number of the mod - there's a few well known ${} variables useable here or just hardcode it -version="1.18.6" #mandatory +version="1.18.7" #mandatory # A display name for the mod displayName="TurnBasedMinecraftMod" #mandatory # A URL to query for updates for this mod. See the JSON update specification diff --git a/src/main/resources/mcmod.info b/src/main/resources/mcmod.info index c877896..5f6a17f 100644 --- a/src/main/resources/mcmod.info +++ b/src/main/resources/mcmod.info @@ -3,7 +3,7 @@ "modid": "com_burnedkirby_turnbasedminecraft", "name": "Turn Based Minecraft", "description": "Changes battles to be turn-based.", - "version": "1.18.6", + "version": "1.18.7", "mcversion": "1.18.2", "url": "", "updateUrl": "",