Class WrapperPlayServerScoreboardObjective

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

public class WrapperPlayServerScoreboardObjective extends AbstractPacket
  • Field Details

    • TYPE

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

    • WrapperPlayServerScoreboardObjective

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

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

    • 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'
    • getDisplayName

      public com.comphenix.protocol.wrappers.WrappedChatComponent getDisplayName()
      Retrieves the value of field 'displayName'
      Returns:
      'displayName'
    • setDisplayName

      public void setDisplayName(com.comphenix.protocol.wrappers.WrappedChatComponent value)
      Sets the value of field 'displayName'
      Parameters:
      value - New value for field 'displayName'
    • getRenderType

      public org.bukkit.scoreboard.RenderType getRenderType()
      Retrieves the render type for this objective
      Returns:
      'renderType'
    • setRenderType

      public void setRenderType(org.bukkit.scoreboard.RenderType value)
      Sets the render type for this objective
      Parameters:
      value - New value for field 'renderType'
    • getMethod

      public int getMethod()
      Retrieves the index of the method
      Returns:
      'method'
    • setMethod

      public void setMethod(int value)
      Sets the index of the method
      Parameters:
      value - New value for field 'method'
    • getMethodEnum

      Retrieves the method for this operation
      Returns:
      'method'
    • setMethodEnum

      public void setMethodEnum(WrapperPlayServerScoreboardObjective.Method value)
      Sets the method for this operation
      Parameters:
      value - New value for field 'method'