Interface RecipeBookPacketView

All Superinterfaces:
PacketView

public interface RecipeBookPacketView extends PacketView
Lazy copy-on-write view of legacy or split clientbound recipe-book operations.
  • Method Details

    • action

    • replacesAll

      boolean replacesAll()
      Reports replacement/init semantics for add packets.
    • recipeCount

      int recipeCount()
    • recipe

      NativeValue recipe(int index)
    • removeRecipe

      void removeRecipe(int index)
      Removes one recipe entry using one lazily-created list copy.
    • settings

      @Nullable NativeValue settings()
      Returns the exact recipe-book settings when this operation carries them.