Package net.minecraft

Record Class class_8689

java.lang.Object
java.lang.Record
net.minecraft.class_8689
Record Components:
scaling -

@Environment(CLIENT) public record class_8689(class_8690 scaling) extends Record
Mappings:
Namespace Name
official fzx
intermediary net/minecraft/class_8689
named net/minecraft/class_8689
official d
intermediary comp_1636
named scaling
  • Field Details

    • scaling

      private final class_8690 scaling
      The field for the scaling record component.
    • field_45645

      public static final class_8689 field_45645
      Mappings:
      Namespace Name Mixin selector
      official a Lfzx;a:Lfzx;
      intermediary field_45645 Lnet/minecraft/class_8689;field_45645:Lnet/minecraft/class_8689;
      named field_45645 Lnet/minecraft/class_8689;field_45645:Lnet/minecraft/class_8689;
    • field_45646

      public static final com.mojang.serialization.Codec<class_8689> field_45646
      Mappings:
      Namespace Name Mixin selector
      official b Lfzx;b:Lcom/mojang/serialization/Codec;
      intermediary field_45646 Lnet/minecraft/class_8689;field_45646:Lcom/mojang/serialization/Codec;
      named field_45646 Lnet/minecraft/class_8689;field_45646:Lcom/mojang/serialization/Codec;
    • field_45647

      public static final ResourceMetadataSerializer<class_8689> field_45647
      Mappings:
      Namespace Name Mixin selector
      official c Lfzx;c:Laml;
      intermediary field_45647 Lnet/minecraft/class_8689;field_45647:Lnet/minecraft/class_7677;
      named field_45647 Lnet/minecraft/class_8689;field_45647:Lnet/minecraft/resource/metadata/ResourceMetadataSerializer;
  • Constructor Details

    • class_8689

      public class_8689(class_8690 class_8690)
  • Method Details

    • toString

      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

      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

      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 Objects::equals(Object,Object).
      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.
    • scaling

      public class_8690 scaling()
      Returns the value of the scaling record component.
      Returns:
      the value of the scaling record component