Package net.minecraft.resource.metadata
Record Class PackOverlaysMetadata
java.lang.Object
java.lang.Record
net.minecraft.resource.metadata.PackOverlaysMetadata
- Record Components:
overlays
-
- Mappings:
Namespace Name named net/minecraft/resource/metadata/PackOverlaysMetadata
intermediary net/minecraft/class_8617
official asn
named overlays
intermediary comp_1577
official b
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<PackOverlaysMetadata> private static final Pattern
private final List
<PackOverlaysMetadata.Entry> The field for theoverlays
record component.static final ResourceMetadataSerializer
<PackOverlaysMetadata> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.getAppliedOverlays
(int packFormat) final int
hashCode()
Returns a hash code value for this object.overlays()
Returns the value of theoverlays
record component.final String
toString()
Returns a string representation of this record class.private static com.mojang.serialization.DataResult
<String>
-
Field Details
-
overlays
The field for theoverlays
record component. -
DIRECTORY_NAME_PATTERN
- Mappings:
Namespace Name Mixin selector named DIRECTORY_NAME_PATTERN
Lnet/minecraft/resource/metadata/PackOverlaysMetadata;DIRECTORY_NAME_PATTERN:Ljava/util/regex/Pattern;
intermediary field_45046
Lnet/minecraft/class_8617;field_45046:Ljava/util/regex/Pattern;
official c
Lasn;c:Ljava/util/regex/Pattern;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/resource/metadata/PackOverlaysMetadata;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_45047
Lnet/minecraft/class_8617;field_45047:Lcom/mojang/serialization/Codec;
official d
Lasn;d:Lcom/mojang/serialization/Codec;
-
SERIALIZER
- Mappings:
Namespace Name Mixin selector named SERIALIZER
Lnet/minecraft/resource/metadata/PackOverlaysMetadata;SERIALIZER:Lnet/minecraft/resource/metadata/ResourceMetadataSerializer;
intermediary field_45045
Lnet/minecraft/class_8617;field_45045:Lnet/minecraft/class_7677;
official a
Lasn;a:Latd;
-
-
Constructor Details
-
PackOverlaysMetadata
-
-
Method Details
-
validate
- Mappings:
Namespace Name Mixin selector named validate
Lnet/minecraft/resource/metadata/PackOverlaysMetadata;validate(Ljava/lang/String;)Lcom/mojang/serialization/DataResult;
intermediary method_52430
Lnet/minecraft/class_8617;method_52430(Ljava/lang/String;)Lcom/mojang/serialization/DataResult;
official a
Lasn;a(Ljava/lang/String;)Lcom/mojang/serialization/DataResult;
-
getAppliedOverlays
- Mappings:
Namespace Name Mixin selector named getAppliedOverlays
Lnet/minecraft/resource/metadata/PackOverlaysMetadata;getAppliedOverlays(I)Ljava/util/List;
intermediary method_52427
Lnet/minecraft/class_8617;method_52427(I)Ljava/util/List;
official a
Lasn;a(I)Ljava/util/List;
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
overlays
Returns the value of theoverlays
record component.- Returns:
- the value of the
overlays
record component
-