Record Class StructuresBecomeConfiguredFix.Conversion
java.lang.Object
java.lang.Record
net.minecraft.util.datafix.fixes.StructuresBecomeConfiguredFix.Conversion
- Enclosing class:
StructuresBecomeConfiguredFix
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConversion(Map<String, String> biomeMapping, String fallback) Creates an instance of aConversionrecord class. -
Method Summary
Modifier 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
-
biomeMapping
-
fallback
The field for thefallbackrecord component.
-
-
Constructor Details
-
Conversion
-
-
Method Details
-
trivial
-
biomeMapped
-
unpack
-
toString
-
hashCode
-
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). -
biomeMapping
-
fallback
Returns the value of thefallbackrecord component.- Returns:
- the value of the
fallbackrecord component
-