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 official ddu$b
intermediary net/minecraft/class_6785$class_6787
named net/minecraft/world/gen/feature/util/FeatureDebugLogger$Features
official a
intermediary comp_283
named featureData
official b
intermediary comp_284
named chunksWithFeatures
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MutableInt
The field for thechunksWithFeatures
record component.private final Object2IntMap<FeatureDebugLogger.FeatureData>
The field for thefeatureData
record component. -
Constructor Summary
ConstructorsConstructorDescriptionFeatures
(Object2IntMap<FeatureDebugLogger.FeatureData> object2IntMap, MutableInt mutableInt) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thechunksWithFeatures
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of thefeatureData
record component.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
featureData
The field for thefeatureData
record component. -
chunksWithFeatures
The field for thechunksWithFeatures
record 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 thefeatureData
record component.- Returns:
- the value of the
featureData
record component
-
chunksWithFeatures
Returns the value of thechunksWithFeatures
record component.- Returns:
- the value of the
chunksWithFeatures
record component
-