Record Class FeatureDebugLogger.Features
java.lang.Object
java.lang.Record
net.minecraft.world.gen.feature.util.FeatureDebugLogger.Features
- Record Components:
featureData-chunksWithFeatures-
- Enclosing class:
FeatureDebugLogger
private static record FeatureDebugLogger.Features(Object2IntMap<FeatureDebugLogger.FeatureData> featureData, MutableInt chunksWithFeatures)
extends Record
- Mappings:
Namespace Name named net/minecraft/world/gen/feature/util/FeatureDebugLogger$Featuresintermediary net/minecraft/class_6785$class_6787official ecf$bnamed featureDataintermediary comp_283official anamed chunksWithFeaturesintermediary comp_284official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MutableIntThe field for thechunksWithFeaturesrecord component.private final Object2IntMap<FeatureDebugLogger.FeatureData> The field for thefeatureDatarecord component. -
Constructor Summary
ConstructorsConstructorDescriptionFeatures(Object2IntMap<FeatureDebugLogger.FeatureData> 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
-
Features
Features(Object2IntMap<FeatureDebugLogger.FeatureData> 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
-