Package devs.beer.nativepackets.api
Interface RecipeBookPacketView
- All Superinterfaces:
PacketView
Lazy copy-on-write view of legacy or split clientbound recipe-book operations.
-
Method Summary
Modifier and TypeMethodDescriptionaction()recipe(int index) intvoidremoveRecipe(int index) Removes one recipe entry using one lazily-created list copy.booleanReports replacement/init semantics for add packets.settings()Returns the exact recipe-book settings when this operation carries them.Methods inherited from interface devs.beer.nativepackets.api.PacketView
isModified, nativeHandle, type
-
Method Details
-
action
RecipeBookAction action() -
replacesAll
boolean replacesAll()Reports replacement/init semantics for add packets. -
recipeCount
int recipeCount() -
recipe
-
removeRecipe
void removeRecipe(int index) Removes one recipe entry using one lazily-created list copy. -
settings
Returns the exact recipe-book settings when this operation carries them.
-