Record Class ChunkPyramid
java.lang.Object
java.lang.Record
net.minecraft.world.level.chunk.status.ChunkPyramid
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ChunkPyramidstatic final ChunkPyramidprivate final ImmutableList<ChunkStep> The field for thestepsrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionChunkPyramid(ImmutableList<ChunkStep> steps) Creates an instance of aChunkPyramidrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.getStepTo(ChunkStatus status) final inthashCode()Returns a hash code value for this object.steps()Returns the value of thestepsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
steps
The field for thestepsrecord component. -
GENERATION_PYRAMID
-
LOADING_PYRAMID
-
-
Constructor Details
-
ChunkPyramid
Creates an instance of aChunkPyramidrecord class.- Parameters:
steps- the value for thestepsrecord component
-
-
Method Details
-
getStepTo
-
toString
-
hashCode
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
steps
Returns the value of thestepsrecord component.- Returns:
- the value of the
stepsrecord component
-