Record Class FeatureDebugLogger.FeatureData
java.lang.Object
java.lang.Record
net.minecraft.world.gen.feature.util.FeatureDebugLogger.FeatureData
- Record Components:
- feature-
- topFeature-
- Enclosing class:
- FeatureDebugLogger
private static record FeatureDebugLogger.FeatureData(ConfiguredFeature<?,?> feature, Optional<PlacedFeature> topFeature)
extends Record 
- Mappings:
- Namespace - Name - official - dkp$a- intermediary - net/minecraft/class_6785$class_6786- named - net/minecraft/world/gen/feature/util/FeatureDebugLogger$FeatureData- official - a- intermediary - comp_281- named - feature- official - b- intermediary - comp_282- named - topFeature
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final ConfiguredFeature<?,?> The field for thefeaturerecord component.private final Optional<PlacedFeature>The field for thetopFeaturerecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionFeatureData(ConfiguredFeature<?, ?> configuredFeature, Optional<PlacedFeature> optional) 
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.ConfiguredFeature<?,?> feature()Returns the value of thefeaturerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thetopFeaturerecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
featureThe field for thefeaturerecord component.
- 
topFeatureThe field for thetopFeaturerecord component.
 
- 
- 
Constructor Details- 
FeatureDataFeatureData(ConfiguredFeature<?, ?> configuredFeature, Optional<PlacedFeature> optional) 
 
- 
- 
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).
- 
featureReturns the value of thefeaturerecord component.- Returns:
- the value of the featurerecord component
 
- 
topFeatureReturns the value of thetopFeaturerecord component.- Returns:
- the value of the topFeaturerecord component
 
 
-