Enum Class ServerScoreboard.UpdateMode

java.lang.Object
java.lang.Enum<ServerScoreboard.UpdateMode>
net.minecraft.scoreboard.ServerScoreboard.UpdateMode
All Implemented Interfaces:
Serializable, Comparable<ServerScoreboard.UpdateMode>, Constable
Enclosing class:
ServerScoreboard

public static enum ServerScoreboard.UpdateMode extends Enum<ServerScoreboard.UpdateMode>
Mappings:
Namespace Name
named net/minecraft/scoreboard/ServerScoreboard$UpdateMode
intermediary net/minecraft/class_2995$class_2996
official ams$a
  • Enum Constant Details

    • CHANGE

      public static final ServerScoreboard.UpdateMode CHANGE
      Mappings:
      Namespace Name Mixin selector
      named CHANGE Lnet/minecraft/scoreboard/ServerScoreboard$UpdateMode;CHANGE:Lnet/minecraft/scoreboard/ServerScoreboard$UpdateMode;
      intermediary field_13431 Lnet/minecraft/class_2995$class_2996;field_13431:Lnet/minecraft/class_2995$class_2996;
      official a Lams$a;a:Lams$a;
    • REMOVE

      public static final ServerScoreboard.UpdateMode REMOVE
      Mappings:
      Namespace Name Mixin selector
      named REMOVE Lnet/minecraft/scoreboard/ServerScoreboard$UpdateMode;REMOVE:Lnet/minecraft/scoreboard/ServerScoreboard$UpdateMode;
      intermediary field_13430 Lnet/minecraft/class_2995$class_2996;field_13430:Lnet/minecraft/class_2995$class_2996;
      official b Lams$a;b:Lams$a;
  • Constructor Details

    • UpdateMode

      private UpdateMode()
  • Method Details

    • values

      public static ServerScoreboard.UpdateMode[] 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 ServerScoreboard.UpdateMode 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