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$b
intermediary net/minecraft/class_6555$class_7074
named net/minecraft/world/biome/source/util/VanillaTerrainParameters$class_7074
official a
intermediary comp_524
named function
-
Field Summary
Modifier and TypeFieldDescription(package private) static final com.mojang.serialization.Codec<ToFloatFunction<VanillaTerrainParameters.class_7075>>
private final RegistryEntry<DensityFunction>
The field for thefunction
record component. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
apply
(VanillaTerrainParameters.class_7075 class_7075) final boolean
Indicates whether some other object is "equal to" this one.function()
Returns the value of thefunction
record component.final int
hashCode()
Returns a hash code value for this object.method_41194
(DensityFunction.DensityFunctionVisitor densityFunctionVisitor) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
function
The field for thefunction
record component. -
field_37253
static final com.mojang.serialization.Codec<ToFloatFunction<VanillaTerrainParameters.class_7075>> field_37253- Mappings:
Namespace Name Mixin selector official b
Lcce$b;b:Lcom/mojang/serialization/Codec;
intermediary field_37253
Lnet/minecraft/class_6555$class_7074;field_37253:Lcom/mojang/serialization/Codec;
named field_37253
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$class_7074;field_37253:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_7074
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceToFloatFunction<VanillaTerrainParameters.class_7075>
- Mappings:
Namespace Name Mixin selector official a
Lcce$b;a(Lcce$d;)F
intermediary method_41193
Lnet/minecraft/class_6555$class_7074;method_41193(Lnet/minecraft/class_6555$class_7075;)F
named apply
Lnet/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 a
Lcce$b;a(Lctp$e;)Lcce$b;
intermediary method_41194
Lnet/minecraft/class_6555$class_7074;method_41194(Lnet/minecraft/class_6910$class_6915;)Lnet/minecraft/class_6555$class_7074;
named method_41194
Lnet/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 thefunction
record component.- Returns:
- the value of the
function
record component
-