Class CookedRecipeData
java.lang.Object
com.github.retrooper.packetevents.protocol.recipe.data.CookedRecipeData
- All Implemented Interfaces:
RecipeData
WARNING: No longer exists since 1.21.2, network recipe data was rewritten.
-
Constructor Summary
ConstructorDescriptionCookedRecipeData
(String group, CookingCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) CookedRecipeData
(String group, Ingredient ingredient, ItemStack result, float experience, int cookingTime) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionint
float
getGroup()
static CookedRecipeData
read
(PacketWrapper<?> wrapper) static void
write
(PacketWrapper<?> wrapper, CookedRecipeData data)
-
Constructor Details
-
CookedRecipeData
@Deprecated public CookedRecipeData(String group, Ingredient ingredient, ItemStack result, float experience, int cookingTime) Deprecated. -
CookedRecipeData
public CookedRecipeData(String group, CookingCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime)
-
-
Method Details
-
read
-
write
-
getGroup
-
getCategory
-
getIngredient
-
getResult
-
getExperience
public float getExperience() -
getCookingTime
public int getCookingTime()
-