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 esi$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
Lesi$f;a:Lesi$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
Lesi$f;b:Lesi$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
Lesi$f;c:Lesi$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
Lesi$f;d:Lesi$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
Lesi$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
Lesi$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
Lesi$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>
Lesi$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
Lesi$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
Lazc;c()Ljava/lang/String;
-