Package net.minecraft.resource.metadata
Record Class PackOverlaysMetadata.Entry.class_11553
java.lang.Object
java.lang.Record
net.minecraft.resource.metadata.PackOverlaysMetadata.Entry.class_11553
- Record Components:
format-overlay-
- All Implemented Interfaces:
class_11555.class_11557
- Enclosing class:
PackOverlaysMetadata.Entry
private static record PackOverlaysMetadata.Entry.class_11553(class_11555.class_11556 format, String overlay)
extends Record
implements class_11555.class_11557
- Mappings:
Namespace Name named net/minecraft/resource/metadata/PackOverlaysMetadata$Entry$class_11553intermediary net/minecraft/class_8617$class_8618$class_11553official awd$a$anamed formatintermediary comp_4412official anamed overlayintermediary comp_4413official b
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final com.mojang.serialization.Codec<PackOverlaysMetadata.Entry.class_11553> private final class_11555.class_11556The field for theformatrecord component.private final StringThe field for theoverlayrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.format()Returns the value of theformatrecord component.final inthashCode()Returns a hash code value for this object.overlay()Returns the value of theoverlayrecord component.toString()Returns a string representation of this record class.
-
Field Details
-
format
The field for theformatrecord component. -
overlay
The field for theoverlayrecord component. -
field_61148
- Mappings:
Namespace Name Mixin selector named field_61148Lnet/minecraft/resource/metadata/PackOverlaysMetadata$Entry$class_11553;field_61148:Lcom/mojang/serialization/Codec;intermediary field_61148Lnet/minecraft/class_8617$class_8618$class_11553;field_61148:Lcom/mojang/serialization/Codec;official cLawd$a$a;c:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_11553
class_11553(class_11555.class_11556 class_11556, String string)
-
-
Method Details
-
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). -
format
Returns the value of theformatrecord component.- Specified by:
formatin interfaceclass_11555.class_11557- Returns:
- the value of the
formatrecord component
-
overlay
Returns the value of theoverlayrecord component.- Returns:
- the value of the
overlayrecord component
-