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$Features- intermediary - net/minecraft/class_6785$class_6787- official - ega$b- named - featureData- intermediary - comp_283- official - a- named - chunksWithFeatures- intermediary - comp_284- official - b
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final MutableIntThe field for thechunksWithFeaturesrecord component.private final Object2IntMap<FeatureDebugLogger.FeatureData> The field for thefeatureDatarecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionFeatures(Object2IntMap<FeatureDebugLogger.FeatureData> object2IntMap, MutableInt mutableInt) 
- 
Method SummaryModifier 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- 
featureDataThe field for thefeatureDatarecord component.
- 
chunksWithFeaturesThe field for thechunksWithFeaturesrecord component.
 
- 
- 
Constructor Details- 
FeaturesFeatures(Object2IntMap<FeatureDebugLogger.FeatureData> object2IntMap, MutableInt mutableInt) 
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
featureDataReturns the value of thefeatureDatarecord component.- Returns:
- the value of the featureDatarecord component
 
- 
chunksWithFeaturesReturns the value of thechunksWithFeaturesrecord component.- Returns:
- the value of the chunksWithFeaturesrecord component
 
 
-