Package net.minecraft
Record Class class_6785.class_6787
java.lang.Object
java.lang.Record
net.minecraft.class_6785.class_6787
- Record Components:
featureData-chunksWithFeatures-
- Enclosing class:
- class_6785
private static record class_6785.class_6787(Object2IntMap<class_6785.class_6786> featureData, MutableInt chunksWithFeatures)
extends Record
- Mappings:
Namespace Name official cwc$bintermediary net/minecraft/class_6785$class_6787named net/minecraft/class_6785$class_6787official aintermediary comp_283named featureDataofficial bintermediary comp_284named chunksWithFeatures
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MutableIntThe field for thechunksWithFeaturesrecord component.private final Object2IntMap<class_6785.class_6786>The field for thefeatureDatarecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_6787(Object2IntMap<class_6785.class_6786> object2IntMap, MutableInt mutableInt) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thechunksWithFeaturesrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefeatureDatarecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
featureData
The field for thefeatureDatarecord component. -
chunksWithFeatures
The field for thechunksWithFeaturesrecord component.
-
-
Constructor Details
-
class_6787
class_6787(Object2IntMap<class_6785.class_6786> object2IntMap, MutableInt mutableInt)
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
featureData
Returns the value of thefeatureDatarecord component.- Returns:
- the value of the
featureDatarecord component
-
chunksWithFeatures
Returns the value of thechunksWithFeaturesrecord component.- Returns:
- the value of the
chunksWithFeaturesrecord component
-