Package net.minecraft
Record Class class_11697.class_11698
java.lang.Object
java.lang.Record
net.minecraft.class_11697.class_11698
- Record Components:
textureId-definitionLocation-createMipmaps-additionalMetadata-
- Enclosing class:
class_11697
@Environment(CLIENT)
public static record class_11697.class_11698(Identifier textureId, Identifier definitionLocation, boolean createMipmaps, Set<ResourceMetadataSerializer<?>> additionalMetadata)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11697$class_11698intermediary net/minecraft/class_11697$class_11698official hxb$anamed textureIdintermediary comp_4553official anamed definitionLocationintermediary 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 thedefinitionLocationrecord component.private final IdentifierThe field for thetextureIdrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11698(Identifier identifier, Identifier identifier2, boolean bool) class_11698(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 thedefinitionLocationrecord 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. -
definitionLocation
The field for thedefinitionLocationrecord component. -
createMipmaps
private final boolean createMipmapsThe field for thecreateMipmapsrecord component. -
additionalMetadata
The field for theadditionalMetadatarecord component.
-
-
Constructor Details
-
class_11698
-
class_11698
public class_11698(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
-
definitionLocation
Returns the value of thedefinitionLocationrecord component.- Returns:
- the value of the
definitionLocationrecord 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
-