From adddcca7cee9e834fa7a8769f4a1fef9dd87f102 Mon Sep 17 00:00:00 2001 From: FlorianMichael <60033407+FlorianMichael@users.noreply.github.com> Date: Thu, 2 Nov 2023 08:37:22 +0100 Subject: [PATCH] Deleted base package, moved some classes --- .../viafabricplus/ViaFabricPlus.java | 10 +++++----- .../{boat => }/BoatRenderer_1_8.java | 3 ++- .../definition/ClientsideFixes.java | 6 +++--- .../account/ClassiCubeAccountHandler.java | 2 +- .../authlib/KeyPairResponse1_19_0.java | 17 ----------------- .../CustomClassicProtocolExtensions.java | 4 ++-- .../screen/ClassicItemSelectionScreen.java | 6 +++--- .../{boat => model}/BoatModel_1_8.java | 2 +- .../{ => model}/BuiltinEmptyGlyph1_12_2.java | 2 +- .../KeyPairResponse1_19_0.java} | 19 ++++++++++++++----- .../{bedrock => }/JoinGameTracker.java | 2 +- .../event/ChangeProtocolVersionCallback.java | 2 +- .../event/DisconnectConnectionCallback.java | 2 +- .../event/FinishMinecraftLoadCallback.java | 2 +- .../FinishViaVersionStartupCallback.java | 2 +- .../event/InitializeSettingsCallback.java | 2 +- .../LoadClassicProtocolExtensionCallback.java | 2 +- .../{base => }/event/PreLoadCallback.java | 2 +- .../information/impl/BedrockInformation.java | 2 +- .../mixin/base/MixinAddServerScreen.java | 4 ++-- .../mixin/base/MixinClientConnection.java | 4 ++-- .../mixin/base/MixinConnectScreen_1.java | 2 +- .../injection/mixin/base/MixinDebugHud.java | 2 +- ...nloadingTerrainScreenAndConnectScreen.java | 2 +- .../mixin/base/MixinMinecraftClient.java | 4 ++-- .../mixin/base/MixinMultiplayerScreen.java | 4 ++-- ...ltiplayerServerListWidget_ServerEntry.java | 2 +- .../mixin/base/MixinOptionsScreen.java | 2 +- .../mixin/base/MixinSharedConstants.java | 2 +- .../compat/sodium/MixinChunkTracker.java | 2 +- .../authlib/MixinYggdrasilUserApiService.java | 2 +- .../minecraft/MixinBipedEntityModel.java | 2 +- .../mixin/fixes/minecraft/MixinCamera.java | 2 +- .../fixes/minecraft/MixinFontStorage.java | 5 ++--- .../mixin/fixes/minecraft/MixinInGameHud.java | 2 +- .../fixes/minecraft/MixinItemRenderer.java | 2 +- .../fixes/minecraft/MixinMinecraftClient.java | 2 +- .../minecraft/MixinPendingUpdateManager.java | 2 +- .../minecraft/block/MixinAbstractBlock.java | 2 +- .../minecraft/entity/MixinBoatEntity.java | 2 +- .../entity/MixinClientPlayerEntity.java | 4 ++-- .../minecraft/entity/MixinEntityModels.java | 2 +- .../entity/MixinEntityRenderDispatcher.java | 4 ++-- .../minecraft/entity/MixinLivingEntity.java | 2 +- .../minecraft/entity/MixinPlayerEntity.java | 2 +- .../fixes/minecraft/input/MixinKeyboard.java | 3 +-- .../fixes/minecraft/input/MixinMouse.java | 2 +- .../minecraft/item/MixinHeldItemRenderer.java | 2 +- .../item/MixinItemCooldownManager.java | 2 +- .../item/MixinItemGroup_EntriesImpl.java | 2 +- .../fixes/minecraft/item/MixinItemGroups.java | 2 +- .../fixes/minecraft/item/MixinItemStack.java | 4 +--- .../MixinClientPlayNetworkHandler.java | 6 +----- .../fixes/minecraft/screen/MixinChatHud.java | 2 +- .../minecraft/screen/MixinChatScreen.java | 2 +- .../screen/MixinCommandBlockScreen.java | 2 +- .../screen/MixinConnectScreen_1.java | 2 +- .../screen/MixinCreativeInventoryScreen.java | 4 ++-- .../screen/MixinJigsawBlockScreen.java | 3 +-- .../screen/merchant/MixinMerchantScreen.java | 2 +- .../viabedrock/MixinBedrockProtocol.java | 2 +- .../fixes/viabedrock/MixinJoinPackets.java | 2 +- ...MixinExtensionProtocolMetadataStorage.java | 2 +- .../MixinProtocolc0_30toc0_30cpe.java | 7 +++---- .../fixes/vialegacy/MixinViaLegacyConfig.java | 2 +- .../mappings/ItemReleaseVersionMappings.java | 2 +- .../protocolhack/ProtocolHack.java | 4 ++-- .../impl/ViaFabricPlusVLViaConfig.java | 2 +- .../viaversion/ViaFabricPlusViaDecoder.java | 2 +- .../ViaFabricPlusTransferProvider.java | 2 +- .../ViaFabricPlusClassicMPPassProvider.java | 2 +- .../ViaFabricPlusOldAuthProvider.java | 3 +-- .../ViaFabricPlusBaseVersionProvider.java | 2 +- .../util}/ViaJarReplacer.java | 2 +- .../{base => }/screen/MappedSlotEntry.java | 2 +- .../{base => }/screen/VFPScreen.java | 2 +- .../BetaCraftScreen.java | 6 +++--- .../classicube/ClassiCubeLoginScreen.java | 6 +++--- .../classicube/ClassiCubeMFAScreen.java | 6 +++--- .../ClassiCubeServerListScreen.java | 10 +++++----- .../{base => common}/ForceVersionScreen.java | 4 ++-- .../ProtocolSelectionScreen.java | 12 +++++------- .../screen/settings/SettingsScreen.java | 8 ++++---- .../BooleanSettingRenderer.java | 4 ++-- .../ButtonSettingRenderer.java | 4 ++-- .../settingrenderer/ModeSettingRenderer.java | 4 ++-- .../ProtocolSyncBooleanSettingRenderer.java | 4 ++-- .../settingrenderer/meta/TitleRenderer.java | 2 +- .../base => settings}/AbstractSetting.java | 4 ++-- .../base => settings}/SettingGroup.java | 4 +++- .../{base => }/settings/SettingsSystem.java | 8 +++----- .../impl}/AuthenticationSettings.java | 6 +++--- .../impl}/BedrockSettings.java | 8 ++++---- .../impl}/DebugSettings.java | 10 +++------- .../impl}/ExperimentalSettings.java | 6 +++--- .../impl}/GeneralSettings.java | 8 ++++---- .../impl}/VisualSettings.java | 6 +++--- .../type}/BooleanSetting.java | 8 ++++---- .../type}/ButtonSetting.java | 8 ++++---- .../type}/ModeSetting.java | 8 ++++---- .../type}/ProtocolSyncBooleanSetting.java | 8 ++++---- 101 files changed, 187 insertions(+), 211 deletions(-) rename src/main/java/de/florianmichael/viafabricplus/definition/{boat => }/BoatRenderer_1_8.java (96%) delete mode 100644 src/main/java/de/florianmichael/viafabricplus/definition/authlib/KeyPairResponse1_19_0.java rename src/main/java/de/florianmichael/viafabricplus/{ => definition/classic}/screen/ClassicItemSelectionScreen.java (97%) rename src/main/java/de/florianmichael/viafabricplus/definition/{boat => model}/BoatModel_1_8.java (98%) rename src/main/java/de/florianmichael/viafabricplus/definition/{ => model}/BuiltinEmptyGlyph1_12_2.java (97%) rename src/main/java/de/florianmichael/viafabricplus/definition/{classic/model/WeatherTypes.java => model/KeyPairResponse1_19_0.java} (62%) rename src/main/java/de/florianmichael/viafabricplus/definition/tracker/{bedrock => }/JoinGameTracker.java (95%) rename src/main/java/de/florianmichael/viafabricplus/{base => }/event/ChangeProtocolVersionCallback.java (96%) rename src/main/java/de/florianmichael/viafabricplus/{base => }/event/DisconnectConnectionCallback.java (96%) rename src/main/java/de/florianmichael/viafabricplus/{base => }/event/FinishMinecraftLoadCallback.java (96%) rename src/main/java/de/florianmichael/viafabricplus/{base => }/event/FinishViaVersionStartupCallback.java (96%) rename src/main/java/de/florianmichael/viafabricplus/{base => }/event/InitializeSettingsCallback.java (96%) rename src/main/java/de/florianmichael/viafabricplus/{base => }/event/LoadClassicProtocolExtensionCallback.java (96%) rename src/main/java/de/florianmichael/viafabricplus/{base => }/event/PreLoadCallback.java (95%) rename src/main/java/de/florianmichael/viafabricplus/{base => protocolhack/util}/ViaJarReplacer.java (97%) rename src/main/java/de/florianmichael/viafabricplus/{base => }/screen/MappedSlotEntry.java (98%) rename src/main/java/de/florianmichael/viafabricplus/{base => }/screen/VFPScreen.java (99%) rename src/main/java/de/florianmichael/viafabricplus/screen/{thirdparty => classic4j}/BetaCraftScreen.java (96%) rename src/main/java/de/florianmichael/viafabricplus/screen/{thirdparty => classic4j}/classicube/ClassiCubeLoginScreen.java (95%) rename src/main/java/de/florianmichael/viafabricplus/screen/{thirdparty => classic4j}/classicube/ClassiCubeMFAScreen.java (94%) rename src/main/java/de/florianmichael/viafabricplus/screen/{thirdparty => classic4j}/classicube/ClassiCubeServerListScreen.java (95%) rename src/main/java/de/florianmichael/viafabricplus/screen/{base => common}/ForceVersionScreen.java (97%) rename src/main/java/de/florianmichael/viafabricplus/screen/{base => common}/ProtocolSelectionScreen.java (94%) rename src/main/java/de/florianmichael/viafabricplus/{base/settings/base => settings}/AbstractSetting.java (94%) rename src/main/java/de/florianmichael/viafabricplus/{base/settings/base => settings}/SettingGroup.java (93%) rename src/main/java/de/florianmichael/viafabricplus/{base => }/settings/SettingsSystem.java (89%) rename src/main/java/de/florianmichael/viafabricplus/{base/settings/groups => settings/impl}/AuthenticationSettings.java (90%) rename src/main/java/de/florianmichael/viafabricplus/{base/settings/groups => settings/impl}/BedrockSettings.java (94%) rename src/main/java/de/florianmichael/viafabricplus/{base/settings/groups => settings/impl}/DebugSettings.java (89%) rename src/main/java/de/florianmichael/viafabricplus/{base/settings/groups => settings/impl}/ExperimentalSettings.java (87%) rename src/main/java/de/florianmichael/viafabricplus/{base/settings/groups => settings/impl}/GeneralSettings.java (91%) rename src/main/java/de/florianmichael/viafabricplus/{base/settings/groups => settings/impl}/VisualSettings.java (94%) rename src/main/java/de/florianmichael/viafabricplus/{base/settings/type_impl => settings/type}/BooleanSetting.java (85%) rename src/main/java/de/florianmichael/viafabricplus/{base/settings/type_impl => settings/type}/ButtonSetting.java (84%) rename src/main/java/de/florianmichael/viafabricplus/{base/settings/type_impl => settings/type}/ModeSetting.java (88%) rename src/main/java/de/florianmichael/viafabricplus/{base/settings/type_impl => settings/type}/ProtocolSyncBooleanSetting.java (90%) diff --git a/src/main/java/de/florianmichael/viafabricplus/ViaFabricPlus.java b/src/main/java/de/florianmichael/viafabricplus/ViaFabricPlus.java index 3aaf38cf..f4776baa 100644 --- a/src/main/java/de/florianmichael/viafabricplus/ViaFabricPlus.java +++ b/src/main/java/de/florianmichael/viafabricplus/ViaFabricPlus.java @@ -19,10 +19,10 @@ package de.florianmichael.viafabricplus; import com.google.gson.Gson; import com.google.gson.GsonBuilder; -import de.florianmichael.viafabricplus.base.ViaJarReplacer; -import de.florianmichael.viafabricplus.base.event.FinishMinecraftLoadCallback; -import de.florianmichael.viafabricplus.base.event.PreLoadCallback; -import de.florianmichael.viafabricplus.base.settings.SettingsSystem; +import de.florianmichael.viafabricplus.protocolhack.util.ViaJarReplacer; +import de.florianmichael.viafabricplus.event.FinishMinecraftLoadCallback; +import de.florianmichael.viafabricplus.event.PreLoadCallback; +import de.florianmichael.viafabricplus.settings.SettingsSystem; import de.florianmichael.viafabricplus.definition.ClientsideFixes; import de.florianmichael.viafabricplus.definition.account.BedrockAccountHandler; import de.florianmichael.viafabricplus.definition.account.ClassiCubeAccountHandler; @@ -32,7 +32,7 @@ import de.florianmichael.viafabricplus.mappings.CharacterMappings; import de.florianmichael.viafabricplus.mappings.ItemReleaseVersionMappings; import de.florianmichael.viafabricplus.mappings.PackFormatsMappings; import de.florianmichael.viafabricplus.protocolhack.ProtocolHack; -import de.florianmichael.viafabricplus.screen.ClassicItemSelectionScreen; +import de.florianmichael.viafabricplus.definition.classic.screen.ClassicItemSelectionScreen; import net.raphimc.vialoader.util.VersionEnum; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; diff --git a/src/main/java/de/florianmichael/viafabricplus/definition/boat/BoatRenderer_1_8.java b/src/main/java/de/florianmichael/viafabricplus/definition/BoatRenderer_1_8.java similarity index 96% rename from src/main/java/de/florianmichael/viafabricplus/definition/boat/BoatRenderer_1_8.java rename to src/main/java/de/florianmichael/viafabricplus/definition/BoatRenderer_1_8.java index a5823cae..c5170d21 100644 --- a/src/main/java/de/florianmichael/viafabricplus/definition/boat/BoatRenderer_1_8.java +++ b/src/main/java/de/florianmichael/viafabricplus/definition/BoatRenderer_1_8.java @@ -15,8 +15,9 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.definition.boat; +package de.florianmichael.viafabricplus.definition; +import de.florianmichael.viafabricplus.definition.model.BoatModel_1_8; import net.minecraft.client.render.OverlayTexture; import net.minecraft.client.render.VertexConsumer; import net.minecraft.client.render.VertexConsumerProvider; diff --git a/src/main/java/de/florianmichael/viafabricplus/definition/ClientsideFixes.java b/src/main/java/de/florianmichael/viafabricplus/definition/ClientsideFixes.java index 735f6e87..4a13c906 100644 --- a/src/main/java/de/florianmichael/viafabricplus/definition/ClientsideFixes.java +++ b/src/main/java/de/florianmichael/viafabricplus/definition/ClientsideFixes.java @@ -19,9 +19,9 @@ package de.florianmichael.viafabricplus.definition; import com.mojang.blaze3d.systems.RenderSystem; import com.viaversion.viaversion.protocols.protocol1_9to1_8.ArmorType; -import de.florianmichael.viafabricplus.base.event.ChangeProtocolVersionCallback; -import de.florianmichael.viafabricplus.base.event.FinishMinecraftLoadCallback; -import de.florianmichael.viafabricplus.base.event.LoadClassicProtocolExtensionCallback; +import de.florianmichael.viafabricplus.event.ChangeProtocolVersionCallback; +import de.florianmichael.viafabricplus.event.FinishMinecraftLoadCallback; +import de.florianmichael.viafabricplus.event.LoadClassicProtocolExtensionCallback; import de.florianmichael.viafabricplus.injection.MixinPlugin; import de.florianmichael.viafabricplus.injection.access.IFontStorage; import net.minecraft.block.Block; diff --git a/src/main/java/de/florianmichael/viafabricplus/definition/account/ClassiCubeAccountHandler.java b/src/main/java/de/florianmichael/viafabricplus/definition/account/ClassiCubeAccountHandler.java index d20b7bdd..4384d3a0 100644 --- a/src/main/java/de/florianmichael/viafabricplus/definition/account/ClassiCubeAccountHandler.java +++ b/src/main/java/de/florianmichael/viafabricplus/definition/account/ClassiCubeAccountHandler.java @@ -19,7 +19,7 @@ package de.florianmichael.viafabricplus.definition.account; import com.google.gson.JsonObject; import de.florianmichael.classic4j.model.classicube.account.CCAccount; -import de.florianmichael.viafabricplus.base.event.DisconnectConnectionCallback; +import de.florianmichael.viafabricplus.event.DisconnectConnectionCallback; import de.florianmichael.viafabricplus.protocolhack.provider.vialegacy.ViaFabricPlusClassicMPPassProvider; import de.florianmichael.viafabricplus.util.FileSaver; diff --git a/src/main/java/de/florianmichael/viafabricplus/definition/authlib/KeyPairResponse1_19_0.java b/src/main/java/de/florianmichael/viafabricplus/definition/authlib/KeyPairResponse1_19_0.java deleted file mode 100644 index 574df037..00000000 --- a/src/main/java/de/florianmichael/viafabricplus/definition/authlib/KeyPairResponse1_19_0.java +++ /dev/null @@ -1,17 +0,0 @@ -package de.florianmichael.viafabricplus.definition.authlib; - -import com.mojang.authlib.yggdrasil.response.KeyPairResponse; - -import java.nio.ByteBuffer; - -/* -This library is part of the AuthLib, we are overwriting this class to add a new field. - */ - -public record KeyPairResponse1_19_0( - KeyPairResponse.KeyPair keyPair, - ByteBuffer publicKeySignatureV2, - ByteBuffer publicKeySignature /* removed in 1.20-rc1 */, - String expiresAt, - String refreshedAfter) { -} diff --git a/src/main/java/de/florianmichael/viafabricplus/definition/classic/CustomClassicProtocolExtensions.java b/src/main/java/de/florianmichael/viafabricplus/definition/classic/CustomClassicProtocolExtensions.java index f16db8ab..ac84dc4b 100644 --- a/src/main/java/de/florianmichael/viafabricplus/definition/classic/CustomClassicProtocolExtensions.java +++ b/src/main/java/de/florianmichael/viafabricplus/definition/classic/CustomClassicProtocolExtensions.java @@ -18,8 +18,8 @@ package de.florianmichael.viafabricplus.definition.classic; import com.viaversion.viaversion.api.connection.UserConnection; -import de.florianmichael.viafabricplus.screen.ClassicItemSelectionScreen; -import de.florianmichael.viafabricplus.base.event.LoadClassicProtocolExtensionCallback; +import de.florianmichael.viafabricplus.definition.classic.screen.ClassicItemSelectionScreen; +import de.florianmichael.viafabricplus.event.LoadClassicProtocolExtensionCallback; import de.florianmichael.viafabricplus.protocolhack.ProtocolHack; import io.netty.buffer.ByteBuf; import net.lenni0451.reflect.Enums; diff --git a/src/main/java/de/florianmichael/viafabricplus/screen/ClassicItemSelectionScreen.java b/src/main/java/de/florianmichael/viafabricplus/definition/classic/screen/ClassicItemSelectionScreen.java similarity index 97% rename from src/main/java/de/florianmichael/viafabricplus/screen/ClassicItemSelectionScreen.java rename to src/main/java/de/florianmichael/viafabricplus/definition/classic/screen/ClassicItemSelectionScreen.java index 9a959239..1a745b8e 100644 --- a/src/main/java/de/florianmichael/viafabricplus/screen/ClassicItemSelectionScreen.java +++ b/src/main/java/de/florianmichael/viafabricplus/definition/classic/screen/ClassicItemSelectionScreen.java @@ -15,10 +15,10 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.screen; +package de.florianmichael.viafabricplus.definition.classic.screen; -import de.florianmichael.viafabricplus.base.event.ChangeProtocolVersionCallback; -import de.florianmichael.viafabricplus.base.screen.VFPScreen; +import de.florianmichael.viafabricplus.event.ChangeProtocolVersionCallback; +import de.florianmichael.viafabricplus.screen.VFPScreen; import net.minecraft.client.gui.DrawContext; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; diff --git a/src/main/java/de/florianmichael/viafabricplus/definition/boat/BoatModel_1_8.java b/src/main/java/de/florianmichael/viafabricplus/definition/model/BoatModel_1_8.java similarity index 98% rename from src/main/java/de/florianmichael/viafabricplus/definition/boat/BoatModel_1_8.java rename to src/main/java/de/florianmichael/viafabricplus/definition/model/BoatModel_1_8.java index 10f8dbc2..8798850d 100644 --- a/src/main/java/de/florianmichael/viafabricplus/definition/boat/BoatModel_1_8.java +++ b/src/main/java/de/florianmichael/viafabricplus/definition/model/BoatModel_1_8.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.definition.boat; +package de.florianmichael.viafabricplus.definition.model; import com.google.common.collect.ImmutableList; import net.minecraft.client.model.*; diff --git a/src/main/java/de/florianmichael/viafabricplus/definition/BuiltinEmptyGlyph1_12_2.java b/src/main/java/de/florianmichael/viafabricplus/definition/model/BuiltinEmptyGlyph1_12_2.java similarity index 97% rename from src/main/java/de/florianmichael/viafabricplus/definition/BuiltinEmptyGlyph1_12_2.java rename to src/main/java/de/florianmichael/viafabricplus/definition/model/BuiltinEmptyGlyph1_12_2.java index 9f6cb254..35e10d59 100644 --- a/src/main/java/de/florianmichael/viafabricplus/definition/BuiltinEmptyGlyph1_12_2.java +++ b/src/main/java/de/florianmichael/viafabricplus/definition/model/BuiltinEmptyGlyph1_12_2.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.definition; +package de.florianmichael.viafabricplus.definition.model; import net.minecraft.client.font.Glyph; import net.minecraft.client.font.GlyphRenderer; diff --git a/src/main/java/de/florianmichael/viafabricplus/definition/classic/model/WeatherTypes.java b/src/main/java/de/florianmichael/viafabricplus/definition/model/KeyPairResponse1_19_0.java similarity index 62% rename from src/main/java/de/florianmichael/viafabricplus/definition/classic/model/WeatherTypes.java rename to src/main/java/de/florianmichael/viafabricplus/definition/model/KeyPairResponse1_19_0.java index cc601067..0eda0f04 100644 --- a/src/main/java/de/florianmichael/viafabricplus/definition/classic/model/WeatherTypes.java +++ b/src/main/java/de/florianmichael/viafabricplus/definition/model/KeyPairResponse1_19_0.java @@ -15,11 +15,20 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.definition.classic.model; +package de.florianmichael.viafabricplus.definition.model; -public class WeatherTypes { +import com.mojang.authlib.yggdrasil.response.KeyPairResponse; - public final static byte SUNNY = 0; - public final static byte RAINING = 1; - public final static byte SNOWING = 2; +import java.nio.ByteBuffer; + +/* +This class is part of the AuthLib, we are overwriting this class to add a new field. + */ + +public record KeyPairResponse1_19_0( + KeyPairResponse.KeyPair keyPair, + ByteBuffer publicKeySignatureV2, + ByteBuffer publicKeySignature /* removed in 1.20-rc1 */, + String expiresAt, + String refreshedAfter) { } diff --git a/src/main/java/de/florianmichael/viafabricplus/definition/tracker/bedrock/JoinGameTracker.java b/src/main/java/de/florianmichael/viafabricplus/definition/tracker/JoinGameTracker.java similarity index 95% rename from src/main/java/de/florianmichael/viafabricplus/definition/tracker/bedrock/JoinGameTracker.java rename to src/main/java/de/florianmichael/viafabricplus/definition/tracker/JoinGameTracker.java index b8736fb1..4ec93623 100644 --- a/src/main/java/de/florianmichael/viafabricplus/definition/tracker/bedrock/JoinGameTracker.java +++ b/src/main/java/de/florianmichael/viafabricplus/definition/tracker/JoinGameTracker.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.definition.tracker.bedrock; +package de.florianmichael.viafabricplus.definition.tracker; import com.viaversion.viaversion.api.connection.StoredObject; import com.viaversion.viaversion.api.connection.UserConnection; diff --git a/src/main/java/de/florianmichael/viafabricplus/base/event/ChangeProtocolVersionCallback.java b/src/main/java/de/florianmichael/viafabricplus/event/ChangeProtocolVersionCallback.java similarity index 96% rename from src/main/java/de/florianmichael/viafabricplus/base/event/ChangeProtocolVersionCallback.java rename to src/main/java/de/florianmichael/viafabricplus/event/ChangeProtocolVersionCallback.java index 416bc2b2..eeef74f5 100644 --- a/src/main/java/de/florianmichael/viafabricplus/base/event/ChangeProtocolVersionCallback.java +++ b/src/main/java/de/florianmichael/viafabricplus/event/ChangeProtocolVersionCallback.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.base.event; +package de.florianmichael.viafabricplus.event; import net.fabricmc.fabric.api.event.Event; import net.fabricmc.fabric.api.event.EventFactory; diff --git a/src/main/java/de/florianmichael/viafabricplus/base/event/DisconnectConnectionCallback.java b/src/main/java/de/florianmichael/viafabricplus/event/DisconnectConnectionCallback.java similarity index 96% rename from src/main/java/de/florianmichael/viafabricplus/base/event/DisconnectConnectionCallback.java rename to src/main/java/de/florianmichael/viafabricplus/event/DisconnectConnectionCallback.java index 62b889cf..1bf7196d 100644 --- a/src/main/java/de/florianmichael/viafabricplus/base/event/DisconnectConnectionCallback.java +++ b/src/main/java/de/florianmichael/viafabricplus/event/DisconnectConnectionCallback.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.base.event; +package de.florianmichael.viafabricplus.event; import net.fabricmc.fabric.api.event.Event; import net.fabricmc.fabric.api.event.EventFactory; diff --git a/src/main/java/de/florianmichael/viafabricplus/base/event/FinishMinecraftLoadCallback.java b/src/main/java/de/florianmichael/viafabricplus/event/FinishMinecraftLoadCallback.java similarity index 96% rename from src/main/java/de/florianmichael/viafabricplus/base/event/FinishMinecraftLoadCallback.java rename to src/main/java/de/florianmichael/viafabricplus/event/FinishMinecraftLoadCallback.java index d4aa9fb8..0dc4fa53 100644 --- a/src/main/java/de/florianmichael/viafabricplus/base/event/FinishMinecraftLoadCallback.java +++ b/src/main/java/de/florianmichael/viafabricplus/event/FinishMinecraftLoadCallback.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.base.event; +package de.florianmichael.viafabricplus.event; import net.fabricmc.fabric.api.event.Event; import net.fabricmc.fabric.api.event.EventFactory; diff --git a/src/main/java/de/florianmichael/viafabricplus/base/event/FinishViaVersionStartupCallback.java b/src/main/java/de/florianmichael/viafabricplus/event/FinishViaVersionStartupCallback.java similarity index 96% rename from src/main/java/de/florianmichael/viafabricplus/base/event/FinishViaVersionStartupCallback.java rename to src/main/java/de/florianmichael/viafabricplus/event/FinishViaVersionStartupCallback.java index 184124f3..d7ee35b1 100644 --- a/src/main/java/de/florianmichael/viafabricplus/base/event/FinishViaVersionStartupCallback.java +++ b/src/main/java/de/florianmichael/viafabricplus/event/FinishViaVersionStartupCallback.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.base.event; +package de.florianmichael.viafabricplus.event; import net.fabricmc.fabric.api.event.Event; import net.fabricmc.fabric.api.event.EventFactory; diff --git a/src/main/java/de/florianmichael/viafabricplus/base/event/InitializeSettingsCallback.java b/src/main/java/de/florianmichael/viafabricplus/event/InitializeSettingsCallback.java similarity index 96% rename from src/main/java/de/florianmichael/viafabricplus/base/event/InitializeSettingsCallback.java rename to src/main/java/de/florianmichael/viafabricplus/event/InitializeSettingsCallback.java index 9e1939c6..ceb50a22 100644 --- a/src/main/java/de/florianmichael/viafabricplus/base/event/InitializeSettingsCallback.java +++ b/src/main/java/de/florianmichael/viafabricplus/event/InitializeSettingsCallback.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.base.event; +package de.florianmichael.viafabricplus.event; import net.fabricmc.fabric.api.event.Event; import net.fabricmc.fabric.api.event.EventFactory; diff --git a/src/main/java/de/florianmichael/viafabricplus/base/event/LoadClassicProtocolExtensionCallback.java b/src/main/java/de/florianmichael/viafabricplus/event/LoadClassicProtocolExtensionCallback.java similarity index 96% rename from src/main/java/de/florianmichael/viafabricplus/base/event/LoadClassicProtocolExtensionCallback.java rename to src/main/java/de/florianmichael/viafabricplus/event/LoadClassicProtocolExtensionCallback.java index 58198f9d..34775217 100644 --- a/src/main/java/de/florianmichael/viafabricplus/base/event/LoadClassicProtocolExtensionCallback.java +++ b/src/main/java/de/florianmichael/viafabricplus/event/LoadClassicProtocolExtensionCallback.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.base.event; +package de.florianmichael.viafabricplus.event; import net.fabricmc.fabric.api.event.Event; import net.fabricmc.fabric.api.event.EventFactory; diff --git a/src/main/java/de/florianmichael/viafabricplus/base/event/PreLoadCallback.java b/src/main/java/de/florianmichael/viafabricplus/event/PreLoadCallback.java similarity index 95% rename from src/main/java/de/florianmichael/viafabricplus/base/event/PreLoadCallback.java rename to src/main/java/de/florianmichael/viafabricplus/event/PreLoadCallback.java index 9059a475..5ad4696a 100644 --- a/src/main/java/de/florianmichael/viafabricplus/base/event/PreLoadCallback.java +++ b/src/main/java/de/florianmichael/viafabricplus/event/PreLoadCallback.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.base.event; +package de.florianmichael.viafabricplus.event; import net.fabricmc.fabric.api.event.Event; import net.fabricmc.fabric.api.event.EventFactory; diff --git a/src/main/java/de/florianmichael/viafabricplus/information/impl/BedrockInformation.java b/src/main/java/de/florianmichael/viafabricplus/information/impl/BedrockInformation.java index f0101b0d..0811750e 100644 --- a/src/main/java/de/florianmichael/viafabricplus/information/impl/BedrockInformation.java +++ b/src/main/java/de/florianmichael/viafabricplus/information/impl/BedrockInformation.java @@ -19,7 +19,7 @@ package de.florianmichael.viafabricplus.information.impl; import com.viaversion.viaversion.api.Via; import com.viaversion.viaversion.api.connection.UserConnection; -import de.florianmichael.viafabricplus.definition.tracker.bedrock.JoinGameTracker; +import de.florianmichael.viafabricplus.definition.tracker.JoinGameTracker; import de.florianmichael.viafabricplus.information.AbstractInformationGroup; import de.florianmichael.viafabricplus.protocolhack.provider.viabedrock.ViaFabricPlusBlobCacheProvider; import net.lenni0451.reflect.stream.RStream; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinAddServerScreen.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinAddServerScreen.java index 57eb108d..57f3a8ed 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinAddServerScreen.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinAddServerScreen.java @@ -17,9 +17,9 @@ */ package de.florianmichael.viafabricplus.injection.mixin.base; -import de.florianmichael.viafabricplus.base.settings.groups.GeneralSettings; +import de.florianmichael.viafabricplus.settings.impl.GeneralSettings; import de.florianmichael.viafabricplus.injection.access.IServerInfo; -import de.florianmichael.viafabricplus.screen.base.ForceVersionScreen; +import de.florianmichael.viafabricplus.screen.common.ForceVersionScreen; import net.minecraft.client.gui.screen.AddServerScreen; import net.minecraft.client.gui.screen.Screen; import net.minecraft.client.gui.widget.ButtonWidget; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinClientConnection.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinClientConnection.java index dcbdac04..d4339673 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinClientConnection.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinClientConnection.java @@ -17,8 +17,8 @@ */ package de.florianmichael.viafabricplus.injection.mixin.base; -import de.florianmichael.viafabricplus.base.event.ChangeProtocolVersionCallback; -import de.florianmichael.viafabricplus.base.event.DisconnectConnectionCallback; +import de.florianmichael.viafabricplus.event.ChangeProtocolVersionCallback; +import de.florianmichael.viafabricplus.event.DisconnectConnectionCallback; import de.florianmichael.viafabricplus.injection.access.IClientConnection; import de.florianmichael.viafabricplus.protocolhack.ProtocolHack; import de.florianmichael.viafabricplus.protocolhack.netty.ViaFabricPlusVLLegacyPipeline; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinConnectScreen_1.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinConnectScreen_1.java index 185a29a8..5548b256 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinConnectScreen_1.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinConnectScreen_1.java @@ -17,7 +17,7 @@ */ package de.florianmichael.viafabricplus.injection.mixin.base; -import de.florianmichael.viafabricplus.base.event.ChangeProtocolVersionCallback; +import de.florianmichael.viafabricplus.event.ChangeProtocolVersionCallback; import de.florianmichael.viafabricplus.definition.ClientsideFixes; import de.florianmichael.viafabricplus.injection.access.IServerInfo; import de.florianmichael.viafabricplus.protocolhack.ProtocolHack; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinDebugHud.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinDebugHud.java index f4f635b7..14e10683 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinDebugHud.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinDebugHud.java @@ -21,7 +21,7 @@ import com.viaversion.viaversion.api.connection.UserConnection; import de.florianmichael.viafabricplus.ViaFabricPlus; import de.florianmichael.viafabricplus.information.AbstractInformationGroup; import de.florianmichael.viafabricplus.protocolhack.ProtocolHack; -import de.florianmichael.viafabricplus.base.settings.groups.GeneralSettings; +import de.florianmichael.viafabricplus.settings.impl.GeneralSettings; import de.florianmichael.viafabricplus.util.ChatUtil; import net.minecraft.client.MinecraftClient; import net.minecraft.client.gui.hud.DebugHud; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinDownloadingTerrainScreenAndConnectScreen.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinDownloadingTerrainScreenAndConnectScreen.java index 6626254c..141a92c0 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinDownloadingTerrainScreenAndConnectScreen.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinDownloadingTerrainScreenAndConnectScreen.java @@ -17,7 +17,7 @@ */ package de.florianmichael.viafabricplus.injection.mixin.base; -import de.florianmichael.viafabricplus.base.settings.groups.GeneralSettings; +import de.florianmichael.viafabricplus.settings.impl.GeneralSettings; import de.florianmichael.viafabricplus.protocolhack.ProtocolHack; import de.florianmichael.viafabricplus.util.ChatUtil; import net.minecraft.client.gui.DrawContext; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinMinecraftClient.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinMinecraftClient.java index e2e1437e..888021ba 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinMinecraftClient.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinMinecraftClient.java @@ -18,8 +18,8 @@ package de.florianmichael.viafabricplus.injection.mixin.base; import de.florianmichael.viafabricplus.ViaFabricPlus; -import de.florianmichael.viafabricplus.base.event.ChangeProtocolVersionCallback; -import de.florianmichael.viafabricplus.base.event.FinishMinecraftLoadCallback; +import de.florianmichael.viafabricplus.event.ChangeProtocolVersionCallback; +import de.florianmichael.viafabricplus.event.FinishMinecraftLoadCallback; import net.minecraft.client.MinecraftClient; import net.minecraft.client.RunArgs; import org.spongepowered.asm.mixin.Mixin; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinMultiplayerScreen.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinMultiplayerScreen.java index f258e1cf..5ee66efe 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinMultiplayerScreen.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinMultiplayerScreen.java @@ -17,8 +17,8 @@ */ package de.florianmichael.viafabricplus.injection.mixin.base; -import de.florianmichael.viafabricplus.screen.base.ProtocolSelectionScreen; -import de.florianmichael.viafabricplus.base.settings.groups.GeneralSettings; +import de.florianmichael.viafabricplus.screen.common.ProtocolSelectionScreen; +import de.florianmichael.viafabricplus.settings.impl.GeneralSettings; import net.minecraft.client.gui.screen.Screen; import net.minecraft.client.gui.screen.multiplayer.MultiplayerScreen; import net.minecraft.client.gui.widget.ButtonWidget; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinMultiplayerServerListWidget_ServerEntry.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinMultiplayerServerListWidget_ServerEntry.java index 208be1ee..f57aad11 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinMultiplayerServerListWidget_ServerEntry.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinMultiplayerServerListWidget_ServerEntry.java @@ -17,7 +17,7 @@ */ package de.florianmichael.viafabricplus.injection.mixin.base; -import de.florianmichael.viafabricplus.base.settings.groups.GeneralSettings; +import de.florianmichael.viafabricplus.settings.impl.GeneralSettings; import de.florianmichael.viafabricplus.injection.access.IServerInfo; import de.florianmichael.viafabricplus.protocolhack.ProtocolHack; import net.minecraft.client.gui.screen.multiplayer.MultiplayerScreen; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinOptionsScreen.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinOptionsScreen.java index 13bd449e..c6dca6f8 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinOptionsScreen.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinOptionsScreen.java @@ -17,7 +17,7 @@ */ package de.florianmichael.viafabricplus.injection.mixin.base; -import de.florianmichael.viafabricplus.base.settings.groups.GeneralSettings; +import de.florianmichael.viafabricplus.settings.impl.GeneralSettings; import net.minecraft.client.MinecraftClient; import net.minecraft.client.gui.screen.Screen; import net.minecraft.client.gui.screen.option.OptionsScreen; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinSharedConstants.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinSharedConstants.java index 207f93a0..2ea5fe5a 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinSharedConstants.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/base/MixinSharedConstants.java @@ -17,7 +17,7 @@ */ package de.florianmichael.viafabricplus.injection.mixin.base; -import de.florianmichael.viafabricplus.screen.thirdparty.classicube.ClassiCubeLoginScreen; +import de.florianmichael.viafabricplus.screen.classic4j.classicube.ClassiCubeLoginScreen; import net.minecraft.SharedConstants; import net.minecraft.client.MinecraftClient; import org.spongepowered.asm.mixin.Mixin; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/compat/sodium/MixinChunkTracker.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/compat/sodium/MixinChunkTracker.java index bf178276..4be960ca 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/compat/sodium/MixinChunkTracker.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/compat/sodium/MixinChunkTracker.java @@ -17,7 +17,7 @@ */ package de.florianmichael.viafabricplus.injection.mixin.compat.sodium; -import de.florianmichael.viafabricplus.base.settings.groups.VisualSettings; +import de.florianmichael.viafabricplus.settings.impl.VisualSettings; import it.unimi.dsi.fastutil.longs.Long2IntOpenHashMap; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Pseudo; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/authlib/MixinYggdrasilUserApiService.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/authlib/MixinYggdrasilUserApiService.java index 602cd6e1..c3157356 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/authlib/MixinYggdrasilUserApiService.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/authlib/MixinYggdrasilUserApiService.java @@ -20,7 +20,7 @@ package de.florianmichael.viafabricplus.injection.mixin.fixes.authlib; import com.mojang.authlib.minecraft.client.MinecraftClient; import com.mojang.authlib.yggdrasil.YggdrasilUserApiService; import com.mojang.authlib.yggdrasil.response.KeyPairResponse; -import de.florianmichael.viafabricplus.definition.authlib.KeyPairResponse1_19_0; +import de.florianmichael.viafabricplus.definition.model.KeyPairResponse1_19_0; import de.florianmichael.viafabricplus.injection.access.IKeyPairResponse; import org.spongepowered.asm.mixin.Final; import org.spongepowered.asm.mixin.Mixin; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinBipedEntityModel.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinBipedEntityModel.java index 63527b38..9e4d7ba4 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinBipedEntityModel.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinBipedEntityModel.java @@ -17,7 +17,7 @@ */ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft; -import de.florianmichael.viafabricplus.base.settings.groups.VisualSettings; +import de.florianmichael.viafabricplus.settings.impl.VisualSettings; import net.minecraft.client.model.ModelPart; import net.minecraft.client.render.entity.model.BipedEntityModel; import net.minecraft.entity.LivingEntity; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinCamera.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinCamera.java index 09ff94be..171e4409 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinCamera.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinCamera.java @@ -17,7 +17,7 @@ */ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft; -import de.florianmichael.viafabricplus.base.settings.groups.DebugSettings; +import de.florianmichael.viafabricplus.settings.impl.DebugSettings; import net.minecraft.client.render.Camera; import net.minecraft.entity.Entity; import net.minecraft.entity.player.PlayerEntity; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinFontStorage.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinFontStorage.java index 6b87ebed..3899d75d 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinFontStorage.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinFontStorage.java @@ -17,9 +17,8 @@ */ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft; -import de.florianmichael.viafabricplus.base.settings.groups.VisualSettings; -import de.florianmichael.viafabricplus.definition.BuiltinEmptyGlyph1_12_2; -import de.florianmichael.viafabricplus.definition.ClientsideFixes; +import de.florianmichael.viafabricplus.settings.impl.VisualSettings; +import de.florianmichael.viafabricplus.definition.model.BuiltinEmptyGlyph1_12_2; import de.florianmichael.viafabricplus.injection.access.IFontStorage; import de.florianmichael.viafabricplus.mappings.CharacterMappings; import de.florianmichael.viafabricplus.protocolhack.ProtocolHack; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinInGameHud.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinInGameHud.java index c3717f38..e75d1c4c 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinInGameHud.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinInGameHud.java @@ -18,7 +18,7 @@ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft; import com.llamalad7.mixinextras.injector.ModifyExpressionValue; -import de.florianmichael.viafabricplus.base.settings.groups.VisualSettings; +import de.florianmichael.viafabricplus.settings.impl.VisualSettings; import net.minecraft.client.gui.DrawContext; import net.minecraft.client.gui.hud.InGameHud; import net.minecraft.entity.JumpingMount; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinItemRenderer.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinItemRenderer.java index 13c1a335..0e9a8b41 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinItemRenderer.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinItemRenderer.java @@ -17,7 +17,7 @@ */ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft; -import de.florianmichael.viafabricplus.base.settings.groups.VisualSettings; +import de.florianmichael.viafabricplus.settings.impl.VisualSettings; import net.minecraft.client.render.item.ItemModels; import net.minecraft.client.render.item.ItemRenderer; import net.minecraft.client.render.model.BakedModel; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinMinecraftClient.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinMinecraftClient.java index 46d15c6c..a151a648 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinMinecraftClient.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinMinecraftClient.java @@ -27,7 +27,7 @@ import com.viaversion.viaversion.protocols.protocol1_9_3to1_9_1_2.ServerboundPac import de.florianmichael.viafabricplus.ViaFabricPlus; import de.florianmichael.viafabricplus.injection.access.IMinecraftClient; import de.florianmichael.viafabricplus.protocolhack.ProtocolHack; -import de.florianmichael.viafabricplus.base.settings.groups.DebugSettings; +import de.florianmichael.viafabricplus.settings.impl.DebugSettings; import net.raphimc.vialoader.util.VersionEnum; import net.minecraft.client.MinecraftClient; import net.minecraft.client.network.ClientPlayNetworkHandler; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinPendingUpdateManager.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinPendingUpdateManager.java index fa4d48f6..7bb49fbb 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinPendingUpdateManager.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/MixinPendingUpdateManager.java @@ -17,7 +17,7 @@ */ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft; -import de.florianmichael.viafabricplus.base.settings.groups.DebugSettings; +import de.florianmichael.viafabricplus.settings.impl.DebugSettings; import net.minecraft.client.network.PendingUpdateManager; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/block/MixinAbstractBlock.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/block/MixinAbstractBlock.java index d6873eeb..1365a827 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/block/MixinAbstractBlock.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/block/MixinAbstractBlock.java @@ -17,7 +17,7 @@ */ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft.block; -import de.florianmichael.viafabricplus.base.settings.groups.DebugSettings; +import de.florianmichael.viafabricplus.settings.impl.DebugSettings; import net.minecraft.block.AbstractBlock; import net.minecraft.block.BlockState; import net.minecraft.entity.player.PlayerEntity; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinBoatEntity.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinBoatEntity.java index 3e410533..5c8a4dc0 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinBoatEntity.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinBoatEntity.java @@ -1,6 +1,6 @@ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft.entity; -import de.florianmichael.viafabricplus.base.settings.groups.ExperimentalSettings; +import de.florianmichael.viafabricplus.settings.impl.ExperimentalSettings; import de.florianmichael.viafabricplus.definition.EntityHeightOffsetsPre1_20_2; import de.florianmichael.viafabricplus.injection.access.IBoatEntity; import de.florianmichael.viafabricplus.protocolhack.ProtocolHack; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinClientPlayerEntity.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinClientPlayerEntity.java index 4a4f7bc7..b30e161f 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinClientPlayerEntity.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinClientPlayerEntity.java @@ -21,9 +21,9 @@ import com.mojang.authlib.GameProfile; import de.florianmichael.viafabricplus.definition.ClientsideFixes; import net.minecraft.world.GameMode; import net.raphimc.vialoader.util.VersionEnum; -import de.florianmichael.viafabricplus.base.settings.groups.DebugSettings; +import de.florianmichael.viafabricplus.settings.impl.DebugSettings; import de.florianmichael.viafabricplus.injection.access.IClientPlayerEntity; -import de.florianmichael.viafabricplus.base.settings.groups.VisualSettings; +import de.florianmichael.viafabricplus.settings.impl.VisualSettings; import de.florianmichael.viafabricplus.protocolhack.ProtocolHack; import net.minecraft.client.MinecraftClient; import net.minecraft.client.input.Input; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinEntityModels.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinEntityModels.java index acebbc2a..93d31596 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinEntityModels.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinEntityModels.java @@ -18,7 +18,7 @@ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft.entity; import com.google.common.collect.ImmutableMap; -import de.florianmichael.viafabricplus.definition.boat.BoatModel_1_8; +import de.florianmichael.viafabricplus.definition.model.BoatModel_1_8; import net.minecraft.client.model.TexturedModelData; import net.minecraft.client.render.entity.model.EntityModelLayer; import net.minecraft.client.render.entity.model.EntityModels; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinEntityRenderDispatcher.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinEntityRenderDispatcher.java index bbf49fef..076f4bfb 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinEntityRenderDispatcher.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinEntityRenderDispatcher.java @@ -17,8 +17,8 @@ */ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft.entity; -import de.florianmichael.viafabricplus.base.settings.groups.ExperimentalSettings; -import de.florianmichael.viafabricplus.definition.boat.BoatRenderer_1_8; +import de.florianmichael.viafabricplus.settings.impl.ExperimentalSettings; +import de.florianmichael.viafabricplus.definition.BoatRenderer_1_8; import de.florianmichael.viafabricplus.protocolhack.ProtocolHack; import net.minecraft.client.render.entity.EntityRenderDispatcher; import net.minecraft.client.render.entity.EntityRenderer; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinLivingEntity.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinLivingEntity.java index 97339454..f537545c 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinLivingEntity.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinLivingEntity.java @@ -18,7 +18,7 @@ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft.entity; import com.llamalad7.mixinextras.injector.WrapWithCondition; -import de.florianmichael.viafabricplus.base.settings.groups.ExperimentalSettings; +import de.florianmichael.viafabricplus.settings.impl.ExperimentalSettings; import de.florianmichael.viafabricplus.definition.EntityHeightOffsetsPre1_20_2; import de.florianmichael.viafabricplus.protocolhack.ProtocolHack; import net.minecraft.block.BlockState; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinPlayerEntity.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinPlayerEntity.java index c3cdd385..1e12239f 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinPlayerEntity.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinPlayerEntity.java @@ -20,7 +20,7 @@ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft.entity; import net.minecraft.entity.*; import net.minecraft.util.Hand; import net.raphimc.vialoader.util.VersionEnum; -import de.florianmichael.viafabricplus.base.settings.groups.VisualSettings; +import de.florianmichael.viafabricplus.settings.impl.VisualSettings; import de.florianmichael.viafabricplus.protocolhack.ProtocolHack; import net.minecraft.entity.damage.DamageSource; import net.minecraft.entity.player.PlayerAbilities; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/input/MixinKeyboard.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/input/MixinKeyboard.java index 351d9c37..48de8069 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/input/MixinKeyboard.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/input/MixinKeyboard.java @@ -18,9 +18,8 @@ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft.input; import net.raphimc.vialoader.util.VersionEnum; -import com.viaversion.viaversion.api.protocol.version.ProtocolVersion; import de.florianmichael.viafabricplus.injection.access.IMinecraftClient; -import de.florianmichael.viafabricplus.base.settings.groups.DebugSettings; +import de.florianmichael.viafabricplus.settings.impl.DebugSettings; import de.florianmichael.viafabricplus.protocolhack.ProtocolHack; import net.minecraft.client.Keyboard; import net.minecraft.client.MinecraftClient; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/input/MixinMouse.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/input/MixinMouse.java index ba2a3d21..b44254f0 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/input/MixinMouse.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/input/MixinMouse.java @@ -18,7 +18,7 @@ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft.input; import de.florianmichael.viafabricplus.injection.access.IMinecraftClient; -import de.florianmichael.viafabricplus.base.settings.groups.DebugSettings; +import de.florianmichael.viafabricplus.settings.impl.DebugSettings; import net.minecraft.client.MinecraftClient; import net.minecraft.client.Mouse; import org.spongepowered.asm.mixin.Mixin; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinHeldItemRenderer.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinHeldItemRenderer.java index 2e278327..f81e48bb 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinHeldItemRenderer.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinHeldItemRenderer.java @@ -23,7 +23,7 @@ */ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft.item; -import de.florianmichael.viafabricplus.base.settings.groups.VisualSettings; +import de.florianmichael.viafabricplus.settings.impl.VisualSettings; import net.minecraft.util.Arm; import net.raphimc.vialoader.util.VersionEnum; import de.florianmichael.viafabricplus.protocolhack.ProtocolHack; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinItemCooldownManager.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinItemCooldownManager.java index 80a1fb3c..90b410b5 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinItemCooldownManager.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinItemCooldownManager.java @@ -17,7 +17,7 @@ */ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft.item; -import de.florianmichael.viafabricplus.base.settings.groups.DebugSettings; +import de.florianmichael.viafabricplus.settings.impl.DebugSettings; import net.minecraft.entity.player.ItemCooldownManager; import net.minecraft.item.Item; import org.spongepowered.asm.mixin.Mixin; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinItemGroup_EntriesImpl.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinItemGroup_EntriesImpl.java index 00f8e42f..736ab9e6 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinItemGroup_EntriesImpl.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinItemGroup_EntriesImpl.java @@ -18,7 +18,7 @@ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft.item; import de.florianmichael.viafabricplus.mappings.ItemReleaseVersionMappings; -import de.florianmichael.viafabricplus.base.settings.groups.GeneralSettings; +import de.florianmichael.viafabricplus.settings.impl.GeneralSettings; import net.minecraft.client.MinecraftClient; import net.minecraft.item.Item; import net.minecraft.item.ItemGroup; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinItemGroups.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinItemGroups.java index 42a52b53..3a18022a 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinItemGroups.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinItemGroups.java @@ -17,7 +17,7 @@ */ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft.item; -import de.florianmichael.viafabricplus.base.settings.groups.GeneralSettings; +import de.florianmichael.viafabricplus.settings.impl.GeneralSettings; import de.florianmichael.viafabricplus.protocolhack.ProtocolHack; import net.minecraft.item.ItemGroup; import net.minecraft.item.ItemGroups; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinItemStack.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinItemStack.java index 92b1bcd7..ef14b01a 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinItemStack.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinItemStack.java @@ -20,8 +20,7 @@ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft.item; import com.google.common.collect.HashMultimap; import com.google.common.collect.Multimap; import net.raphimc.vialoader.util.VersionEnum; -import com.viaversion.viaversion.api.protocol.version.ProtocolVersion; -import de.florianmichael.viafabricplus.base.settings.groups.DebugSettings; +import de.florianmichael.viafabricplus.settings.impl.DebugSettings; import de.florianmichael.viafabricplus.protocolhack.ProtocolHack; import net.minecraft.block.BlockState; import net.minecraft.client.MinecraftClient; @@ -33,7 +32,6 @@ import net.minecraft.item.*; import org.jetbrains.annotations.Nullable; import org.spongepowered.asm.mixin.*; import org.spongepowered.asm.mixin.injection.*; -import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; import java.util.OptionalDouble; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/network/MixinClientPlayNetworkHandler.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/network/MixinClientPlayNetworkHandler.java index ecdc5c02..a46f6ccc 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/network/MixinClientPlayNetworkHandler.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/network/MixinClientPlayNetworkHandler.java @@ -19,19 +19,15 @@ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft.network; import com.llamalad7.mixinextras.injector.WrapWithCondition; import de.florianmichael.viafabricplus.ViaFabricPlus; -import de.florianmichael.viafabricplus.base.settings.groups.VisualSettings; +import de.florianmichael.viafabricplus.settings.impl.VisualSettings; import de.florianmichael.viafabricplus.injection.access.IBoatEntity; import de.florianmichael.viafabricplus.protocolhack.ProtocolHack; -import net.minecraft.client.ClientBrandRetriever; import net.minecraft.client.MinecraftClient; import net.minecraft.client.gui.screen.DownloadingTerrainScreen; import net.minecraft.client.network.*; import net.minecraft.client.world.ClientWorld; import net.minecraft.entity.vehicle.BoatEntity; import net.minecraft.network.ClientConnection; -import net.minecraft.network.packet.BrandCustomPayload; -import net.minecraft.network.packet.c2s.common.ClientOptionsC2SPacket; -import net.minecraft.network.packet.c2s.common.CustomPayloadC2SPacket; import net.minecraft.network.packet.s2c.play.*; import net.raphimc.vialoader.util.VersionEnum; import org.slf4j.Logger; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinChatHud.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinChatHud.java index 961b47ef..e9635543 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinChatHud.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinChatHud.java @@ -19,7 +19,7 @@ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft.screen; import com.llamalad7.mixinextras.injector.wrapoperation.Operation; import com.llamalad7.mixinextras.injector.wrapoperation.WrapOperation; -import de.florianmichael.viafabricplus.base.settings.groups.VisualSettings; +import de.florianmichael.viafabricplus.settings.impl.VisualSettings; import net.minecraft.client.gui.hud.ChatHud; import net.minecraft.client.gui.hud.ChatHudLine; import net.minecraft.client.gui.hud.MessageIndicator; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinChatScreen.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinChatScreen.java index bcd88060..8846b2e5 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinChatScreen.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinChatScreen.java @@ -17,7 +17,7 @@ */ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft.screen; -import de.florianmichael.viafabricplus.base.settings.groups.VisualSettings; +import de.florianmichael.viafabricplus.settings.impl.VisualSettings; import de.florianmichael.viafabricplus.definition.ClientsideFixes; import net.minecraft.client.MinecraftClient; import net.minecraft.client.gui.hud.ChatHud; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinCommandBlockScreen.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinCommandBlockScreen.java index aea8e06e..450ca3ee 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinCommandBlockScreen.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinCommandBlockScreen.java @@ -17,7 +17,7 @@ */ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft.screen; -import de.florianmichael.viafabricplus.base.settings.groups.VisualSettings; +import de.florianmichael.viafabricplus.settings.impl.VisualSettings; import net.minecraft.block.entity.CommandBlockBlockEntity; import net.minecraft.client.gui.screen.ingame.CommandBlockScreen; import net.minecraft.client.gui.widget.CyclingButtonWidget; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinConnectScreen_1.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinConnectScreen_1.java index 29e5d1bc..66627213 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinConnectScreen_1.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinConnectScreen_1.java @@ -29,7 +29,7 @@ import de.florianmichael.viafabricplus.definition.account.ClassiCubeAccountHandl import de.florianmichael.viafabricplus.injection.access.IPublicKeyData; import de.florianmichael.viafabricplus.protocolhack.ProtocolHack; import de.florianmichael.viafabricplus.protocolhack.provider.vialegacy.ViaFabricPlusClassicMPPassProvider; -import de.florianmichael.viafabricplus.base.settings.groups.AuthenticationSettings; +import de.florianmichael.viafabricplus.settings.impl.AuthenticationSettings; import net.minecraft.client.MinecraftClient; import net.minecraft.client.gui.screen.ConnectScreen; import net.minecraft.client.network.ServerAddress; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinCreativeInventoryScreen.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinCreativeInventoryScreen.java index 4a0a9981..45442321 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinCreativeInventoryScreen.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinCreativeInventoryScreen.java @@ -17,8 +17,8 @@ */ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft.screen; -import de.florianmichael.viafabricplus.screen.ClassicItemSelectionScreen; -import de.florianmichael.viafabricplus.base.settings.groups.VisualSettings; +import de.florianmichael.viafabricplus.definition.classic.screen.ClassicItemSelectionScreen; +import de.florianmichael.viafabricplus.settings.impl.VisualSettings; import net.minecraft.client.MinecraftClient; import net.minecraft.client.gui.screen.ingame.CreativeInventoryScreen; import org.spongepowered.asm.mixin.Mixin; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinJigsawBlockScreen.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinJigsawBlockScreen.java index 038114f0..e160f986 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinJigsawBlockScreen.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinJigsawBlockScreen.java @@ -17,7 +17,7 @@ */ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft.screen; -import de.florianmichael.viafabricplus.base.settings.groups.VisualSettings; +import de.florianmichael.viafabricplus.settings.impl.VisualSettings; import net.minecraft.block.entity.JigsawBlockEntity; import net.minecraft.client.gui.DrawContext; import net.minecraft.client.gui.screen.Screen; @@ -25,7 +25,6 @@ import net.minecraft.client.gui.screen.ingame.JigsawBlockScreen; import net.minecraft.client.gui.widget.ClickableWidget; import net.minecraft.client.gui.widget.CyclingButtonWidget; import net.minecraft.client.gui.widget.TextFieldWidget; -import net.minecraft.client.util.math.MatrixStack; import net.minecraft.text.Text; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Shadow; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/merchant/MixinMerchantScreen.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/merchant/MixinMerchantScreen.java index 4384b1ab..119f760f 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/merchant/MixinMerchantScreen.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/merchant/MixinMerchantScreen.java @@ -17,7 +17,7 @@ */ package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft.screen.merchant; -import de.florianmichael.viafabricplus.base.settings.groups.DebugSettings; +import de.florianmichael.viafabricplus.settings.impl.DebugSettings; import net.minecraft.client.gui.screen.ingame.HandledScreen; import net.minecraft.client.gui.screen.ingame.MerchantScreen; import net.minecraft.entity.player.PlayerInventory; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/viabedrock/MixinBedrockProtocol.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/viabedrock/MixinBedrockProtocol.java index 5947aa50..93673965 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/viabedrock/MixinBedrockProtocol.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/viabedrock/MixinBedrockProtocol.java @@ -18,7 +18,7 @@ package de.florianmichael.viafabricplus.injection.mixin.fixes.viabedrock; import com.viaversion.viaversion.api.connection.UserConnection; -import de.florianmichael.viafabricplus.definition.tracker.bedrock.JoinGameTracker; +import de.florianmichael.viafabricplus.definition.tracker.JoinGameTracker; import net.raphimc.viabedrock.protocol.BedrockProtocol; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/viabedrock/MixinJoinPackets.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/viabedrock/MixinJoinPackets.java index 7ed9d5d6..27428d52 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/viabedrock/MixinJoinPackets.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/viabedrock/MixinJoinPackets.java @@ -19,7 +19,7 @@ package de.florianmichael.viafabricplus.injection.mixin.fixes.viabedrock; import com.viaversion.viaversion.api.protocol.packet.PacketWrapper; import com.viaversion.viaversion.api.type.Type; -import de.florianmichael.viafabricplus.definition.tracker.bedrock.JoinGameTracker; +import de.florianmichael.viafabricplus.definition.tracker.JoinGameTracker; import net.raphimc.viabedrock.protocol.packets.JoinPackets; import net.raphimc.viabedrock.protocol.types.primitive.LongLEType; import net.raphimc.viabedrock.protocol.types.primitive.StringType; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/vialegacy/MixinExtensionProtocolMetadataStorage.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/vialegacy/MixinExtensionProtocolMetadataStorage.java index 97c174b2..00d8da6a 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/vialegacy/MixinExtensionProtocolMetadataStorage.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/vialegacy/MixinExtensionProtocolMetadataStorage.java @@ -18,7 +18,7 @@ package de.florianmichael.viafabricplus.injection.mixin.fixes.vialegacy; import de.florianmichael.viafabricplus.injection.access.IExtensionProtocolMetadataStorage; -import de.florianmichael.viafabricplus.base.event.LoadClassicProtocolExtensionCallback; +import de.florianmichael.viafabricplus.event.LoadClassicProtocolExtensionCallback; import net.raphimc.vialegacy.protocols.classic.protocolc0_28_30toc0_28_30cpe.data.ClassicProtocolExtension; import net.raphimc.vialegacy.protocols.classic.protocolc0_28_30toc0_28_30cpe.storage.ExtensionProtocolMetadataStorage; import org.spongepowered.asm.mixin.Final; diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/vialegacy/MixinProtocolc0_30toc0_30cpe.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/vialegacy/MixinProtocolc0_30toc0_30cpe.java index df7fe718..e78d5b30 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/vialegacy/MixinProtocolc0_30toc0_30cpe.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/vialegacy/MixinProtocolc0_30toc0_30cpe.java @@ -24,7 +24,6 @@ import com.viaversion.viaversion.api.type.Type; import com.viaversion.viaversion.protocols.protocol1_19_4to1_19_3.ClientboundPackets1_19_4; import com.viaversion.viaversion.protocols.protocol1_19_4to1_19_3.Protocol1_19_4To1_19_3; import de.florianmichael.viafabricplus.definition.classic.CustomClassicProtocolExtensions; -import de.florianmichael.viafabricplus.definition.classic.model.WeatherTypes; import net.raphimc.vialegacy.protocols.classic.protocola1_0_15toc0_28_30.ClientboundPacketsc0_28; import net.raphimc.vialegacy.protocols.classic.protocola1_0_15toc0_28_30.ServerboundPacketsc0_28; import net.raphimc.vialegacy.protocols.classic.protocolc0_28_30toc0_28_30cpe.ClientboundPacketsc0_30cpe; @@ -48,14 +47,14 @@ public class MixinProtocolc0_30toc0_30cpe extends AbstractProtocol. */ -package de.florianmichael.viafabricplus.base; +package de.florianmichael.viafabricplus.protocolhack.util; import de.florianmichael.viafabricplus.ViaFabricPlus; import net.lenni0451.reflect.ClassLoaders; diff --git a/src/main/java/de/florianmichael/viafabricplus/base/screen/MappedSlotEntry.java b/src/main/java/de/florianmichael/viafabricplus/screen/MappedSlotEntry.java similarity index 98% rename from src/main/java/de/florianmichael/viafabricplus/base/screen/MappedSlotEntry.java rename to src/main/java/de/florianmichael/viafabricplus/screen/MappedSlotEntry.java index c5b8bdf0..2c2f6ba6 100644 --- a/src/main/java/de/florianmichael/viafabricplus/base/screen/MappedSlotEntry.java +++ b/src/main/java/de/florianmichael/viafabricplus/screen/MappedSlotEntry.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.base.screen; +package de.florianmichael.viafabricplus.screen; import net.minecraft.client.MinecraftClient; import net.minecraft.client.gui.DrawContext; diff --git a/src/main/java/de/florianmichael/viafabricplus/base/screen/VFPScreen.java b/src/main/java/de/florianmichael/viafabricplus/screen/VFPScreen.java similarity index 99% rename from src/main/java/de/florianmichael/viafabricplus/base/screen/VFPScreen.java rename to src/main/java/de/florianmichael/viafabricplus/screen/VFPScreen.java index 02078f2a..7549b3c0 100644 --- a/src/main/java/de/florianmichael/viafabricplus/base/screen/VFPScreen.java +++ b/src/main/java/de/florianmichael/viafabricplus/screen/VFPScreen.java @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.base.screen; +package de.florianmichael.viafabricplus.screen; import com.mojang.blaze3d.systems.RenderSystem; import de.florianmichael.viafabricplus.ViaFabricPlus; diff --git a/src/main/java/de/florianmichael/viafabricplus/screen/thirdparty/BetaCraftScreen.java b/src/main/java/de/florianmichael/viafabricplus/screen/classic4j/BetaCraftScreen.java similarity index 96% rename from src/main/java/de/florianmichael/viafabricplus/screen/thirdparty/BetaCraftScreen.java rename to src/main/java/de/florianmichael/viafabricplus/screen/classic4j/BetaCraftScreen.java index 6d215754..2bc9538c 100644 --- a/src/main/java/de/florianmichael/viafabricplus/screen/thirdparty/BetaCraftScreen.java +++ b/src/main/java/de/florianmichael/viafabricplus/screen/classic4j/BetaCraftScreen.java @@ -15,13 +15,13 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.screen.thirdparty; +package de.florianmichael.viafabricplus.screen.classic4j; import de.florianmichael.classic4j.model.betacraft.BCServerInfoSpec; import de.florianmichael.classic4j.model.betacraft.BCServerList; import de.florianmichael.classic4j.model.betacraft.BCVersionCategory; -import de.florianmichael.viafabricplus.base.screen.MappedSlotEntry; -import de.florianmichael.viafabricplus.base.screen.VFPScreen; +import de.florianmichael.viafabricplus.screen.MappedSlotEntry; +import de.florianmichael.viafabricplus.screen.VFPScreen; import de.florianmichael.viafabricplus.screen.settings.settingrenderer.meta.TitleRenderer; import net.minecraft.client.MinecraftClient; import net.minecraft.client.font.TextRenderer; diff --git a/src/main/java/de/florianmichael/viafabricplus/screen/thirdparty/classicube/ClassiCubeLoginScreen.java b/src/main/java/de/florianmichael/viafabricplus/screen/classic4j/classicube/ClassiCubeLoginScreen.java similarity index 95% rename from src/main/java/de/florianmichael/viafabricplus/screen/thirdparty/classicube/ClassiCubeLoginScreen.java rename to src/main/java/de/florianmichael/viafabricplus/screen/classic4j/classicube/ClassiCubeLoginScreen.java index 963a0f39..e0f8fe41 100644 --- a/src/main/java/de/florianmichael/viafabricplus/screen/thirdparty/classicube/ClassiCubeLoginScreen.java +++ b/src/main/java/de/florianmichael/viafabricplus/screen/classic4j/classicube/ClassiCubeLoginScreen.java @@ -15,15 +15,15 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.screen.thirdparty.classicube; +package de.florianmichael.viafabricplus.screen.classic4j.classicube; import com.mojang.blaze3d.systems.RenderSystem; import de.florianmichael.classic4j.ClassiCubeHandler; import de.florianmichael.classic4j.api.LoginProcessHandler; import de.florianmichael.classic4j.model.classicube.account.CCAccount; -import de.florianmichael.viafabricplus.base.screen.VFPScreen; +import de.florianmichael.viafabricplus.screen.VFPScreen; import de.florianmichael.viafabricplus.definition.account.ClassiCubeAccountHandler; -import de.florianmichael.viafabricplus.screen.base.ProtocolSelectionScreen; +import de.florianmichael.viafabricplus.screen.common.ProtocolSelectionScreen; import net.minecraft.client.gui.DrawContext; import net.minecraft.client.gui.screen.ConfirmLinkScreen; import net.minecraft.client.gui.screen.Screen; diff --git a/src/main/java/de/florianmichael/viafabricplus/screen/thirdparty/classicube/ClassiCubeMFAScreen.java b/src/main/java/de/florianmichael/viafabricplus/screen/classic4j/classicube/ClassiCubeMFAScreen.java similarity index 94% rename from src/main/java/de/florianmichael/viafabricplus/screen/thirdparty/classicube/ClassiCubeMFAScreen.java rename to src/main/java/de/florianmichael/viafabricplus/screen/classic4j/classicube/ClassiCubeMFAScreen.java index 530d4a91..6c7f3323 100644 --- a/src/main/java/de/florianmichael/viafabricplus/screen/thirdparty/classicube/ClassiCubeMFAScreen.java +++ b/src/main/java/de/florianmichael/viafabricplus/screen/classic4j/classicube/ClassiCubeMFAScreen.java @@ -15,17 +15,17 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.screen.thirdparty.classicube; +package de.florianmichael.viafabricplus.screen.classic4j.classicube; import com.mojang.blaze3d.systems.RenderSystem; import de.florianmichael.classic4j.ClassiCubeHandler; import de.florianmichael.classic4j.api.LoginProcessHandler; import de.florianmichael.classic4j.model.classicube.CCError; import de.florianmichael.classic4j.model.classicube.account.CCAccount; -import de.florianmichael.viafabricplus.base.screen.VFPScreen; +import de.florianmichael.viafabricplus.screen.VFPScreen; import de.florianmichael.viafabricplus.definition.account.ClassiCubeAccountHandler; import de.florianmichael.viafabricplus.integration.Classic4JImpl; -import de.florianmichael.viafabricplus.screen.base.ProtocolSelectionScreen; +import de.florianmichael.viafabricplus.screen.common.ProtocolSelectionScreen; import net.minecraft.client.gui.DrawContext; import net.minecraft.client.gui.screen.Screen; import net.minecraft.client.gui.widget.ButtonWidget; diff --git a/src/main/java/de/florianmichael/viafabricplus/screen/thirdparty/classicube/ClassiCubeServerListScreen.java b/src/main/java/de/florianmichael/viafabricplus/screen/classic4j/classicube/ClassiCubeServerListScreen.java similarity index 95% rename from src/main/java/de/florianmichael/viafabricplus/screen/thirdparty/classicube/ClassiCubeServerListScreen.java rename to src/main/java/de/florianmichael/viafabricplus/screen/classic4j/classicube/ClassiCubeServerListScreen.java index 1f7baf29..9d4b4bf2 100644 --- a/src/main/java/de/florianmichael/viafabricplus/screen/thirdparty/classicube/ClassiCubeServerListScreen.java +++ b/src/main/java/de/florianmichael/viafabricplus/screen/classic4j/classicube/ClassiCubeServerListScreen.java @@ -15,19 +15,19 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.screen.thirdparty.classicube; +package de.florianmichael.viafabricplus.screen.classic4j.classicube; import com.mojang.blaze3d.systems.RenderSystem; import de.florianmichael.classic4j.ClassiCubeHandler; import de.florianmichael.classic4j.api.LoginProcessHandler; import de.florianmichael.classic4j.model.classicube.server.CCServerInfo; -import de.florianmichael.viafabricplus.base.screen.MappedSlotEntry; -import de.florianmichael.viafabricplus.base.screen.VFPScreen; -import de.florianmichael.viafabricplus.base.settings.groups.AuthenticationSettings; +import de.florianmichael.viafabricplus.screen.MappedSlotEntry; +import de.florianmichael.viafabricplus.screen.VFPScreen; +import de.florianmichael.viafabricplus.settings.impl.AuthenticationSettings; import de.florianmichael.viafabricplus.definition.account.ClassiCubeAccountHandler; import de.florianmichael.viafabricplus.injection.access.IServerInfo; import de.florianmichael.viafabricplus.protocolhack.provider.vialegacy.ViaFabricPlusClassicMPPassProvider; -import de.florianmichael.viafabricplus.screen.base.ProtocolSelectionScreen; +import de.florianmichael.viafabricplus.screen.common.ProtocolSelectionScreen; import net.minecraft.client.MinecraftClient; import net.minecraft.client.font.TextRenderer; import net.minecraft.client.gui.DrawContext; diff --git a/src/main/java/de/florianmichael/viafabricplus/screen/base/ForceVersionScreen.java b/src/main/java/de/florianmichael/viafabricplus/screen/common/ForceVersionScreen.java similarity index 97% rename from src/main/java/de/florianmichael/viafabricplus/screen/base/ForceVersionScreen.java rename to src/main/java/de/florianmichael/viafabricplus/screen/common/ForceVersionScreen.java index 8f73b3f4..935ae5ac 100644 --- a/src/main/java/de/florianmichael/viafabricplus/screen/base/ForceVersionScreen.java +++ b/src/main/java/de/florianmichael/viafabricplus/screen/common/ForceVersionScreen.java @@ -15,9 +15,9 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.screen.base; +package de.florianmichael.viafabricplus.screen.common; -import de.florianmichael.viafabricplus.base.screen.VFPScreen; +import de.florianmichael.viafabricplus.screen.VFPScreen; import net.minecraft.client.MinecraftClient; import net.minecraft.client.font.TextRenderer; import net.minecraft.client.gui.DrawContext; diff --git a/src/main/java/de/florianmichael/viafabricplus/screen/base/ProtocolSelectionScreen.java b/src/main/java/de/florianmichael/viafabricplus/screen/common/ProtocolSelectionScreen.java similarity index 94% rename from src/main/java/de/florianmichael/viafabricplus/screen/base/ProtocolSelectionScreen.java rename to src/main/java/de/florianmichael/viafabricplus/screen/common/ProtocolSelectionScreen.java index a9164279..1c60df6f 100644 --- a/src/main/java/de/florianmichael/viafabricplus/screen/base/ProtocolSelectionScreen.java +++ b/src/main/java/de/florianmichael/viafabricplus/screen/common/ProtocolSelectionScreen.java @@ -15,16 +15,16 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.screen.base; +package de.florianmichael.viafabricplus.screen.common; import de.florianmichael.classic4j.BetaCraftHandler; -import de.florianmichael.viafabricplus.base.screen.VFPScreen; +import de.florianmichael.viafabricplus.screen.VFPScreen; import de.florianmichael.viafabricplus.definition.account.ClassiCubeAccountHandler; import de.florianmichael.viafabricplus.protocolhack.ProtocolHack; import de.florianmichael.viafabricplus.screen.settings.SettingsScreen; -import de.florianmichael.viafabricplus.screen.thirdparty.BetaCraftScreen; -import de.florianmichael.viafabricplus.screen.thirdparty.classicube.ClassiCubeLoginScreen; -import de.florianmichael.viafabricplus.screen.thirdparty.classicube.ClassiCubeServerListScreen; +import de.florianmichael.viafabricplus.screen.classic4j.BetaCraftScreen; +import de.florianmichael.viafabricplus.screen.classic4j.classicube.ClassiCubeLoginScreen; +import de.florianmichael.viafabricplus.screen.classic4j.classicube.ClassiCubeServerListScreen; import net.minecraft.client.MinecraftClient; import net.minecraft.client.font.TextRenderer; import net.minecraft.client.gui.DrawContext; @@ -54,7 +54,6 @@ public class ProtocolSelectionScreen extends VFPScreen { this.addDrawableChild(ButtonWidget.builder(Text.translatable("misc.viafabricplus.settings"), button -> SettingsScreen.INSTANCE.open(this)).position(width - 98 - 5, 5).size(98, 20).build()); // ClassiCube - final boolean loggedIn = ClassiCubeAccountHandler.INSTANCE.getAccount() != null; ButtonWidget.Builder classiCubeBuilder = ButtonWidget.builder(Text.literal("ClassiCube"), button -> { @@ -70,7 +69,6 @@ public class ProtocolSelectionScreen extends VFPScreen { this.addDrawableChild(classiCubeBuilder.build()); // BetaCraft - ButtonWidget.Builder betaCraftBuilder = ButtonWidget.builder(Text.literal("BetaCraft"), button -> { if (BetaCraftScreen.SERVER_LIST == null) { betaCraftButton = button; diff --git a/src/main/java/de/florianmichael/viafabricplus/screen/settings/SettingsScreen.java b/src/main/java/de/florianmichael/viafabricplus/screen/settings/SettingsScreen.java index f6e1032f..fd070d7c 100644 --- a/src/main/java/de/florianmichael/viafabricplus/screen/settings/SettingsScreen.java +++ b/src/main/java/de/florianmichael/viafabricplus/screen/settings/SettingsScreen.java @@ -18,10 +18,10 @@ package de.florianmichael.viafabricplus.screen.settings; import de.florianmichael.viafabricplus.ViaFabricPlus; -import de.florianmichael.viafabricplus.base.screen.MappedSlotEntry; -import de.florianmichael.viafabricplus.base.screen.VFPScreen; -import de.florianmichael.viafabricplus.base.settings.base.AbstractSetting; -import de.florianmichael.viafabricplus.base.settings.base.SettingGroup; +import de.florianmichael.viafabricplus.screen.MappedSlotEntry; +import de.florianmichael.viafabricplus.screen.VFPScreen; +import de.florianmichael.viafabricplus.settings.AbstractSetting; +import de.florianmichael.viafabricplus.settings.SettingGroup; import de.florianmichael.viafabricplus.screen.settings.settingrenderer.meta.TitleRenderer; import net.minecraft.client.MinecraftClient; import net.minecraft.client.gui.DrawContext; diff --git a/src/main/java/de/florianmichael/viafabricplus/screen/settings/settingrenderer/BooleanSettingRenderer.java b/src/main/java/de/florianmichael/viafabricplus/screen/settings/settingrenderer/BooleanSettingRenderer.java index b383b2b3..df821b3b 100644 --- a/src/main/java/de/florianmichael/viafabricplus/screen/settings/settingrenderer/BooleanSettingRenderer.java +++ b/src/main/java/de/florianmichael/viafabricplus/screen/settings/settingrenderer/BooleanSettingRenderer.java @@ -17,8 +17,8 @@ */ package de.florianmichael.viafabricplus.screen.settings.settingrenderer; -import de.florianmichael.viafabricplus.base.screen.MappedSlotEntry; -import de.florianmichael.viafabricplus.base.settings.type_impl.BooleanSetting; +import de.florianmichael.viafabricplus.screen.MappedSlotEntry; +import de.florianmichael.viafabricplus.settings.type.BooleanSetting; import net.minecraft.client.MinecraftClient; import net.minecraft.client.font.TextRenderer; import net.minecraft.client.gui.DrawContext; diff --git a/src/main/java/de/florianmichael/viafabricplus/screen/settings/settingrenderer/ButtonSettingRenderer.java b/src/main/java/de/florianmichael/viafabricplus/screen/settings/settingrenderer/ButtonSettingRenderer.java index 3acb7a79..10d4a496 100644 --- a/src/main/java/de/florianmichael/viafabricplus/screen/settings/settingrenderer/ButtonSettingRenderer.java +++ b/src/main/java/de/florianmichael/viafabricplus/screen/settings/settingrenderer/ButtonSettingRenderer.java @@ -17,8 +17,8 @@ */ package de.florianmichael.viafabricplus.screen.settings.settingrenderer; -import de.florianmichael.viafabricplus.base.screen.MappedSlotEntry; -import de.florianmichael.viafabricplus.base.settings.type_impl.ButtonSetting; +import de.florianmichael.viafabricplus.screen.MappedSlotEntry; +import de.florianmichael.viafabricplus.settings.type.ButtonSetting; import net.minecraft.client.MinecraftClient; import net.minecraft.client.font.TextRenderer; import net.minecraft.client.gui.DrawContext; diff --git a/src/main/java/de/florianmichael/viafabricplus/screen/settings/settingrenderer/ModeSettingRenderer.java b/src/main/java/de/florianmichael/viafabricplus/screen/settings/settingrenderer/ModeSettingRenderer.java index b8006333..6c003484 100644 --- a/src/main/java/de/florianmichael/viafabricplus/screen/settings/settingrenderer/ModeSettingRenderer.java +++ b/src/main/java/de/florianmichael/viafabricplus/screen/settings/settingrenderer/ModeSettingRenderer.java @@ -17,8 +17,8 @@ */ package de.florianmichael.viafabricplus.screen.settings.settingrenderer; -import de.florianmichael.viafabricplus.base.screen.MappedSlotEntry; -import de.florianmichael.viafabricplus.base.settings.type_impl.ModeSetting; +import de.florianmichael.viafabricplus.screen.MappedSlotEntry; +import de.florianmichael.viafabricplus.settings.type.ModeSetting; import net.minecraft.client.MinecraftClient; import net.minecraft.client.font.TextRenderer; import net.minecraft.client.gui.DrawContext; diff --git a/src/main/java/de/florianmichael/viafabricplus/screen/settings/settingrenderer/ProtocolSyncBooleanSettingRenderer.java b/src/main/java/de/florianmichael/viafabricplus/screen/settings/settingrenderer/ProtocolSyncBooleanSettingRenderer.java index 812b40a3..51f7d3c5 100644 --- a/src/main/java/de/florianmichael/viafabricplus/screen/settings/settingrenderer/ProtocolSyncBooleanSettingRenderer.java +++ b/src/main/java/de/florianmichael/viafabricplus/screen/settings/settingrenderer/ProtocolSyncBooleanSettingRenderer.java @@ -17,8 +17,8 @@ */ package de.florianmichael.viafabricplus.screen.settings.settingrenderer; -import de.florianmichael.viafabricplus.base.screen.MappedSlotEntry; -import de.florianmichael.viafabricplus.base.settings.type_impl.ProtocolSyncBooleanSetting; +import de.florianmichael.viafabricplus.screen.MappedSlotEntry; +import de.florianmichael.viafabricplus.settings.type.ProtocolSyncBooleanSetting; import net.minecraft.client.MinecraftClient; import net.minecraft.client.font.TextRenderer; import net.minecraft.client.gui.DrawContext; diff --git a/src/main/java/de/florianmichael/viafabricplus/screen/settings/settingrenderer/meta/TitleRenderer.java b/src/main/java/de/florianmichael/viafabricplus/screen/settings/settingrenderer/meta/TitleRenderer.java index e9da1854..ca2c7619 100644 --- a/src/main/java/de/florianmichael/viafabricplus/screen/settings/settingrenderer/meta/TitleRenderer.java +++ b/src/main/java/de/florianmichael/viafabricplus/screen/settings/settingrenderer/meta/TitleRenderer.java @@ -17,7 +17,7 @@ */ package de.florianmichael.viafabricplus.screen.settings.settingrenderer.meta; -import de.florianmichael.viafabricplus.base.screen.MappedSlotEntry; +import de.florianmichael.viafabricplus.screen.MappedSlotEntry; import net.minecraft.client.MinecraftClient; import net.minecraft.client.font.TextRenderer; import net.minecraft.client.gui.DrawContext; diff --git a/src/main/java/de/florianmichael/viafabricplus/base/settings/base/AbstractSetting.java b/src/main/java/de/florianmichael/viafabricplus/settings/AbstractSetting.java similarity index 94% rename from src/main/java/de/florianmichael/viafabricplus/base/settings/base/AbstractSetting.java rename to src/main/java/de/florianmichael/viafabricplus/settings/AbstractSetting.java index eee8a75c..29551942 100644 --- a/src/main/java/de/florianmichael/viafabricplus/base/settings/base/AbstractSetting.java +++ b/src/main/java/de/florianmichael/viafabricplus/settings/AbstractSetting.java @@ -15,10 +15,10 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.base.settings.base; +package de.florianmichael.viafabricplus.settings; import com.google.gson.JsonObject; -import de.florianmichael.viafabricplus.base.screen.MappedSlotEntry; +import de.florianmichael.viafabricplus.screen.MappedSlotEntry; import net.minecraft.text.MutableText; import net.minecraft.text.TranslatableTextContent; diff --git a/src/main/java/de/florianmichael/viafabricplus/base/settings/base/SettingGroup.java b/src/main/java/de/florianmichael/viafabricplus/settings/SettingGroup.java similarity index 93% rename from src/main/java/de/florianmichael/viafabricplus/base/settings/base/SettingGroup.java rename to src/main/java/de/florianmichael/viafabricplus/settings/SettingGroup.java index abbc70af..28ca904c 100644 --- a/src/main/java/de/florianmichael/viafabricplus/base/settings/base/SettingGroup.java +++ b/src/main/java/de/florianmichael/viafabricplus/settings/SettingGroup.java @@ -15,10 +15,12 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.base.settings.base; +package de.florianmichael.viafabricplus.settings; import java.util.ArrayList; import java.util.List; + +import de.florianmichael.viafabricplus.settings.AbstractSetting; import net.minecraft.text.Text; /** diff --git a/src/main/java/de/florianmichael/viafabricplus/base/settings/SettingsSystem.java b/src/main/java/de/florianmichael/viafabricplus/settings/SettingsSystem.java similarity index 89% rename from src/main/java/de/florianmichael/viafabricplus/base/settings/SettingsSystem.java rename to src/main/java/de/florianmichael/viafabricplus/settings/SettingsSystem.java index 501cdbd7..b2307771 100644 --- a/src/main/java/de/florianmichael/viafabricplus/base/settings/SettingsSystem.java +++ b/src/main/java/de/florianmichael/viafabricplus/settings/SettingsSystem.java @@ -15,13 +15,11 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.base.settings; +package de.florianmichael.viafabricplus.settings; import com.google.gson.JsonObject; -import de.florianmichael.viafabricplus.base.event.InitializeSettingsCallback; -import de.florianmichael.viafabricplus.base.settings.base.AbstractSetting; -import de.florianmichael.viafabricplus.base.settings.base.SettingGroup; -import de.florianmichael.viafabricplus.base.settings.groups.*; +import de.florianmichael.viafabricplus.event.InitializeSettingsCallback; +import de.florianmichael.viafabricplus.settings.impl.*; import de.florianmichael.viafabricplus.util.FileSaver; import de.florianmichael.viafabricplus.protocolhack.ProtocolHack; import net.raphimc.vialoader.util.VersionEnum; diff --git a/src/main/java/de/florianmichael/viafabricplus/base/settings/groups/AuthenticationSettings.java b/src/main/java/de/florianmichael/viafabricplus/settings/impl/AuthenticationSettings.java similarity index 90% rename from src/main/java/de/florianmichael/viafabricplus/base/settings/groups/AuthenticationSettings.java rename to src/main/java/de/florianmichael/viafabricplus/settings/impl/AuthenticationSettings.java index 8e43ff12..dfa6ee66 100644 --- a/src/main/java/de/florianmichael/viafabricplus/base/settings/groups/AuthenticationSettings.java +++ b/src/main/java/de/florianmichael/viafabricplus/settings/impl/AuthenticationSettings.java @@ -15,10 +15,10 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.base.settings.groups; +package de.florianmichael.viafabricplus.settings.impl; -import de.florianmichael.viafabricplus.base.settings.base.SettingGroup; -import de.florianmichael.viafabricplus.base.settings.type_impl.BooleanSetting; +import de.florianmichael.viafabricplus.settings.SettingGroup; +import de.florianmichael.viafabricplus.settings.type.BooleanSetting; import net.minecraft.text.Text; public class AuthenticationSettings extends SettingGroup { diff --git a/src/main/java/de/florianmichael/viafabricplus/base/settings/groups/BedrockSettings.java b/src/main/java/de/florianmichael/viafabricplus/settings/impl/BedrockSettings.java similarity index 94% rename from src/main/java/de/florianmichael/viafabricplus/base/settings/groups/BedrockSettings.java rename to src/main/java/de/florianmichael/viafabricplus/settings/impl/BedrockSettings.java index 349ae80f..c02b6bc5 100644 --- a/src/main/java/de/florianmichael/viafabricplus/base/settings/groups/BedrockSettings.java +++ b/src/main/java/de/florianmichael/viafabricplus/settings/impl/BedrockSettings.java @@ -15,12 +15,12 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.base.settings.groups; +package de.florianmichael.viafabricplus.settings.impl; import com.mojang.blaze3d.systems.RenderSystem; -import de.florianmichael.viafabricplus.base.settings.base.SettingGroup; -import de.florianmichael.viafabricplus.base.settings.type_impl.BooleanSetting; -import de.florianmichael.viafabricplus.base.settings.type_impl.ButtonSetting; +import de.florianmichael.viafabricplus.settings.SettingGroup; +import de.florianmichael.viafabricplus.settings.type.BooleanSetting; +import de.florianmichael.viafabricplus.settings.type.ButtonSetting; import de.florianmichael.viafabricplus.definition.account.BedrockAccountHandler; import net.minecraft.client.MinecraftClient; import net.minecraft.client.gui.screen.ConfirmScreen; diff --git a/src/main/java/de/florianmichael/viafabricplus/base/settings/groups/DebugSettings.java b/src/main/java/de/florianmichael/viafabricplus/settings/impl/DebugSettings.java similarity index 89% rename from src/main/java/de/florianmichael/viafabricplus/base/settings/groups/DebugSettings.java rename to src/main/java/de/florianmichael/viafabricplus/settings/impl/DebugSettings.java index 6670cccb..80a93391 100644 --- a/src/main/java/de/florianmichael/viafabricplus/base/settings/groups/DebugSettings.java +++ b/src/main/java/de/florianmichael/viafabricplus/settings/impl/DebugSettings.java @@ -15,16 +15,12 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.base.settings.groups; +package de.florianmichael.viafabricplus.settings.impl; import net.raphimc.vialoader.util.VersionEnum; -import com.viaversion.viaversion.api.protocol.version.ProtocolVersion; -import de.florianmichael.viafabricplus.base.settings.base.SettingGroup; -import de.florianmichael.viafabricplus.base.settings.type_impl.ProtocolSyncBooleanSetting; +import de.florianmichael.viafabricplus.settings.SettingGroup; +import de.florianmichael.viafabricplus.settings.type.ProtocolSyncBooleanSetting; import net.minecraft.text.Text; -import net.raphimc.vialoader.util.VersionEnum; -import net.raphimc.vialegacy.api.LegacyProtocolVersion; -import net.raphimc.vialoader.util.VersionEnum; import net.raphimc.vialoader.util.VersionRange; public class DebugSettings extends SettingGroup { diff --git a/src/main/java/de/florianmichael/viafabricplus/base/settings/groups/ExperimentalSettings.java b/src/main/java/de/florianmichael/viafabricplus/settings/impl/ExperimentalSettings.java similarity index 87% rename from src/main/java/de/florianmichael/viafabricplus/base/settings/groups/ExperimentalSettings.java rename to src/main/java/de/florianmichael/viafabricplus/settings/impl/ExperimentalSettings.java index d6bd19f7..a2997c64 100644 --- a/src/main/java/de/florianmichael/viafabricplus/base/settings/groups/ExperimentalSettings.java +++ b/src/main/java/de/florianmichael/viafabricplus/settings/impl/ExperimentalSettings.java @@ -15,10 +15,10 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.base.settings.groups; +package de.florianmichael.viafabricplus.settings.impl; -import de.florianmichael.viafabricplus.base.settings.base.SettingGroup; -import de.florianmichael.viafabricplus.base.settings.type_impl.BooleanSetting; +import de.florianmichael.viafabricplus.settings.SettingGroup; +import de.florianmichael.viafabricplus.settings.type.BooleanSetting; import net.minecraft.text.Text; public class ExperimentalSettings extends SettingGroup { diff --git a/src/main/java/de/florianmichael/viafabricplus/base/settings/groups/GeneralSettings.java b/src/main/java/de/florianmichael/viafabricplus/settings/impl/GeneralSettings.java similarity index 91% rename from src/main/java/de/florianmichael/viafabricplus/base/settings/groups/GeneralSettings.java rename to src/main/java/de/florianmichael/viafabricplus/settings/impl/GeneralSettings.java index 86681e81..2648a526 100644 --- a/src/main/java/de/florianmichael/viafabricplus/base/settings/groups/GeneralSettings.java +++ b/src/main/java/de/florianmichael/viafabricplus/settings/impl/GeneralSettings.java @@ -15,11 +15,11 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.base.settings.groups; +package de.florianmichael.viafabricplus.settings.impl; -import de.florianmichael.viafabricplus.base.settings.base.SettingGroup; -import de.florianmichael.viafabricplus.base.settings.type_impl.BooleanSetting; -import de.florianmichael.viafabricplus.base.settings.type_impl.ModeSetting; +import de.florianmichael.viafabricplus.settings.SettingGroup; +import de.florianmichael.viafabricplus.settings.type.BooleanSetting; +import de.florianmichael.viafabricplus.settings.type.ModeSetting; import net.minecraft.text.Text; public class GeneralSettings extends SettingGroup { diff --git a/src/main/java/de/florianmichael/viafabricplus/base/settings/groups/VisualSettings.java b/src/main/java/de/florianmichael/viafabricplus/settings/impl/VisualSettings.java similarity index 94% rename from src/main/java/de/florianmichael/viafabricplus/base/settings/groups/VisualSettings.java rename to src/main/java/de/florianmichael/viafabricplus/settings/impl/VisualSettings.java index 876ec3dd..27e7ddbc 100644 --- a/src/main/java/de/florianmichael/viafabricplus/base/settings/groups/VisualSettings.java +++ b/src/main/java/de/florianmichael/viafabricplus/settings/impl/VisualSettings.java @@ -15,11 +15,11 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.base.settings.groups; +package de.florianmichael.viafabricplus.settings.impl; import net.raphimc.vialoader.util.VersionEnum; -import de.florianmichael.viafabricplus.base.settings.base.SettingGroup; -import de.florianmichael.viafabricplus.base.settings.type_impl.ProtocolSyncBooleanSetting; +import de.florianmichael.viafabricplus.settings.SettingGroup; +import de.florianmichael.viafabricplus.settings.type.ProtocolSyncBooleanSetting; import net.minecraft.text.Text; import net.raphimc.vialoader.util.VersionRange; diff --git a/src/main/java/de/florianmichael/viafabricplus/base/settings/type_impl/BooleanSetting.java b/src/main/java/de/florianmichael/viafabricplus/settings/type/BooleanSetting.java similarity index 85% rename from src/main/java/de/florianmichael/viafabricplus/base/settings/type_impl/BooleanSetting.java rename to src/main/java/de/florianmichael/viafabricplus/settings/type/BooleanSetting.java index 21095c27..d803a888 100644 --- a/src/main/java/de/florianmichael/viafabricplus/base/settings/type_impl/BooleanSetting.java +++ b/src/main/java/de/florianmichael/viafabricplus/settings/type/BooleanSetting.java @@ -15,13 +15,13 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.base.settings.type_impl; +package de.florianmichael.viafabricplus.settings.type; import com.google.gson.JsonObject; -import de.florianmichael.viafabricplus.base.screen.MappedSlotEntry; +import de.florianmichael.viafabricplus.screen.MappedSlotEntry; import de.florianmichael.viafabricplus.screen.settings.settingrenderer.BooleanSettingRenderer; -import de.florianmichael.viafabricplus.base.settings.base.AbstractSetting; -import de.florianmichael.viafabricplus.base.settings.base.SettingGroup; +import de.florianmichael.viafabricplus.settings.AbstractSetting; +import de.florianmichael.viafabricplus.settings.SettingGroup; import net.minecraft.text.MutableText; public class BooleanSetting extends AbstractSetting { diff --git a/src/main/java/de/florianmichael/viafabricplus/base/settings/type_impl/ButtonSetting.java b/src/main/java/de/florianmichael/viafabricplus/settings/type/ButtonSetting.java similarity index 84% rename from src/main/java/de/florianmichael/viafabricplus/base/settings/type_impl/ButtonSetting.java rename to src/main/java/de/florianmichael/viafabricplus/settings/type/ButtonSetting.java index 49ba2593..d07582c1 100644 --- a/src/main/java/de/florianmichael/viafabricplus/base/settings/type_impl/ButtonSetting.java +++ b/src/main/java/de/florianmichael/viafabricplus/settings/type/ButtonSetting.java @@ -15,13 +15,13 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.base.settings.type_impl; +package de.florianmichael.viafabricplus.settings.type; import com.google.gson.JsonObject; -import de.florianmichael.viafabricplus.base.screen.MappedSlotEntry; +import de.florianmichael.viafabricplus.screen.MappedSlotEntry; import de.florianmichael.viafabricplus.screen.settings.settingrenderer.ButtonSettingRenderer; -import de.florianmichael.viafabricplus.base.settings.base.AbstractSetting; -import de.florianmichael.viafabricplus.base.settings.base.SettingGroup; +import de.florianmichael.viafabricplus.settings.AbstractSetting; +import de.florianmichael.viafabricplus.settings.SettingGroup; import net.minecraft.text.MutableText; public class ButtonSetting extends AbstractSetting { diff --git a/src/main/java/de/florianmichael/viafabricplus/base/settings/type_impl/ModeSetting.java b/src/main/java/de/florianmichael/viafabricplus/settings/type/ModeSetting.java similarity index 88% rename from src/main/java/de/florianmichael/viafabricplus/base/settings/type_impl/ModeSetting.java rename to src/main/java/de/florianmichael/viafabricplus/settings/type/ModeSetting.java index cfa14806..ebbcacdf 100644 --- a/src/main/java/de/florianmichael/viafabricplus/base/settings/type_impl/ModeSetting.java +++ b/src/main/java/de/florianmichael/viafabricplus/settings/type/ModeSetting.java @@ -15,13 +15,13 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.base.settings.type_impl; +package de.florianmichael.viafabricplus.settings.type; import com.google.gson.JsonObject; -import de.florianmichael.viafabricplus.base.screen.MappedSlotEntry; +import de.florianmichael.viafabricplus.screen.MappedSlotEntry; import de.florianmichael.viafabricplus.screen.settings.settingrenderer.ModeSettingRenderer; -import de.florianmichael.viafabricplus.base.settings.base.AbstractSetting; -import de.florianmichael.viafabricplus.base.settings.base.SettingGroup; +import de.florianmichael.viafabricplus.settings.AbstractSetting; +import de.florianmichael.viafabricplus.settings.SettingGroup; import net.minecraft.text.MutableText; import java.util.Arrays; diff --git a/src/main/java/de/florianmichael/viafabricplus/base/settings/type_impl/ProtocolSyncBooleanSetting.java b/src/main/java/de/florianmichael/viafabricplus/settings/type/ProtocolSyncBooleanSetting.java similarity index 90% rename from src/main/java/de/florianmichael/viafabricplus/base/settings/type_impl/ProtocolSyncBooleanSetting.java rename to src/main/java/de/florianmichael/viafabricplus/settings/type/ProtocolSyncBooleanSetting.java index 2fc8ca1f..c9145330 100644 --- a/src/main/java/de/florianmichael/viafabricplus/base/settings/type_impl/ProtocolSyncBooleanSetting.java +++ b/src/main/java/de/florianmichael/viafabricplus/settings/type/ProtocolSyncBooleanSetting.java @@ -15,13 +15,13 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.florianmichael.viafabricplus.base.settings.type_impl; +package de.florianmichael.viafabricplus.settings.type; import com.google.gson.JsonObject; -import de.florianmichael.viafabricplus.base.settings.base.AbstractSetting; -import de.florianmichael.viafabricplus.base.screen.MappedSlotEntry; +import de.florianmichael.viafabricplus.settings.AbstractSetting; +import de.florianmichael.viafabricplus.screen.MappedSlotEntry; import de.florianmichael.viafabricplus.screen.settings.settingrenderer.ProtocolSyncBooleanSettingRenderer; -import de.florianmichael.viafabricplus.base.settings.base.SettingGroup; +import de.florianmichael.viafabricplus.settings.SettingGroup; import de.florianmichael.viafabricplus.protocolhack.ProtocolHack; import net.minecraft.text.MutableText; import net.raphimc.vialoader.util.VersionRange;