Class RecipeSerializers
java.lang.Object
com.github.retrooper.packetevents.protocol.recipe.RecipeSerializers
WARNING: No longer exists since 1.21.2, network recipe data was rewritten.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final RecipeSerializer
<CookedRecipeData> static final RecipeSerializer
<CookedRecipeData> static final RecipeSerializer
<SimpleRecipeData> static final RecipeSerializer
<ShapedRecipeData> static final RecipeSerializer
<ShapelessRecipeData> static final RecipeSerializer
<SimpleRecipeData> static final RecipeSerializer
<SimpleRecipeData> static final RecipeSerializer
<SimpleRecipeData> static final RecipeSerializer
<SimpleRecipeData> static final RecipeSerializer
<SimpleRecipeData> static final RecipeSerializer
<SimpleRecipeData> static final RecipeSerializer
<SimpleRecipeData> static final RecipeSerializer
<SimpleRecipeData> static final RecipeSerializer
<SimpleRecipeData> static final RecipeSerializer
<SimpleRecipeData> static final RecipeSerializer
<SimpleRecipeData> static final RecipeSerializer
<SimpleRecipeData> static final RecipeSerializer
<SimpleRecipeData> static final RecipeSerializer
<CookedRecipeData> static final RecipeSerializer
<SmithingRecipeData> static final RecipeSerializer
<SmithingRecipeData> static final RecipeSerializer
<SmithingTrimRecipeData> static final RecipeSerializer
<CookedRecipeData> static final RecipeSerializer
<StoneCuttingRecipeData> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends RecipeData>
RecipeSerializer<T> define
(String key, PacketWrapper.Reader<T> reader, PacketWrapper.Writer<T> writer) static <T extends RecipeData>
RecipeSerializer<T> define
(String key, PacketWrapper.Reader<T> reader, PacketWrapper.Writer<T> writer, @Nullable RecipeType recipeType) static RecipeSerializer
<?> getById
(ClientVersion version, int id) static RecipeSerializer
<?> static Collection
<RecipeSerializer<?>> values()
Returns an immutable view of the banner patterns.
-
Field Details
-
CRAFTING_SHAPED
-
CRAFTING_SHAPELESS
-
CRAFTING_SPECIAL_ARMORDYE
-
CRAFTING_SPECIAL_BOOKCLONING
-
CRAFTING_SPECIAL_MAPCLONING
-
CRAFTING_SPECIAL_MAPEXTENDING
-
CRAFTING_SPECIAL_FIREWORK_ROCKET
-
CRAFTING_SPECIAL_FIREWORK_STAR
-
CRAFTING_SPECIAL_FIREWORK_STAR_FADE
-
CRAFTING_SPECIAL_TIPPEDARROW
-
CRAFTING_SPECIAL_BANNERDUPLICATE
-
CRAFTING_SPECIAL_SHIELDDECORATION
-
CRAFTING_SPECIAL_SHULKERBOXCOLORING
-
CRAFTING_SPECIAL_SUSPICIOUSSTEW
-
CRAFTING_SPECIAL_REPAIRITEM
-
SMELTING
-
BLASTING
-
SMOKING
-
CAMPFIRE_COOKING
-
STONECUTTING
-
SMITHING
-
SMITHING_TRANSFORM
-
SMITHING_TRIM
-
CRAFTING_DECORATED_POT
-
-
Constructor Details
-
RecipeSerializers
public RecipeSerializers()
-
-
Method Details
-
define
public static <T extends RecipeData> RecipeSerializer<T> define(String key, PacketWrapper.Reader<T> reader, PacketWrapper.Writer<T> writer) -
define
public static <T extends RecipeData> RecipeSerializer<T> define(String key, PacketWrapper.Reader<T> reader, PacketWrapper.Writer<T> writer, @Nullable @Nullable RecipeType recipeType) -
getByName
-
getById
-
values
Returns an immutable view of the banner patterns.- Returns:
- Banner Patterns
-