Package net.minecraft
Enum Class class_4421.class_4422
- All Implemented Interfaces:
Serializable,Comparable<class_4421.class_4422>,Constable
- Enclosing class:
- class_4421
- Mappings:
Namespace Name official qn$aintermediary net/minecraft/class_4421$class_4422named net/minecraft/class_4421$class_4422
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal BiConsumer<ServerPlayerEntity,Integer> final BiPredicate<ServerPlayerEntity,Integer> final Stringprivate final ToIntFunction<ServerPlayerEntity> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateclass_4422(String string, BiConsumer<ServerPlayerEntity, Integer> biConsumer, BiPredicate<ServerPlayerEntity, Integer> biPredicate, ToIntFunction<ServerPlayerEntity> toIntFunction) -
Method Summary
Modifier and TypeMethodDescriptionstatic class_4421.class_4422Returns the enum constant of this class with the specified name.static class_4421.class_4422[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
field_21738
- Mappings:
Namespace Name Mixin selector official aLqn$a;a:Lqn$a;intermediary field_21738Lnet/minecraft/class_4421$class_4422;field_21738:Lnet/minecraft/class_4421$class_4422;named field_21738Lnet/minecraft/class_4421$class_4422;field_21738:Lnet/minecraft/class_4421$class_4422;
-
field_21739
- Mappings:
Namespace Name Mixin selector official bLqn$a;b:Lqn$a;intermediary field_21739Lnet/minecraft/class_4421$class_4422;field_21739:Lnet/minecraft/class_4421$class_4422;named field_21739Lnet/minecraft/class_4421$class_4422;field_21739:Lnet/minecraft/class_4421$class_4422;
-
-
Field Details
-
field_21740
- Mappings:
Namespace Name Mixin selector official cLqn$a;c:Ljava/util/function/BiConsumer;intermediary field_21740Lnet/minecraft/class_4421$class_4422;field_21740:Ljava/util/function/BiConsumer;named field_21740Lnet/minecraft/class_4421$class_4422;field_21740:Ljava/util/function/BiConsumer;
-
field_21741
- Mappings:
Namespace Name Mixin selector official dLqn$a;d:Ljava/util/function/BiPredicate;intermediary field_21741Lnet/minecraft/class_4421$class_4422;field_21741:Ljava/util/function/BiPredicate;named field_21741Lnet/minecraft/class_4421$class_4422;field_21741:Ljava/util/function/BiPredicate;
-
field_21742
- Mappings:
Namespace Name Mixin selector official eLqn$a;e:Ljava/lang/String;intermediary field_21742Lnet/minecraft/class_4421$class_4422;field_21742:Ljava/lang/String;named field_21742Lnet/minecraft/class_4421$class_4422;field_21742:Ljava/lang/String;
-
field_21743
- Mappings:
Namespace Name Mixin selector official fLqn$a;f:Ljava/util/function/ToIntFunction;intermediary field_21743Lnet/minecraft/class_4421$class_4422;field_21743:Ljava/util/function/ToIntFunction;named field_21743Lnet/minecraft/class_4421$class_4422;field_21743:Ljava/util/function/ToIntFunction;
-
-
Constructor Details
-
class_4422
private class_4422(String string, BiConsumer<ServerPlayerEntity, Integer> biConsumer, BiPredicate<ServerPlayerEntity, Integer> biPredicate, ToIntFunction<ServerPlayerEntity> toIntFunction)
-
-
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
-