diff --git a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/Ingredient.java b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/Ingredient.java index 8c758312c6..ae6031d7dd 100644 --- a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/Ingredient.java +++ b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/Ingredient.java @@ -20,7 +20,12 @@ import com.github.retrooper.packetevents.protocol.item.ItemStack; import com.github.retrooper.packetevents.wrapper.PacketWrapper; +import org.jetbrains.annotations.ApiStatus; +/** + * WARNING: No longer exists since 1.21.2, network recipe data was rewritten. + */ +@ApiStatus.Obsolete public class Ingredient { private final ItemStack[] options; diff --git a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/Recipe.java b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/Recipe.java index b171c33926..87dc6c20d9 100644 --- a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/Recipe.java +++ b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/Recipe.java @@ -22,7 +22,12 @@ import com.github.retrooper.packetevents.protocol.recipe.data.RecipeData; import com.github.retrooper.packetevents.resources.ResourceLocation; import com.github.retrooper.packetevents.wrapper.PacketWrapper; +import org.jetbrains.annotations.ApiStatus; +/** + * WARNING: No longer exists since 1.21.2, network recipe data was rewritten. + */ +@ApiStatus.Obsolete public class Recipe { private final ResourceLocation key; diff --git a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/RecipeSerializer.java b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/RecipeSerializer.java index bfde499413..843222ff17 100644 --- a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/RecipeSerializer.java +++ b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/RecipeSerializer.java @@ -21,7 +21,12 @@ import com.github.retrooper.packetevents.protocol.mapper.MappedEntity; import com.github.retrooper.packetevents.protocol.recipe.data.RecipeData; import com.github.retrooper.packetevents.wrapper.PacketWrapper; +import org.jetbrains.annotations.ApiStatus; +/** + * WARNING: No longer exists since 1.21.2, network recipe data was rewritten. + */ +@ApiStatus.Obsolete public interface RecipeSerializer extends MappedEntity { @Deprecated diff --git a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/RecipeSerializers.java b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/RecipeSerializers.java index 30f5525825..6c16f92be8 100644 --- a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/RecipeSerializers.java +++ b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/RecipeSerializers.java @@ -40,6 +40,10 @@ import java.util.HashMap; import java.util.Map; +/** + * WARNING: No longer exists since 1.21.2, network recipe data was rewritten. + */ +@ApiStatus.Obsolete public class RecipeSerializers { private static final Map> PATTERN_TYPE_MAP = new HashMap<>(); diff --git a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/CookedRecipeData.java b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/CookedRecipeData.java index aa97f2aa9e..85babef818 100644 --- a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/CookedRecipeData.java +++ b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/CookedRecipeData.java @@ -23,7 +23,12 @@ import com.github.retrooper.packetevents.protocol.recipe.CookingCategory; import com.github.retrooper.packetevents.protocol.recipe.Ingredient; import com.github.retrooper.packetevents.wrapper.PacketWrapper; +import org.jetbrains.annotations.ApiStatus; +/** + * WARNING: No longer exists since 1.21.2, network recipe data was rewritten. + */ +@ApiStatus.Obsolete public class CookedRecipeData implements RecipeData { private final String group; diff --git a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/RecipeData.java b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/RecipeData.java index 3245030273..ee9cab0ba9 100644 --- a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/RecipeData.java +++ b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/RecipeData.java @@ -18,5 +18,11 @@ package com.github.retrooper.packetevents.protocol.recipe.data; +import org.jetbrains.annotations.ApiStatus; + +/** + * WARNING: No longer exists since 1.21.2, network recipe data was rewritten. + */ +@ApiStatus.Obsolete public interface RecipeData { } diff --git a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/ShapedRecipeData.java b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/ShapedRecipeData.java index 6dae3b14c9..d9e7b4f80a 100644 --- a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/ShapedRecipeData.java +++ b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/ShapedRecipeData.java @@ -23,7 +23,12 @@ import com.github.retrooper.packetevents.protocol.recipe.CraftingCategory; import com.github.retrooper.packetevents.protocol.recipe.Ingredient; import com.github.retrooper.packetevents.wrapper.PacketWrapper; +import org.jetbrains.annotations.ApiStatus; +/** + * WARNING: No longer exists since 1.21.2, network recipe data was rewritten. + */ +@ApiStatus.Obsolete public class ShapedRecipeData implements RecipeData { private final String group; diff --git a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/ShapelessRecipeData.java b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/ShapelessRecipeData.java index aafbd37f09..f3c38eac74 100644 --- a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/ShapelessRecipeData.java +++ b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/ShapelessRecipeData.java @@ -23,7 +23,12 @@ import com.github.retrooper.packetevents.protocol.recipe.CraftingCategory; import com.github.retrooper.packetevents.protocol.recipe.Ingredient; import com.github.retrooper.packetevents.wrapper.PacketWrapper; +import org.jetbrains.annotations.ApiStatus; +/** + * WARNING: No longer exists since 1.21.2, network recipe data was rewritten. + */ +@ApiStatus.Obsolete public class ShapelessRecipeData implements RecipeData { private final String group; diff --git a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/SimpleRecipeData.java b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/SimpleRecipeData.java index 37c9a30b27..860cfe0205 100644 --- a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/SimpleRecipeData.java +++ b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/SimpleRecipeData.java @@ -21,7 +21,12 @@ import com.github.retrooper.packetevents.manager.server.ServerVersion; import com.github.retrooper.packetevents.protocol.recipe.CraftingCategory; import com.github.retrooper.packetevents.wrapper.PacketWrapper; +import org.jetbrains.annotations.ApiStatus; +/** + * WARNING: No longer exists since 1.21.2, network recipe data was rewritten. + */ +@ApiStatus.Obsolete public class SimpleRecipeData implements RecipeData { private final CraftingCategory category; diff --git a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/SmithingRecipeData.java b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/SmithingRecipeData.java index be14a5f97d..1250c15616 100644 --- a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/SmithingRecipeData.java +++ b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/SmithingRecipeData.java @@ -22,8 +22,13 @@ import com.github.retrooper.packetevents.protocol.item.ItemStack; import com.github.retrooper.packetevents.protocol.recipe.Ingredient; import com.github.retrooper.packetevents.wrapper.PacketWrapper; +import org.jetbrains.annotations.ApiStatus; import org.jetbrains.annotations.UnknownNullability; +/** + * WARNING: No longer exists since 1.21.2, network recipe data was rewritten. + */ +@ApiStatus.Obsolete public class SmithingRecipeData implements RecipeData { private final @UnknownNullability Ingredient template; diff --git a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/SmithingTrimRecipeData.java b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/SmithingTrimRecipeData.java index 4b484096c1..de204f85dd 100644 --- a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/SmithingTrimRecipeData.java +++ b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/SmithingTrimRecipeData.java @@ -20,7 +20,12 @@ import com.github.retrooper.packetevents.protocol.recipe.Ingredient; import com.github.retrooper.packetevents.wrapper.PacketWrapper; +import org.jetbrains.annotations.ApiStatus; +/** + * WARNING: No longer exists since 1.21.2, network recipe data was rewritten. + */ +@ApiStatus.Obsolete public class SmithingTrimRecipeData implements RecipeData { private final Ingredient template; diff --git a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/StoneCuttingRecipeData.java b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/StoneCuttingRecipeData.java index 94471a9289..feeb8665a4 100644 --- a/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/StoneCuttingRecipeData.java +++ b/api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/data/StoneCuttingRecipeData.java @@ -21,7 +21,12 @@ import com.github.retrooper.packetevents.protocol.item.ItemStack; import com.github.retrooper.packetevents.protocol.recipe.Ingredient; import com.github.retrooper.packetevents.wrapper.PacketWrapper; +import org.jetbrains.annotations.ApiStatus; +/** + * WARNING: No longer exists since 1.21.2, network recipe data was rewritten. + */ +@ApiStatus.Obsolete public class StoneCuttingRecipeData implements RecipeData { private final String group;