Record Class VanillaTerrainParameters.class_7074
java.lang.Object
java.lang.Record
net.minecraft.world.biome.source.util.VanillaTerrainParameters.class_7074
- Record Components:
function-
- All Implemented Interfaces:
ToFloatFunction<VanillaTerrainParameters.class_7075>
- Enclosing class:
VanillaTerrainParameters
public static record VanillaTerrainParameters.class_7074(RegistryEntry<DensityFunction> function)
extends Record
implements ToFloatFunction<VanillaTerrainParameters.class_7075>
- Mappings:
Namespace Name official cce$bintermediary net/minecraft/class_6555$class_7074named net/minecraft/world/biome/source/util/VanillaTerrainParameters$class_7074official aintermediary comp_524named function
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final com.mojang.serialization.Codec<ToFloatFunction<VanillaTerrainParameters.class_7075>>private final RegistryEntry<DensityFunction>The field for thefunctionrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatapply(VanillaTerrainParameters.class_7075 class_7075) final booleanIndicates whether some other object is "equal to" this one.function()Returns the value of thefunctionrecord component.final inthashCode()Returns a hash code value for this object.method_41194(DensityFunction.DensityFunctionVisitor densityFunctionVisitor) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
function
The field for thefunctionrecord component. -
field_37253
static final com.mojang.serialization.Codec<ToFloatFunction<VanillaTerrainParameters.class_7075>> field_37253- Mappings:
Namespace Name Mixin selector official bLcce$b;b:Lcom/mojang/serialization/Codec;intermediary field_37253Lnet/minecraft/class_6555$class_7074;field_37253:Lcom/mojang/serialization/Codec;named field_37253Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$class_7074;field_37253:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_7074
-
-
Method Details
-
apply
- Specified by:
applyin interfaceToFloatFunction<VanillaTerrainParameters.class_7075>- Mappings:
Namespace Name Mixin selector official aLcce$b;a(Lcce$d;)Fintermediary method_41193Lnet/minecraft/class_6555$class_7074;method_41193(Lnet/minecraft/class_6555$class_7075;)Fnamed applyLnet/minecraft/world/biome/source/util/VanillaTerrainParameters$class_7074;apply(Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$class_7075;)F
-
method_41194
public VanillaTerrainParameters.class_7074 method_41194(DensityFunction.DensityFunctionVisitor densityFunctionVisitor) - Mappings:
Namespace Name Mixin selector official aLcce$b;a(Lctp$e;)Lcce$b;intermediary method_41194Lnet/minecraft/class_6555$class_7074;method_41194(Lnet/minecraft/class_6910$class_6915;)Lnet/minecraft/class_6555$class_7074;named method_41194Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$class_7074;method_41194(Lnet/minecraft/world/gen/densityfunction/DensityFunction$DensityFunctionVisitor;)Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$class_7074;
-
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). -
function
Returns the value of thefunctionrecord component.- Returns:
- the value of the
functionrecord component
-