Class WrapperPlayServerExperience

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

public class WrapperPlayServerExperience extends AbstractPacket
  • Field Details

    • TYPE

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

    • WrapperPlayServerExperience

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

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

    • getExperienceProgress

      public float getExperienceProgress()
      Retrieves the value of field 'experienceProgress'
      Returns:
      'experienceProgress'
    • setExperienceProgress

      public void setExperienceProgress(float value)
      Sets the value of field 'experienceProgress'
      Parameters:
      value - New value for field 'experienceProgress'
    • getTotalExperience

      public int getTotalExperience()
      Retrieves the value of field 'totalExperience'
      Returns:
      'totalExperience'
    • setTotalExperience

      public void setTotalExperience(int value)
      Sets the value of field 'totalExperience'
      Parameters:
      value - New value for field 'totalExperience'
    • getExperienceLevel

      public int getExperienceLevel()
      Retrieves the value of field 'experienceLevel'
      Returns:
      'experienceLevel'
    • setExperienceLevel

      public void setExperienceLevel(int value)
      Sets the value of field 'experienceLevel'
      Parameters:
      value - New value for field 'experienceLevel'