Class Recipe<T extends RecipeData>
java.lang.Object
com.github.retrooper.packetevents.protocol.recipe.Recipe<T>
WARNING: No longer exists since 1.21.2, network recipe data was rewritten.
-
Constructor Summary
ConstructorDescriptionRecipe
(RecipeType serializer, String key, RecipeData data) Deprecated.Recipe
(ResourceLocation key, RecipeSerializer<T> serializer, T data) -
Method Summary
Modifier and TypeMethodDescriptiongetData()
getKey()
getType()
Deprecated.static Recipe
<?> read
(PacketWrapper<?> wrapper) toString()
static <T extends RecipeData>
voidwrite
(PacketWrapper<?> wrapper, Recipe<T> recipe)