Class RecipeDisplayEntry
java.lang.Object
com.github.retrooper.packetevents.protocol.recipe.RecipeDisplayEntry
-
Constructor Summary
ConstructorDescriptionRecipeDisplayEntry
(RecipeDisplayId id, RecipeDisplay<?> display, @Nullable Integer group, RecipeBookCategory category, @Nullable List<MappedEntitySet<ItemType>> ingredients) -
Method Summary
Modifier and TypeMethodDescriptionboolean
@Nullable Integer
getGroup()
getId()
@Nullable List
<MappedEntitySet<ItemType>> int
hashCode()
static RecipeDisplayEntry
read
(PacketWrapper<?> wrapper) void
setCategory
(RecipeBookCategory category) void
setDisplay
(RecipeDisplay<?> display) void
void
setId
(RecipeDisplayId id) void
setIngredients
(@Nullable List<MappedEntitySet<ItemType>> ingredients) toString()
static void
write
(PacketWrapper<?> wrapper, RecipeDisplayEntry entry)
-
Constructor Details
-
RecipeDisplayEntry
public RecipeDisplayEntry(RecipeDisplayId id, RecipeDisplay<?> display, @Nullable @Nullable Integer group, RecipeBookCategory category, @Nullable @Nullable List<MappedEntitySet<ItemType>> ingredients)
-
-
Method Details