Package net.minecraft.block
Enum Class Portal.Effect
- All Implemented Interfaces:
Serializable
,Comparable<Portal.Effect>
,Constable
- Enclosing interface:
Portal
- Mappings:
Namespace Name named net/minecraft/block/Portal$Effect
intermediary net/minecraft/class_9797$class_9798
official dqg$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Portal.Effect
Returns the enum constant of this class with the specified name.static Portal.Effect[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
- 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
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
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 nameNullPointerException
- if the argument is null
-