Record Class TextureResourceMetadata

java.lang.Object
java.lang.Record
net.minecraft.client.resource.metadata.TextureResourceMetadata
Record Components:
blur -
clamp -

@Environment(CLIENT) public record TextureResourceMetadata(boolean blur, boolean clamp) extends Record
Mappings:
Namespace Name
named net/minecraft/client/resource/metadata/TextureResourceMetadata
intermediary net/minecraft/class_1084
official hgq
named blur
intermediary comp_3459
official e
named clamp
intermediary comp_3460
official f
  • Field Details Link icon

    • blur Link icon

      private final boolean blur
      The field for the blur record component.
    • clamp Link icon

      private final boolean clamp
      The field for the clamp record component.
    • field_32980 Link icon

      public static final boolean field_32980
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32980 Lnet/minecraft/client/resource/metadata/TextureResourceMetadata;field_32980:Z
      intermediary field_32980 Lnet/minecraft/class_1084;field_32980:Z
      official a Lhgq;a:Z
    • field_32981 Link icon

      public static final boolean field_32981
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32981 Lnet/minecraft/client/resource/metadata/TextureResourceMetadata;field_32981:Z
      intermediary field_32981 Lnet/minecraft/class_1084;field_32981:Z
      official b Lhgq;b:Z
    • CODEC Link icon

      public static final com.mojang.serialization.Codec<TextureResourceMetadata> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/client/resource/metadata/TextureResourceMetadata;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_55541 Lnet/minecraft/class_1084;field_55541:Lcom/mojang/serialization/Codec;
      official c Lhgq;c:Lcom/mojang/serialization/Codec;
    • SERIALIZER Link icon

      public static final ResourceMetadataSerializer<TextureResourceMetadata> SERIALIZER
      Mappings:
      Namespace Name Mixin selector
      named SERIALIZER Lnet/minecraft/client/resource/metadata/TextureResourceMetadata;SERIALIZER:Lnet/minecraft/resource/metadata/ResourceMetadataSerializer;
      intermediary field_55542 Lnet/minecraft/class_1084;field_55542:Lnet/minecraft/class_7677;
      official d Lhgq;d:Latp;
  • Constructor Details Link icon

    • TextureResourceMetadata Link icon

      public TextureResourceMetadata(boolean blur, boolean clamp)
      Creates an instance of a TextureResourceMetadata record class.
      Parameters:
      blur - the value for the blur record component
      clamp - the value for the clamp record component
  • Method Details Link icon

    • toString Link icon

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode Link icon

      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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals Link icon

      public final boolean equals(Object object)
      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 with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • blur Link icon

      public boolean blur()
      Returns the value of the blur record component.
      Returns:
      the value of the blur record component
    • clamp Link icon

      public boolean clamp()
      Returns the value of the clamp record component.
      Returns:
      the value of the clamp record component