Enum Class Portal.Effect

java.lang.Object
java.lang.Enum<Portal.Effect>
net.minecraft.block.Portal.Effect
All Implemented Interfaces:
Serializable, Comparable<Portal.Effect>, Constable
Enclosing interface:
Portal

public static enum Portal.Effect extends Enum<Portal.Effect>
Mappings:
Namespace Name
named net/minecraft/block/Portal$Effect
intermediary net/minecraft/class_9797$class_9798
official dqg$a
  • Enum Constant Details

    • CONFUSION

      public static final Portal.Effect CONFUSION
      Mappings:
      Namespace Name Mixin selector
      named CONFUSION Lnet/minecraft/block/Portal$Effect;CONFUSION:Lnet/minecraft/block/Portal$Effect;
      intermediary field_52061 Lnet/minecraft/class_9797$class_9798;field_52061:Lnet/minecraft/class_9797$class_9798;
      official a Ldqg$a;a:Ldqg$a;
    • NONE

      public static final Portal.Effect NONE
      Mappings:
      Namespace Name Mixin selector
      named NONE Lnet/minecraft/block/Portal$Effect;NONE:Lnet/minecraft/block/Portal$Effect;
      intermediary field_52062 Lnet/minecraft/class_9797$class_9798;field_52062:Lnet/minecraft/class_9797$class_9798;
      official b Ldqg$a;b:Ldqg$a;
  • Constructor Details

    • Effect

      private Effect()
  • Method Details

    • values

      public static Portal.Effect[] 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 Portal.Effect 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