Enum Class GameEventListener.TriggerOrder

java.lang.Object
java.lang.Enum<GameEventListener.TriggerOrder>
net.minecraft.world.event.listener.GameEventListener.TriggerOrder
All Implemented Interfaces:
Serializable, Comparable<GameEventListener.TriggerOrder>, Constable
Enclosing interface:
GameEventListener

public static enum GameEventListener.TriggerOrder extends Enum<GameEventListener.TriggerOrder>
Mappings:
Namespace Name
official dgn$a
intermediary net/minecraft/class_5714$class_7720
named net/minecraft/world/event/listener/GameEventListener$TriggerOrder
  • Enum Constant Details

    • UNSPECIFIED

      public static final GameEventListener.TriggerOrder UNSPECIFIED
      Mappings:
      Namespace Name Mixin selector
      official a Ldgn$a;a:Ldgn$a;
      intermediary field_40353 Lnet/minecraft/class_5714$class_7720;field_40353:Lnet/minecraft/class_5714$class_7720;
      named UNSPECIFIED Lnet/minecraft/world/event/listener/GameEventListener$TriggerOrder;UNSPECIFIED:Lnet/minecraft/world/event/listener/GameEventListener$TriggerOrder;
    • BY_DISTANCE

      public static final GameEventListener.TriggerOrder BY_DISTANCE
      Mappings:
      Namespace Name Mixin selector
      official b Ldgn$a;b:Ldgn$a;
      intermediary field_40354 Lnet/minecraft/class_5714$class_7720;field_40354:Lnet/minecraft/class_5714$class_7720;
      named BY_DISTANCE Lnet/minecraft/world/event/listener/GameEventListener$TriggerOrder;BY_DISTANCE:Lnet/minecraft/world/event/listener/GameEventListener$TriggerOrder;
  • Constructor Details

    • TriggerOrder

      private TriggerOrder()
  • Method Details

    • values

      public static GameEventListener.TriggerOrder[] 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 GameEventListener.TriggerOrder 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