Record Class NoiseGeneratorSettings.DebugFunctions
java.lang.Object
java.lang.Record
net.minecraft.world.level.levelgen.NoiseGeneratorSettings.DebugFunctions
- Enclosing class:
NoiseGeneratorSettings
public static record NoiseGeneratorSettings.DebugFunctions(List<NoiseGeneratorSettings.DebugFunctionEntry> functions)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<NoiseGeneratorSettings.DebugFunctions> static final NoiseGeneratorSettings.DebugFunctionsprivate final List<NoiseGeneratorSettings.DebugFunctionEntry> The field for thefunctionsrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aDebugFunctionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefunctionsrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
functions
The field for thefunctionsrecord component. -
EMPTY
-
CODEC
-
-
Constructor Details
-
DebugFunctions
Creates an instance of aDebugFunctionsrecord class.- Parameters:
functions- the value for thefunctionsrecord component
-
-
Method Details
-
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). -
functions
Returns the value of thefunctionsrecord component.- Returns:
- the value of the
functionsrecord component
-