Class WrapperPlayServerScoreboardTeam

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

public class WrapperPlayServerScoreboardTeam extends AbstractPacket
  • Field Details

    • TYPE

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

    • WrapperPlayServerScoreboardTeam

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

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

    • getMethod

      public int getMethod()
      Retrieves the index of the type of this operations
      Returns:
      'method'
    • getMethodEnum

      Retrieves the type of this operation
      Returns:
      type of operation
    • setMethod

      public void setMethod(int value)
      Sets the index of the type of this operation
      Parameters:
      value - New value for field 'method'
      See Also:
    • setMethodEnum

      public void setMethodEnum(WrapperPlayServerScoreboardTeam.Method method)
      Sets the type of this operation
      Parameters:
      method - The method
    • getName

      public String getName()
      Retrieves the value of field 'name'
      Returns:
      'name'
    • setName

      public void setName(String value)
      Sets the value of field 'name'
      Parameters:
      value - New value for field 'name'
    • getPlayers

      public List<String> getPlayers()
      Retrieves the value of field 'players'
      Returns:
      'players'
    • setPlayers

      public void setPlayers(List<String> value)
      Sets the value of field 'players'
      Parameters:
      value - New value for field 'players'
    • getParameters

      Retrieves the value of field 'parameters'
      Returns:
      'parameters'
    • setParameters

      public void setParameters(@Nullable WrapperPlayServerScoreboardTeam.WrappedParameters value)
      Sets the value of field 'parameters'
      Parameters:
      value - New value for field 'parameters'