Contents
Record Class ChunkGeneratorExecution.CaveSurfaceHeightStatistics
java.lang.Object
java.lang.Record
com.hypixel.hytale.builtin.worldgen.chunk.ChunkGeneratorExecution.CaveSurfaceHeightStatistics
- Enclosing class:
ChunkGeneratorExecution
public static record ChunkGeneratorExecution.CaveSurfaceHeightStatistics(long fullScans, long trackerHits, long rescans)
extends Record
- Since:
- 24.03.2016
-
Constructor Summary
ConstructorsConstructorDescriptionCaveSurfaceHeightStatistics(long fullScans, long trackerHits, long rescans) Creates an instance of aCaveSurfaceHeightStatisticsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.longReturns the value of thefullScansrecord component.final inthashCode()Returns a hash code value for this object.longrescans()Returns the value of therescansrecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of thetrackerHitsrecord component.
-
Constructor Details
-
CaveSurfaceHeightStatistics
public CaveSurfaceHeightStatistics(long fullScans, long trackerHits, long rescans) Creates an instance of aCaveSurfaceHeightStatisticsrecord class.- Parameters:
fullScans- the value for thefullScansrecord componenttrackerHits- the value for thetrackerHitsrecord componentrescans- the value for therescansrecord component
-
-
Method Details
-
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 with thecomparemethod from their corresponding wrapper classes. -
fullScans
public long fullScans()Returns the value of thefullScansrecord component.- Returns:
- the value of the
fullScansrecord component
-
trackerHits
public long trackerHits()Returns the value of thetrackerHitsrecord component.- Returns:
- the value of the
trackerHitsrecord component
-
rescans
public long rescans()Returns the value of therescansrecord component.- Returns:
- the value of the
rescansrecord component
-