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/PackOverlaysMetadataintermediary net/minecraft/class_8617official asonamed overlaysintermediary comp_1577official b
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<PackOverlaysMetadata> private static final Patternprivate final List<PackOverlaysMetadata.Entry> The field for theoverlaysrecord component.static final ResourceMetadataSerializer<PackOverlaysMetadata> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.getAppliedOverlays(int packFormat) final inthashCode()Returns a hash code value for this object.overlays()Returns the value of theoverlaysrecord component.final StringtoString()Returns a string representation of this record class.private static com.mojang.serialization.DataResult<String>
-
Field Details
-
overlays
The field for theoverlaysrecord component. -
DIRECTORY_NAME_PATTERN
- Mappings:
Namespace Name Mixin selector named DIRECTORY_NAME_PATTERNLnet/minecraft/resource/metadata/PackOverlaysMetadata;DIRECTORY_NAME_PATTERN:Ljava/util/regex/Pattern;intermediary field_45046Lnet/minecraft/class_8617;field_45046:Ljava/util/regex/Pattern;official cLaso;c:Ljava/util/regex/Pattern;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/resource/metadata/PackOverlaysMetadata;CODEC:Lcom/mojang/serialization/Codec;intermediary field_45047Lnet/minecraft/class_8617;field_45047:Lcom/mojang/serialization/Codec;official dLaso;d:Lcom/mojang/serialization/Codec;
-
SERIALIZER
- Mappings:
Namespace Name Mixin selector named SERIALIZERLnet/minecraft/resource/metadata/PackOverlaysMetadata;SERIALIZER:Lnet/minecraft/resource/metadata/ResourceMetadataSerializer;intermediary field_45045Lnet/minecraft/class_8617;field_45045:Lnet/minecraft/class_7677;official aLaso;a:Late;
-
-
Constructor Details
-
PackOverlaysMetadata
-
-
Method Details
-
validate
- Mappings:
Namespace Name Mixin selector named validateLnet/minecraft/resource/metadata/PackOverlaysMetadata;validate(Ljava/lang/String;)Lcom/mojang/serialization/DataResult;intermediary method_52430Lnet/minecraft/class_8617;method_52430(Ljava/lang/String;)Lcom/mojang/serialization/DataResult;official aLaso;a(Ljava/lang/String;)Lcom/mojang/serialization/DataResult;
-
getAppliedOverlays
- Mappings:
Namespace Name Mixin selector named getAppliedOverlaysLnet/minecraft/resource/metadata/PackOverlaysMetadata;getAppliedOverlays(I)Ljava/util/List;intermediary method_52427Lnet/minecraft/class_8617;method_52427(I)Ljava/util/List;official aLaso;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 theoverlaysrecord component.- Returns:
- the value of the
overlaysrecord component
-