Package net.minecraft.client.texture
Record Class AtlasManager.Metadata
java.lang.Object
java.lang.Record
net.minecraft.client.texture.AtlasManager.Metadata
- Record Components:
textureId-definitionId-createMipmaps-additionalMetadata-
- Enclosing class:
AtlasManager
@Environment(CLIENT)
public static record AtlasManager.Metadata(Identifier textureId, Identifier definitionId, boolean createMipmaps, Set<ResourceMetadataSerializer<?>> additionalMetadata)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/texture/AtlasManager$Metadataintermediary net/minecraft/class_11697$class_11698official iek$anamed textureIdintermediary comp_4553official anamed definitionIdintermediary comp_4554official bnamed createMipmapsintermediary comp_4555official cnamed additionalMetadataintermediary comp_4556official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Set<ResourceMetadataSerializer<?>> The field for theadditionalMetadatarecord component.private final booleanThe field for thecreateMipmapsrecord component.private final IdentifierThe field for thedefinitionIdrecord component.private final IdentifierThe field for thetextureIdrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionMetadata(Identifier textureId, Identifier definitionId, boolean createMipmaps) Metadata(Identifier identifier, Identifier identifier2, boolean bool, Set<ResourceMetadataSerializer<?>> set) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionalMetadatarecord component.booleanReturns the value of thecreateMipmapsrecord component.Returns the value of thedefinitionIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thetextureIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
textureId
The field for thetextureIdrecord component. -
definitionId
The field for thedefinitionIdrecord component. -
createMipmaps
private final boolean createMipmapsThe field for thecreateMipmapsrecord component. -
additionalMetadata
The field for theadditionalMetadatarecord component.
-
-
Constructor Details
-
Metadata
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/texture/AtlasManager$Metadata;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Z)Vintermediary <init>Lnet/minecraft/class_11697$class_11698;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;Z)Vofficial <init>Liek$a;<init>(Lamj;Lamj;Z)V
-
Metadata
public Metadata(Identifier identifier, Identifier identifier2, boolean bool, Set<ResourceMetadataSerializer<?>> set)
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
textureId
Returns the value of thetextureIdrecord component.- Returns:
- the value of the
textureIdrecord component
-
definitionId
Returns the value of thedefinitionIdrecord component.- Returns:
- the value of the
definitionIdrecord component
-
createMipmaps
public boolean createMipmaps()Returns the value of thecreateMipmapsrecord component.- Returns:
- the value of the
createMipmapsrecord component
-
additionalMetadata
Returns the value of theadditionalMetadatarecord component.- Returns:
- the value of the
additionalMetadatarecord component
-