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 official epv$e
intermediary net/minecraft/class_9368$class_9373
named net/minecraft/util/collection/ListOperation$Mode
-
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
Enum Constants -
Field Summary
FieldsModifier 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
ConstructorsModifierConstructorDescriptionprivate
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 official a
Lepv$e;a:Lepv$e;
intermediary field_49856
Lnet/minecraft/class_9368$class_9373;field_49856:Lnet/minecraft/class_9368$class_9373;
named REPLACE_ALL
Lnet/minecraft/util/collection/ListOperation$Mode;REPLACE_ALL:Lnet/minecraft/util/collection/ListOperation$Mode;
-
REPLACE_SECTION
- Mappings:
Namespace Name Mixin selector official b
Lepv$e;b:Lepv$e;
intermediary field_49857
Lnet/minecraft/class_9368$class_9373;field_49857:Lnet/minecraft/class_9368$class_9373;
named REPLACE_SECTION
Lnet/minecraft/util/collection/ListOperation$Mode;REPLACE_SECTION:Lnet/minecraft/util/collection/ListOperation$Mode;
-
INSERT
- Mappings:
Namespace Name Mixin selector official c
Lepv$e;c:Lepv$e;
intermediary field_49858
Lnet/minecraft/class_9368$class_9373;field_49858:Lnet/minecraft/class_9368$class_9373;
named INSERT
Lnet/minecraft/util/collection/ListOperation$Mode;INSERT:Lnet/minecraft/util/collection/ListOperation$Mode;
-
APPEND
- Mappings:
Namespace Name Mixin selector official d
Lepv$e;d:Lepv$e;
intermediary field_49859
Lnet/minecraft/class_9368$class_9373;field_49859:Lnet/minecraft/class_9368$class_9373;
named APPEND
Lnet/minecraft/util/collection/ListOperation$Mode;APPEND:Lnet/minecraft/util/collection/ListOperation$Mode;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official e
Lepv$e;e:Lcom/mojang/serialization/Codec;
intermediary field_49860
Lnet/minecraft/class_9368$class_9373;field_49860:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/util/collection/ListOperation$Mode;CODEC:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector official f
Lepv$e;f:Ljava/lang/String;
intermediary field_49862
Lnet/minecraft/class_9368$class_9373;field_49862:Ljava/lang/String;
named id
Lnet/minecraft/util/collection/ListOperation$Mode;id:Ljava/lang/String;
-
codec
- Mappings:
Namespace Name Mixin selector official g
Lepv$e;g:Lcom/mojang/serialization/MapCodec;
intermediary field_49863
Lnet/minecraft/class_9368$class_9373;field_49863:Lcom/mojang/serialization/MapCodec;
named codec
Lnet/minecraft/util/collection/ListOperation$Mode;codec:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
Mode
- Mappings:
Namespace Name Mixin selector official <init>
Lepv$e;<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
named <init>
Lnet/minecraft/util/collection/ListOperation$Mode;<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 official a
Lepv$e;a()Lcom/mojang/serialization/MapCodec;
intermediary method_58197
Lnet/minecraft/class_9368$class_9373;method_58197()Lcom/mojang/serialization/MapCodec;
named getCodec
Lnet/minecraft/util/collection/ListOperation$Mode;getCodec()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 official c
Layt;c()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-