Class WrapperPlayServerResourcePackSend

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

public class WrapperPlayServerResourcePackSend extends AbstractPacket
  • Field Details

    • TYPE

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

    • WrapperPlayServerResourcePackSend

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

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

    • getUrl

      public String getUrl()
      Retrieves the value of field 'url'
      Returns:
      'url'
    • setUrl

      public void setUrl(String value)
      Sets the value of field 'url'
      Parameters:
      value - New value for field 'url'
    • getHash

      public String getHash()
      Retrieves the value of field 'hash'
      Returns:
      'hash'
    • setHash

      public void setHash(String value)
      Sets the value of field 'hash'
      Parameters:
      value - New value for field 'hash'
    • getRequired

      public boolean getRequired()
      Retrieves the value of field 'required'
      Returns:
      'required'
    • setRequired

      public void setRequired(boolean value)
      Sets the value of field 'required'
      Parameters:
      value - New value for field 'required'
    • getPrompt

      public com.comphenix.protocol.wrappers.WrappedChatComponent getPrompt()
      Retrieves the value of field 'prompt'
      Returns:
      'prompt'
    • setPrompt

      public void setPrompt(com.comphenix.protocol.wrappers.WrappedChatComponent value)
      Sets the value of field 'prompt'
      Parameters:
      value - New value for field 'prompt'