Record Class Blender.ChunkBlendingData

java.lang.Object
java.lang.Record
net.minecraft.world.gen.chunk.Blender.ChunkBlendingData
Record Components:
chunkX -
chunkZ -
blendingData -
Enclosing class:
Blender

private static record Blender.ChunkBlendingData(int chunkX, int chunkZ, BlendingData blendingData) extends Record
Mappings:
Namespace Name
official cud$c
intermediary net/minecraft/class_6748$class_6782
named net/minecraft/world/gen/chunk/Blender$ChunkBlendingData
official a
intermediary comp_278
named chunkX
official b
intermediary comp_279
named chunkZ
official c
intermediary comp_280
named blendingData
  • Field Details

    • chunkX

      private final int chunkX
      The field for the chunkX record component.
    • chunkZ

      private final int chunkZ
      The field for the chunkZ record component.
    • blendingData

      private final BlendingData blendingData
      The field for the blendingData record component.
  • Constructor Details

    • ChunkBlendingData

      ChunkBlendingData(int int2, int int3, BlendingData blendingData)
  • 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. 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.
    • chunkX

      public int chunkX()
      Returns the value of the chunkX record component.
      Returns:
      the value of the chunkX record component
    • chunkZ

      public int chunkZ()
      Returns the value of the chunkZ record component.
      Returns:
      the value of the chunkZ record component
    • blendingData

      public BlendingData blendingData()
      Returns the value of the blendingData record component.
      Returns:
      the value of the blendingData record component