Class WrapperPlayServerScoreboardScore

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

public class WrapperPlayServerScoreboardScore extends AbstractPacket
  • Field Details

    • TYPE

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

    • WrapperPlayServerScoreboardScore

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

      public WrapperPlayServerScoreboardScore(com.comphenix.protocol.events.PacketContainer packet)
      Constructors a new wrapper for the specified packet
      Parameters:
      packet - the packet to wrap
  • Method Details

    • getOwner

      public String getOwner()
      Retrieves the value of field 'owner'
      Returns:
      'owner'
    • setOwner

      public void setOwner(String value)
      Sets the value of field 'owner'
      Parameters:
      value - New value for field 'owner'
    • getObjectiveName

      public String getObjectiveName()
      Retrieves the value of field 'objectiveName'
      Returns:
      'objectiveName'
    • setObjectiveName

      public void setObjectiveName(String value)
      Sets the value of field 'objectiveName'
      Parameters:
      value - New value for field 'objectiveName'
    • getScore

      public int getScore()
      Retrieves the value of field 'score'
      Returns:
      'score'
    • setScore

      public void setScore(int value)
      Sets the value of field 'score'
      Parameters:
      value - New value for field 'score'
    • getMethod

      public com.comphenix.protocol.wrappers.EnumWrappers.ScoreboardAction getMethod()
      Retrieves the value of field 'method'
      Returns:
      'method'
    • setMethod

      public void setMethod(com.comphenix.protocol.wrappers.EnumWrappers.ScoreboardAction value)
      Sets the value of field 'method'
      Parameters:
      value - New value for field 'method'