Record Class WorldLodGroup.Level
java.lang.Object
java.lang.Record
com.render.api.world.WorldLodGroup.Level
- Enclosing class:
WorldLodGroup
-
Constructor Summary
ConstructorsConstructorDescriptionLevel(double maximumDistance, WorldModel model) Creates an instance of aLevelrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doubleReturns the value of themaximumDistancerecord component.model()Returns the value of themodelrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Level
Creates an instance of aLevelrecord class.- Parameters:
maximumDistance- the value for themaximumDistancerecord componentmodel- the value for themodelrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
maximumDistance
public double maximumDistance()Returns the value of themaximumDistancerecord component.- Returns:
- the value of the
maximumDistancerecord component
-
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-