Class WrapperPlayServerRecipes

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerRecipes

public class WrapperPlayServerRecipes extends AbstractPacket
  • Field Details

    • TYPE

      public static final com.comphenix.protocol.PacketType TYPE
      The packet type that is wrapped by this wrapper.
  • Constructor Details

    • WrapperPlayServerRecipes

      public WrapperPlayServerRecipes()
      Constructs a new wrapper and initialize it with a packet handle with default values
    • WrapperPlayServerRecipes

      public WrapperPlayServerRecipes(com.comphenix.protocol.events.PacketContainer packet)
  • Method Details

    • getState

      Retrieves the value of field 'state'
      Returns:
      'state'
    • setState

      public void setState(WrapperPlayServerRecipes.Action value)
      Sets the value of field 'state'
      Parameters:
      value - New value for field 'state'
    • getRecipes

      public List<com.comphenix.protocol.wrappers.MinecraftKey> getRecipes()
      Retrieves the value of field 'recipes'
      Returns:
      'recipes'
    • setRecipes

      public void setRecipes(List<com.comphenix.protocol.wrappers.MinecraftKey> value)
      Sets the value of field 'recipes'
      Parameters:
      value - New value for field 'recipes'
    • getToHighlight

      public List<com.comphenix.protocol.wrappers.MinecraftKey> getToHighlight()
      Retrieves the value of field 'toHighlight'
      Returns:
      'toHighlight'
    • setToHighlight

      public void setToHighlight(List<com.comphenix.protocol.wrappers.MinecraftKey> value)
      Sets the value of field 'toHighlight'
      Parameters:
      value - New value for field 'toHighlight'
    • getBookSettings

      Retrieves a wrapped copy of the recipe book settings
      Returns:
      'bookSettings'
    • setBookSettings

      public void setBookSettings(WrapperPlayServerRecipes.WrappedRecipeBookSettings value)
      Sets the recipe book settings
      Parameters:
      value - New value for field 'bookSettings'