diff --git a/src/main/java/com/viaversion/viafabricplus/base/save/SaveManager.java b/src/main/java/com/viaversion/viafabricplus/base/save/SaveManager.java index 5dab664f..ffa15e1a 100644 --- a/src/main/java/com/viaversion/viafabricplus/base/save/SaveManager.java +++ b/src/main/java/com/viaversion/viafabricplus/base/save/SaveManager.java @@ -61,7 +61,6 @@ public class SaveManager { })); } - @ApiStatus.Internal public void postInit() { for (AbstractSave save : saves) { save.postInit(); diff --git a/src/main/java/com/viaversion/viafabricplus/features/classic_world_height/WorldHeightSupport.java b/src/main/java/com/viaversion/viafabricplus/features/classic_world_height/WorldHeightSupport.java index 4d2242dd..10abbdd9 100644 --- a/src/main/java/com/viaversion/viafabricplus/features/classic_world_height/WorldHeightSupport.java +++ b/src/main/java/com/viaversion/viafabricplus/features/classic_world_height/WorldHeightSupport.java @@ -40,7 +40,6 @@ import java.util.ArrayList; import java.util.BitSet; import java.util.List; -@ApiStatus.Internal public class WorldHeightSupport { public static PacketHandler handleJoinGame(final PacketHandler parentHandler) { diff --git a/src/main/java/com/viaversion/viafabricplus/features/cpe_extensions/CPEAdditions.java b/src/main/java/com/viaversion/viafabricplus/features/cpe_extensions/CPEAdditions.java index 11f81e58..73721456 100644 --- a/src/main/java/com/viaversion/viafabricplus/features/cpe_extensions/CPEAdditions.java +++ b/src/main/java/com/viaversion/viafabricplus/features/cpe_extensions/CPEAdditions.java @@ -45,18 +45,15 @@ public class CPEAdditions { private static boolean snowing = false; - @ApiStatus.Internal public static void modifyMappings() { allowExtension(ClassicProtocolExtension.ENV_WEATHER_TYPE); EXT_WEATHER_TYPE = createNewPacket(ClassicProtocolExtension.ENV_WEATHER_TYPE, 31, (user, buf) -> buf.readByte()); } - @ApiStatus.Internal public static boolean isSnowing() { return ProtocolTranslator.getTargetVersion().equals(LegacyProtocolVersion.c0_30cpe) && snowing; } - @ApiStatus.Internal public static void setSnowing(boolean snowing) { CPEAdditions.snowing = snowing; } diff --git a/src/main/java/com/viaversion/viafabricplus/features/footstep_particle/FootStepParticle1_12_2.java b/src/main/java/com/viaversion/viafabricplus/features/footstep_particle/FootStepParticle1_12_2.java index 87bc9a1a..6a0d389e 100644 --- a/src/main/java/com/viaversion/viafabricplus/features/footstep_particle/FootStepParticle1_12_2.java +++ b/src/main/java/com/viaversion/viafabricplus/features/footstep_particle/FootStepParticle1_12_2.java @@ -37,7 +37,6 @@ import net.minecraft.util.math.MathHelper; import net.minecraft.util.math.Vec3d; import org.jetbrains.annotations.ApiStatus; -@ApiStatus.Internal public class FootStepParticle1_12_2 extends SpriteBillboardParticle { public static final Identifier ID = Identifier.of("viafabricplus", "footstep"); diff --git a/src/main/java/com/viaversion/viafabricplus/features/networking/resource_pack_header/ResourcePackHeaderDiff.java b/src/main/java/com/viaversion/viafabricplus/features/networking/resource_pack_header/ResourcePackHeaderDiff.java index 74fca59b..c6f06a92 100644 --- a/src/main/java/com/viaversion/viafabricplus/features/networking/resource_pack_header/ResourcePackHeaderDiff.java +++ b/src/main/java/com/viaversion/viafabricplus/features/networking/resource_pack_header/ResourcePackHeaderDiff.java @@ -87,7 +87,6 @@ public class ResourcePackHeaderDiff { registerVersion(ProtocolVersion.v1_7_2, 1, "1.7.5"); } - @ApiStatus.Internal public static void checkOutdated() { if (!GAME_VERSION_DIFF.containsKey(ProtocolTranslator.NATIVE_VERSION)) { throw new RuntimeException("The native client version is not registered in the resource pack header diff!"); diff --git a/src/main/java/com/viaversion/viafabricplus/features/recipe_emulation/Recipes1_11_2.java b/src/main/java/com/viaversion/viafabricplus/features/recipe_emulation/Recipes1_11_2.java index 11ed0a7b..70c8537a 100644 --- a/src/main/java/com/viaversion/viafabricplus/features/recipe_emulation/Recipes1_11_2.java +++ b/src/main/java/com/viaversion/viafabricplus/features/recipe_emulation/Recipes1_11_2.java @@ -732,7 +732,6 @@ public class Recipes1_11_2 { * @param screenHandler The screen handler * @param inventory The inventory of the screen handler */ - @ApiStatus.Internal public static void setCraftingResultSlot(final int syncId, final ScreenHandler screenHandler, final RecipeInputInventory inventory) { final ClientPlayNetworkHandler network = MinecraftClient.getInstance().getNetworkHandler(); final ClientWorld world = MinecraftClient.getInstance().world; diff --git a/src/main/java/com/viaversion/viafabricplus/features/text_rendering/non_existing_characters/UnicodeFontFix1_12_2.java b/src/main/java/com/viaversion/viafabricplus/features/text_rendering/non_existing_characters/UnicodeFontFix1_12_2.java index 52e40b16..addd8c26 100644 --- a/src/main/java/com/viaversion/viafabricplus/features/text_rendering/non_existing_characters/UnicodeFontFix1_12_2.java +++ b/src/main/java/com/viaversion/viafabricplus/features/text_rendering/non_existing_characters/UnicodeFontFix1_12_2.java @@ -36,7 +36,6 @@ import org.jetbrains.annotations.ApiStatus; * Older versions only had unicode font support for some languages and therefore servers are expecting the client * to use a unicode font, not using it on older versions can cause issues with wrong dimensions in chat components. */ -@ApiStatus.Internal public class UnicodeFontFix1_12_2 { private static boolean enabled = false; diff --git a/src/main/java/com/viaversion/viafabricplus/features/ui/armor_hud/ArmorHudEmulation1_8.java b/src/main/java/com/viaversion/viafabricplus/features/ui/armor_hud/ArmorHudEmulation1_8.java index de3f9cea..dca60d96 100644 --- a/src/main/java/com/viaversion/viafabricplus/features/ui/armor_hud/ArmorHudEmulation1_8.java +++ b/src/main/java/com/viaversion/viafabricplus/features/ui/armor_hud/ArmorHudEmulation1_8.java @@ -38,7 +38,6 @@ import org.jetbrains.annotations.ApiStatus; import java.util.UUID; -@ApiStatus.Internal public class ArmorHudEmulation1_8 { private static final UUID ARMOR_POINTS_UUID = UUID.fromString("2AD3F246-FEE1-4E67-B886-69FD380BB150"); diff --git a/src/main/java/com/viaversion/viafabricplus/features/world/item_picking/ItemPick1_21_3.java b/src/main/java/com/viaversion/viafabricplus/features/world/item_picking/ItemPick1_21_3.java index e9cab0b0..75bde443 100644 --- a/src/main/java/com/viaversion/viafabricplus/features/world/item_picking/ItemPick1_21_3.java +++ b/src/main/java/com/viaversion/viafabricplus/features/world/item_picking/ItemPick1_21_3.java @@ -42,9 +42,7 @@ import net.minecraft.util.hit.BlockHitResult; import net.minecraft.util.hit.EntityHitResult; import net.minecraft.util.hit.HitResult; import net.minecraft.util.math.BlockPos; -import org.jetbrains.annotations.ApiStatus; -@ApiStatus.Internal public class ItemPick1_21_3 { private static void addPickBlock(final PlayerInventory inventory, final ItemStack stack) { diff --git a/src/main/java/com/viaversion/viafabricplus/old/versioned/EnchantmentAttributesEmulation1_20_6.java b/src/main/java/com/viaversion/viafabricplus/old/versioned/EnchantmentAttributesEmulation1_20_6.java index a03816c6..646c5e72 100644 --- a/src/main/java/com/viaversion/viafabricplus/old/versioned/EnchantmentAttributesEmulation1_20_6.java +++ b/src/main/java/com/viaversion/viafabricplus/old/versioned/EnchantmentAttributesEmulation1_20_6.java @@ -39,7 +39,6 @@ import org.jetbrains.annotations.ApiStatus; import java.util.Optional; -@ApiStatus.Internal public class EnchantmentAttributesEmulation1_20_6 { static { diff --git a/src/main/java/com/viaversion/viafabricplus/protocoltranslator/ProtocolTranslator.java b/src/main/java/com/viaversion/viafabricplus/protocoltranslator/ProtocolTranslator.java index 8ea1bb97..205c2182 100644 --- a/src/main/java/com/viaversion/viafabricplus/protocoltranslator/ProtocolTranslator.java +++ b/src/main/java/com/viaversion/viafabricplus/protocoltranslator/ProtocolTranslator.java @@ -133,7 +133,6 @@ public class ProtocolTranslator { * * @param connection the Minecraft connection */ - @ApiStatus.Internal public static void injectViaPipeline(final ClientConnection connection, final Channel channel) { final IClientConnection mixinClientConnection = (IClientConnection) connection; final ProtocolVersion serverVersion = mixinClientConnection.viaFabricPlus$getTargetVersion(); @@ -193,7 +192,6 @@ public class ProtocolTranslator { /** * Resets the previous version if it is set. Calling {@link #setTargetVersion(ProtocolVersion, boolean)} with revertOnDisconnect set to true will set it. */ - @ApiStatus.Internal public static void injectPreviousVersionReset(final Channel channel) { if (previousVersion == null) { return; @@ -282,7 +280,6 @@ public class ProtocolTranslator { * @param path The path where the ViaVersion config files are located * @return A CompletableFuture that will be completed when the initialization is done */ - @ApiStatus.Internal public static CompletableFuture init(final Path path) { if (SharedConstants.getProtocolVersion() != NATIVE_VERSION.getOriginalVersion()) { throw new IllegalStateException("Native version is not the same as the current version"); diff --git a/src/main/java/com/viaversion/viafabricplus/util/ClassLoaderPriorityUtil.java b/src/main/java/com/viaversion/viafabricplus/util/ClassLoaderPriorityUtil.java index 02d81014..948c66f1 100644 --- a/src/main/java/com/viaversion/viafabricplus/util/ClassLoaderPriorityUtil.java +++ b/src/main/java/com/viaversion/viafabricplus/util/ClassLoaderPriorityUtil.java @@ -33,7 +33,6 @@ import java.nio.file.Path; /** * Allows the user to override the Via* jar files with custom ones using the "jars" folder in the run directory */ -@ApiStatus.Internal public class ClassLoaderPriorityUtil { /**