Enum Class PlayerListS2CPacket.Action

java.lang.Object
java.lang.Enum<PlayerListS2CPacket.Action>
net.minecraft.network.packet.s2c.play.PlayerListS2CPacket.Action
All Implemented Interfaces:
Serializable, Comparable<PlayerListS2CPacket.Action>, Constable
Enclosing class:
PlayerListS2CPacket

public static enum PlayerListS2CPacket.Action extends Enum<PlayerListS2CPacket.Action>
Mappings:
Namespace Name
official sr$a
intermediary net/minecraft/class_2703$class_5893
named net/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action
  • Enum Constant Details

    • ADD_PLAYER

      public static final PlayerListS2CPacket.Action ADD_PLAYER
      Mappings:
      Namespace Name Mixin selector
      official a Lsr$a;a:Lsr$a;
      intermediary field_29136 Lnet/minecraft/class_2703$class_5893;field_29136:Lnet/minecraft/class_2703$class_5893;
      named ADD_PLAYER Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;ADD_PLAYER:Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;
    • UPDATE_GAME_MODE

      public static final PlayerListS2CPacket.Action UPDATE_GAME_MODE
      Mappings:
      Namespace Name Mixin selector
      official b Lsr$a;b:Lsr$a;
      intermediary field_29137 Lnet/minecraft/class_2703$class_5893;field_29137:Lnet/minecraft/class_2703$class_5893;
      named UPDATE_GAME_MODE Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;UPDATE_GAME_MODE:Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;
    • UPDATE_LATENCY

      public static final PlayerListS2CPacket.Action UPDATE_LATENCY
      Mappings:
      Namespace Name Mixin selector
      official c Lsr$a;c:Lsr$a;
      intermediary field_29138 Lnet/minecraft/class_2703$class_5893;field_29138:Lnet/minecraft/class_2703$class_5893;
      named UPDATE_LATENCY Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;UPDATE_LATENCY:Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;
    • UPDATE_DISPLAY_NAME

      public static final PlayerListS2CPacket.Action UPDATE_DISPLAY_NAME
      Mappings:
      Namespace Name Mixin selector
      official d Lsr$a;d:Lsr$a;
      intermediary field_29139 Lnet/minecraft/class_2703$class_5893;field_29139:Lnet/minecraft/class_2703$class_5893;
      named UPDATE_DISPLAY_NAME Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;UPDATE_DISPLAY_NAME:Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;
    • REMOVE_PLAYER

      public static final PlayerListS2CPacket.Action REMOVE_PLAYER
      Mappings:
      Namespace Name Mixin selector
      official e Lsr$a;e:Lsr$a;
      intermediary field_29140 Lnet/minecraft/class_2703$class_5893;field_29140:Lnet/minecraft/class_2703$class_5893;
      named REMOVE_PLAYER Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;REMOVE_PLAYER:Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;
  • Constructor Details

    • Action

      private Action()
  • Method Details

    • values

      public static PlayerListS2CPacket.Action[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PlayerListS2CPacket.Action valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • read

      protected abstract PlayerListS2CPacket.Entry read(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official a Lsr$a;a(Lph;)Lsr$b;
      intermediary method_34150 Lnet/minecraft/class_2703$class_5893;method_34150(Lnet/minecraft/class_2540;)Lnet/minecraft/class_2703$class_2705;
      named read Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;read(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry;
    • write

      protected abstract void write(PacketByteBuf buf, PlayerListS2CPacket.Entry entry)
      Mappings:
      Namespace Name Mixin selector
      official a Lsr$a;a(Lph;Lsr$b;)V
      intermediary method_34151 Lnet/minecraft/class_2703$class_5893;method_34151(Lnet/minecraft/class_2540;Lnet/minecraft/class_2703$class_2705;)V
      named write Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;write(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry;)V