Class UnlockedRecipesPacket

All Implemented Interfaces:
Cloneable

@Since("1.19.70-r1") @PowerNukkitXOnly public class UnlockedRecipesPacket extends DataPacket
  • Field Details

    • unlockedNotification

      public boolean unlockedNotification
    • unlockedRecipes

      public final List<String> unlockedRecipes
  • Constructor Details

    • UnlockedRecipesPacket

      public UnlockedRecipesPacket()
  • Method Details

    • pid

      public byte pid()
      Specified by:
      pid in class DataPacket
    • decode

      public void decode()
      Specified by:
      decode in class DataPacket
    • encode

      public void encode()
      Specified by:
      encode in class DataPacket
    • isUnlockedNotification

      public boolean isUnlockedNotification()
    • getUnlockedRecipes

      public List<String> getUnlockedRecipes()