Package net.minecraft.util.collection
Enum Class ListOperation.Mode
- All Implemented Interfaces:
Serializable
,Comparable<ListOperation.Mode>
,Constable
,StringIdentifiable
- Enclosing interface:
ListOperation
public static enum ListOperation.Mode
extends Enum<ListOperation.Mode>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/util/collection/ListOperation$Mode
intermediary net/minecraft/class_9368$class_9373
official erv$f
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescription(package private) final com.mojang.serialization.MapCodec
<? extends ListOperation> static final com.mojang.serialization.Codec
<ListOperation.Mode> private final String
Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
ModifierConstructorDescriptionprivate
Mode
(String id, com.mojang.serialization.MapCodec<? extends ListOperation> codec) -
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.com.mojang.serialization.MapCodec
<? extends ListOperation> getCodec()
static ListOperation.Mode
Returns the enum constant of this class with the specified name.static ListOperation.Mode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REPLACE_ALL
- Mappings:
Namespace Name Mixin selector named REPLACE_ALL
Lnet/minecraft/util/collection/ListOperation$Mode;REPLACE_ALL:Lnet/minecraft/util/collection/ListOperation$Mode;
intermediary field_49856
Lnet/minecraft/class_9368$class_9373;field_49856:Lnet/minecraft/class_9368$class_9373;
official a
Lerv$f;a:Lerv$f;
-
REPLACE_SECTION
- Mappings:
Namespace Name Mixin selector named REPLACE_SECTION
Lnet/minecraft/util/collection/ListOperation$Mode;REPLACE_SECTION:Lnet/minecraft/util/collection/ListOperation$Mode;
intermediary field_49857
Lnet/minecraft/class_9368$class_9373;field_49857:Lnet/minecraft/class_9368$class_9373;
official b
Lerv$f;b:Lerv$f;
-
INSERT
- Mappings:
Namespace Name Mixin selector named INSERT
Lnet/minecraft/util/collection/ListOperation$Mode;INSERT:Lnet/minecraft/util/collection/ListOperation$Mode;
intermediary field_49858
Lnet/minecraft/class_9368$class_9373;field_49858:Lnet/minecraft/class_9368$class_9373;
official c
Lerv$f;c:Lerv$f;
-
APPEND
- Mappings:
Namespace Name Mixin selector named APPEND
Lnet/minecraft/util/collection/ListOperation$Mode;APPEND:Lnet/minecraft/util/collection/ListOperation$Mode;
intermediary field_49859
Lnet/minecraft/class_9368$class_9373;field_49859:Lnet/minecraft/class_9368$class_9373;
official d
Lerv$f;d:Lerv$f;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/util/collection/ListOperation$Mode;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_49860
Lnet/minecraft/class_9368$class_9373;field_49860:Lcom/mojang/serialization/Codec;
official e
Lerv$f;e:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/util/collection/ListOperation$Mode;id:Ljava/lang/String;
intermediary field_49862
Lnet/minecraft/class_9368$class_9373;field_49862:Ljava/lang/String;
official f
Lerv$f;f:Ljava/lang/String;
-
codec
- Mappings:
Namespace Name Mixin selector named codec
Lnet/minecraft/util/collection/ListOperation$Mode;codec:Lcom/mojang/serialization/MapCodec;
intermediary field_49863
Lnet/minecraft/class_9368$class_9373;field_49863:Lcom/mojang/serialization/MapCodec;
official g
Lerv$f;g:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
Mode
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/collection/ListOperation$Mode;<init>(Ljava/lang/String;ILjava/lang/String;Lcom/mojang/serialization/MapCodec;)V
intermediary <init>
Lnet/minecraft/class_9368$class_9373;<init>(Ljava/lang/String;ILjava/lang/String;Lcom/mojang/serialization/MapCodec;)V
official <init>
Lerv$f;<init>(Ljava/lang/String;ILjava/lang/String;Lcom/mojang/serialization/MapCodec;)V
-
-
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
-
getCodec
- Mappings:
Namespace Name Mixin selector named getCodec
Lnet/minecraft/util/collection/ListOperation$Mode;getCodec()Lcom/mojang/serialization/MapCodec;
intermediary method_58197
Lnet/minecraft/class_9368$class_9373;method_58197()Lcom/mojang/serialization/MapCodec;
official a
Lerv$f;a()Lcom/mojang/serialization/MapCodec;
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asString
in interfaceStringIdentifiable
- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
official c
Lazu;c()Ljava/lang/String;
-