Package net.minecraft.data.report
Enum Class DataPackStructureProvider.Format
java.lang.Object
java.lang.Enum<DataPackStructureProvider.Format>
net.minecraft.data.report.DataPackStructureProvider.Format
- All Implemented Interfaces:
Serializable
,Comparable<DataPackStructureProvider.Format>
,Constable
,StringIdentifiable
- Enclosing class:
DataPackStructureProvider
private static enum DataPackStructureProvider.Format
extends Enum<DataPackStructureProvider.Format>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/data/report/DataPackStructureProvider$Format
intermediary net/minecraft/class_10107$class_10110
official mz$c
-
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 TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<DataPackStructureProvider.Format> private final String
Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.Returns the enum constant of this class with the specified name.static DataPackStructureProvider.Format[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STRUCTURE
- Mappings:
Namespace Name Mixin selector named STRUCTURE
Lnet/minecraft/data/report/DataPackStructureProvider$Format;STRUCTURE:Lnet/minecraft/data/report/DataPackStructureProvider$Format;
intermediary field_53708
Lnet/minecraft/class_10107$class_10110;field_53708:Lnet/minecraft/class_10107$class_10110;
official a
Lmz$c;a:Lmz$c;
-
MCFUNCTION
- Mappings:
Namespace Name Mixin selector named MCFUNCTION
Lnet/minecraft/data/report/DataPackStructureProvider$Format;MCFUNCTION:Lnet/minecraft/data/report/DataPackStructureProvider$Format;
intermediary field_53709
Lnet/minecraft/class_10107$class_10110;field_53709:Lnet/minecraft/class_10107$class_10110;
official b
Lmz$c;b:Lmz$c;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/data/report/DataPackStructureProvider$Format;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_53710
Lnet/minecraft/class_10107$class_10110;field_53710:Lcom/mojang/serialization/Codec;
official c
Lmz$c;c:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/data/report/DataPackStructureProvider$Format;id:Ljava/lang/String;
intermediary field_53711
Lnet/minecraft/class_10107$class_10110;field_53711:Ljava/lang/String;
official d
Lmz$c;d:Ljava/lang/String;
-
-
Constructor Details
-
Format
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/data/report/DataPackStructureProvider$Format;<init>(Ljava/lang/String;ILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_10107$class_10110;<init>(Ljava/lang/String;ILjava/lang/String;)V
official <init>
Lmz$c;<init>(Ljava/lang/String;ILjava/lang/String;)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
-
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
Lbba;c()Ljava/lang/String;
-