From 779ba9c8b490e5d281cbaec885da6c6d47d96aac Mon Sep 17 00:00:00 2001 From: itqop Date: Mon, 21 Oct 2024 11:31:59 +0300 Subject: [PATCH] Rename class name and fix CHANGELOG dates --- CHANGELOG | 11 +++++++++-- gradle.properties | 2 +- .../org/itqop/chatit/{Chatit.java => ChatIT.java} | 6 +++--- src/main/java/org/itqop/chatit/utils/Config.java | 4 ++-- 4 files changed, 15 insertions(+), 8 deletions(-) rename src/main/java/org/itqop/chatit/{Chatit.java => ChatIT.java} (94%) diff --git a/CHANGELOG b/CHANGELOG index 90afc1c..4e5a3f2 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -4,7 +4,14 @@ Формат основан на [Keep a Changelog](https://keepachangelog.com/ru/1.0.0/), и этот проект придерживается [Семантического Версионирования](https://semver.org/lang/ru/). -## [0.1.1] - 2023-10-25 +## [0.1.2] - 2024-10-21 + +### Изменено + +- **Название мода**: + - Переименован мод с `Chatit` на `ChatIT` для согласованности и улучшения брендинга. + +## [0.1.1] - 2024-10-21 ### Изменено @@ -17,7 +24,7 @@ - **Чистый код**: - Удалены все комментарии из кода для повышения читаемости и поддерживаемости. -## [0.1.0] - 2023-10-25 +## [0.1.0] - 2024-10-21 ### Добавлено diff --git a/gradle.properties b/gradle.properties index ba4bb7f..85f28c2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -38,7 +38,7 @@ mod_name=ChatIT # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=All Rights Reserved # The mod version. See https://semver.org/ -mod_version=0.1.1-BETA +mod_version=0.1.2-BETA # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # This should match the base package used for the mod sources. # See https://maven.apache.org/guides/mini/guide-naming-conventions.html diff --git a/src/main/java/org/itqop/chatit/Chatit.java b/src/main/java/org/itqop/chatit/ChatIT.java similarity index 94% rename from src/main/java/org/itqop/chatit/Chatit.java rename to src/main/java/org/itqop/chatit/ChatIT.java index 3cc4a0a..9b86472 100644 --- a/src/main/java/org/itqop/chatit/Chatit.java +++ b/src/main/java/org/itqop/chatit/ChatIT.java @@ -13,13 +13,13 @@ import org.itqop.chatit.utils.Config; import org.itqop.chatit.utils.PlayerConfigManager; import org.slf4j.Logger; -@Mod(Chatit.MODID) -public class Chatit { +@Mod(ChatIT.MODID) +public class ChatIT { public static final String MODID = "chatit"; private static final Logger LOGGER = LogUtils.getLogger(); - public Chatit() { + public ChatIT() { MinecraftForge.EVENT_BUS.register(this); MinecraftForge.EVENT_BUS.register(ChatEventHandler.class); MinecraftForge.EVENT_BUS.register(ChatitCommand.class); diff --git a/src/main/java/org/itqop/chatit/utils/Config.java b/src/main/java/org/itqop/chatit/utils/Config.java index 8883729..9b20ef0 100644 --- a/src/main/java/org/itqop/chatit/utils/Config.java +++ b/src/main/java/org/itqop/chatit/utils/Config.java @@ -4,9 +4,9 @@ import net.minecraftforge.common.ForgeConfigSpec; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.event.config.ModConfigEvent; -import org.itqop.chatit.Chatit; +import org.itqop.chatit.ChatIT; -@Mod.EventBusSubscriber(modid = Chatit.MODID, bus = Mod.EventBusSubscriber.Bus.MOD) +@Mod.EventBusSubscriber(modid = ChatIT.MODID, bus = Mod.EventBusSubscriber.Bus.MOD) public class Config { private static final ForgeConfigSpec.Builder BUILDER = new ForgeConfigSpec.Builder();