Record Class DensityFunction.class_7270
java.lang.Object
java.lang.Record
net.minecraft.world.gen.densityfunction.DensityFunction.class_7270
- Record Components:
noiseData-noise-
- Enclosing interface:
DensityFunction
public static record DensityFunction.class_7270(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseData, @Nullable DoublePerlinNoiseSampler noise)
extends Record
- Mappings:
Namespace Name official czn$cintermediary net/minecraft/class_6910$class_7270named net/minecraft/world/gen/densityfunction/DensityFunction$class_7270official bintermediary comp_662named noiseDataofficial cintermediary comp_663named noise
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DensityFunction.class_7270>private final @Nullable DoublePerlinNoiseSamplerThe field for thenoiserecord component.private final RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters>The field for thenoiseDatarecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_7270(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> registryEntry) class_7270(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> registryEntry, @Nullable DoublePerlinNoiseSampler doublePerlinNoiseSampler) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doubledoublemethod_42356(double double2, double double3, double double4) noise()Returns the value of thenoiserecord component.Returns the value of thenoiseDatarecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
noiseData
The field for thenoiseDatarecord component. -
noise
The field for thenoiserecord component. -
field_38248
- Mappings:
Namespace Name Mixin selector official aLczn$c;a:Lcom/mojang/serialization/Codec;intermediary field_38248Lnet/minecraft/class_6910$class_7270;field_38248:Lcom/mojang/serialization/Codec;named field_38248Lnet/minecraft/world/gen/densityfunction/DensityFunction$class_7270;field_38248:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_7270
-
class_7270
public class_7270(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> registryEntry, @Nullable @Nullable DoublePerlinNoiseSampler doublePerlinNoiseSampler)
-
-
Method Details
-
method_42356
public double method_42356(double double2, double double3, double double4) - Mappings:
Namespace Name Mixin selector official aLczn$c;a(DDD)Dintermediary method_42356Lnet/minecraft/class_6910$class_7270;method_42356(DDD)Dnamed method_42356Lnet/minecraft/world/gen/densityfunction/DensityFunction$class_7270;method_42356(DDD)D
-
method_42355
public double method_42355()- Mappings:
Namespace Name Mixin selector official aLczn$c;a()Dintermediary method_42355Lnet/minecraft/class_6910$class_7270;method_42355()Dnamed method_42355Lnet/minecraft/world/gen/densityfunction/DensityFunction$class_7270;method_42355()D
-
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). -
noiseData
Returns the value of thenoiseDatarecord component.- Returns:
- the value of the
noiseDatarecord component
-
noise
Returns the value of thenoiserecord component.- Returns:
- the value of the
noiserecord component
-