Enum ScoreboardPlayerUpdateS2CPacket.UpdateType

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

public static enum ScoreboardPlayerUpdateS2CPacket.UpdateType
extends Enum<ScoreboardPlayerUpdateS2CPacket.UpdateType>
Mappings:
Namespace Name
official hs$a
intermediary net/minecraft/class_1535$class_1536
named net/minecraft/network/packet/s2c/play/ScoreboardPlayerUpdateS2CPacket$UpdateType
  • Enum Constant Details

    • CHANGE

      public static final ScoreboardPlayerUpdateS2CPacket.UpdateType CHANGE
      Mappings:
      Namespace Name Mixin selector
      official a Lhs$a;a:Lhs$a;
      intermediary field_6332 Lnet/minecraft/class_1535$class_1536;field_6332:Lnet/minecraft/class_1535$class_1536;
      named CHANGE Lnet/minecraft/network/packet/s2c/play/ScoreboardPlayerUpdateS2CPacket$UpdateType;CHANGE:Lnet/minecraft/network/packet/s2c/play/ScoreboardPlayerUpdateS2CPacket$UpdateType;
    • REMOVE

      public static final ScoreboardPlayerUpdateS2CPacket.UpdateType REMOVE
      Mappings:
      Namespace Name Mixin selector
      official b Lhs$a;b:Lhs$a;
      intermediary field_6333 Lnet/minecraft/class_1535$class_1536;field_6333:Lnet/minecraft/class_1535$class_1536;
      named REMOVE Lnet/minecraft/network/packet/s2c/play/ScoreboardPlayerUpdateS2CPacket$UpdateType;REMOVE:Lnet/minecraft/network/packet/s2c/play/ScoreboardPlayerUpdateS2CPacket$UpdateType;
  • Constructor Details

    • UpdateType

      private UpdateType()
  • Method Details

    • values

      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ScoreboardPlayerUpdateS2CPacket.UpdateType valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null