Record Class BlendingData.class_9899

java.lang.Object
java.lang.Record
net.minecraft.world.gen.chunk.BlendingData.class_9899
Record Components:
minSection -
maxSection -
heights -
Enclosing class:
BlendingData

public static record BlendingData.class_9899(int minSection, int maxSection, Optional<double[]> heights) extends Record
Mappings:
Namespace Name
named net/minecraft/world/gen/chunk/BlendingData$class_9899
intermediary net/minecraft/class_6749$class_9899
official eaz$d
named minSection
intermediary comp_2969
official b
named maxSection
intermediary comp_2970
official c
named heights
intermediary comp_2971
official d
  • Field Details

    • minSection

      private final int minSection
      The field for the minSection record component.
    • maxSection

      private final int maxSection
      The field for the maxSection record component.
    • heights

      private final Optional<double[]> heights
      The field for the heights record component.
    • field_52656

      private static final com.mojang.serialization.Codec<double[]> field_52656
      Mappings:
      Namespace Name Mixin selector
      named field_52656 Lnet/minecraft/world/gen/chunk/BlendingData$class_9899;field_52656:Lcom/mojang/serialization/Codec;
      intermediary field_52656 Lnet/minecraft/class_6749$class_9899;field_52656:Lcom/mojang/serialization/Codec;
      official e Leaz$d;e:Lcom/mojang/serialization/Codec;
    • field_52655

      public static final com.mojang.serialization.Codec<BlendingData.class_9899> field_52655
      Mappings:
      Namespace Name Mixin selector
      named field_52655 Lnet/minecraft/world/gen/chunk/BlendingData$class_9899;field_52655:Lcom/mojang/serialization/Codec;
      intermediary field_52655 Lnet/minecraft/class_6749$class_9899;field_52655:Lcom/mojang/serialization/Codec;
      official a Leaz$d;a:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • class_9899

      public class_9899(int int2, int int3, Optional<double[]> optional)
  • Method Details

    • method_61811

      private static com.mojang.serialization.DataResult<BlendingData.class_9899> method_61811(BlendingData.class_9899 class_9899)
      Mappings:
      Namespace Name Mixin selector
      named method_61811 Lnet/minecraft/world/gen/chunk/BlendingData$class_9899;method_61811(Lnet/minecraft/world/gen/chunk/BlendingData$class_9899;)Lcom/mojang/serialization/DataResult;
      intermediary method_61811 Lnet/minecraft/class_6749$class_9899;method_61811(Lnet/minecraft/class_6749$class_9899;)Lcom/mojang/serialization/DataResult;
      official a Leaz$d;a(Leaz$d;)Lcom/mojang/serialization/DataResult;
    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components 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.
    • minSection

      public int minSection()
      Returns the value of the minSection record component.
      Returns:
      the value of the minSection record component
    • maxSection

      public int maxSection()
      Returns the value of the maxSection record component.
      Returns:
      the value of the maxSection record component
    • heights

      public Optional<double[]> heights()
      Returns the value of the heights record component.
      Returns:
      the value of the heights record component