Package net.minecraft.world.gen.chunk
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 Summary
Modifier and TypeFieldDescriptionprivate final BlendingData
The field for theblendingData
record component.private final int
The field for thechunkX
record component.private final int
The field for thechunkZ
record component. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theblendingData
record component.int
chunkX()
Returns the value of thechunkX
record component.int
chunkZ()
Returns the value of thechunkZ
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
chunkX
private final int chunkXThe field for thechunkX
record component. -
chunkZ
private final int chunkZThe field for thechunkZ
record component. -
blendingData
The field for theblendingData
record component.
-
-
Constructor Details
-
ChunkBlendingData
ChunkBlendingData(int int2, int int3, BlendingData blendingData)
-
-
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 '=='. -
chunkX
public int chunkX()Returns the value of thechunkX
record component.- Returns:
- the value of the
chunkX
record component
-
chunkZ
public int chunkZ()Returns the value of thechunkZ
record component.- Returns:
- the value of the
chunkZ
record component
-
blendingData
Returns the value of theblendingData
record component.- Returns:
- the value of the
blendingData
record component
-