Package net.minecraft.util.datafix.fixes
Record Class StructuresBecomeConfiguredFix.Conversion
java.lang.Object
java.lang.Record
net.minecraft.util.datafix.fixes.StructuresBecomeConfiguredFix.Conversion
- Enclosing class:
- StructuresBecomeConfiguredFix
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionConversion(Map<String, String> biomeMapping, String fallback) Creates an instance of aConversionrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of thebiomeMappingrecord component.final booleanIndicates whether some other object is "equal to" this one.fallback()Returns the value of thefallbackrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
biomeMappingThe field for thebiomeMappingrecord component.
- 
fallbackThe field for thefallbackrecord component.
 
- 
- 
Constructor Details- 
ConversionCreates an instance of aConversionrecord class.- Parameters:
- biomeMapping- the value for the- biomeMappingrecord component
- fallback- the value for the- fallbackrecord component
 
 
- 
- 
Method Details- 
trivial
- 
biomeMapped
- 
unpack
- 
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).
- 
biomeMappingReturns the value of thebiomeMappingrecord component.- Returns:
- the value of the biomeMappingrecord component
 
- 
fallbackReturns the value of thefallbackrecord component.- Returns:
- the value of the fallbackrecord component
 
 
-