Package net.minecraft
Record Class class_6916.class_6934
java.lang.Object
java.lang.Record
net.minecraft.class_6916.class_6934
- Record Components:
noiseData-offsetNoise-
- All Implemented Interfaces:
class_6916.class_6939,NoiseType,NoiseType.class_6913
- Enclosing class:
class_6916
private static record class_6916.class_6934(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> noiseData, @Nullable DoublePerlinNoiseSampler offsetNoise)
extends Record
implements class_6916.class_6939
- Mappings:
Namespace Name official ctp$rintermediary net/minecraft/class_6916$class_6934named net/minecraft/class_6916$class_6934official aintermediary comp_471named noiseDataofficial eintermediary comp_395named offsetNoise
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.gen.noise.NoiseType
NoiseType.class_6911, NoiseType.class_6913, NoiseType.class_6915, NoiseType.NoisePos, NoiseType.UnblendedNoisePos -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final com.mojang.serialization.Codec<class_6916.class_6934>private final RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters>The field for thenoiseDatarecord component.private final @Nullable DoublePerlinNoiseSamplerThe field for theoffsetNoiserecord component.Fields inherited from interface net.minecraft.world.gen.noise.NoiseType
field_37057, field_37058, field_37059 -
Constructor Summary
ConstructorsConstructorDescriptionclass_6934(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.com.mojang.serialization.Codec<? extends NoiseType>method_41086(DoublePerlinNoiseSampler doublePerlinNoiseSampler) doublesample(NoiseType.NoisePos pos) final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.class_6916.class_6939
maxValue, method_40525, minValueMethods inherited from interface net.minecraft.world.gen.noise.NoiseType
method_40468, method_40471, method_40472, method_40473, method_40474, method_40475, method_40476Methods inherited from interface net.minecraft.world.gen.noise.NoiseType.class_6913
method_40469, method_40470
-
Field Details
-
noiseData
The field for thenoiseDatarecord component. -
offsetNoise
The field for theoffsetNoiserecord component. -
field_37094
- Mappings:
Namespace Name Mixin selector official fLctp$r;f:Lcom/mojang/serialization/Codec;intermediary field_37094Lnet/minecraft/class_6916$class_6934;field_37094:Lcom/mojang/serialization/Codec;named field_37094Lnet/minecraft/class_6916$class_6934;field_37094:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_6934
class_6934(RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> registryEntry, @Nullable @Nullable DoublePerlinNoiseSampler doublePerlinNoiseSampler)
-
-
Method Details
-
sample
- Specified by:
samplein interfaceNoiseType- Mappings:
Namespace Name Mixin selector official aLcto;a(Lcto$b;)Dintermediary method_40464Lnet/minecraft/class_6910;method_40464(Lnet/minecraft/class_6910$class_6912;)Dnamed sampleLnet/minecraft/world/gen/noise/NoiseType;sample(Lnet/minecraft/world/gen/noise/NoiseType$NoisePos;)D
-
method_41086
- Specified by:
method_41086in interfaceclass_6916.class_6939- Mappings:
Namespace Name Mixin selector official aLctp$u;a(Ldib;)Lctp$u;intermediary method_41086Lnet/minecraft/class_6916$class_6939;method_41086(Lnet/minecraft/class_5216;)Lnet/minecraft/class_6916$class_6939;named method_41086Lnet/minecraft/class_6916$class_6939;method_41086(Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;)Lnet/minecraft/class_6916$class_6939;
-
method_41062
- Specified by:
method_41062in interfaceNoiseType- Mappings:
Namespace Name Mixin selector official cLcto;c()Lcom/mojang/serialization/Codec;intermediary method_41062Lnet/minecraft/class_6910;method_41062()Lcom/mojang/serialization/Codec;named method_41062Lnet/minecraft/world/gen/noise/NoiseType;method_41062()Lcom/mojang/serialization/Codec;
-
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
- Specified by:
noiseDatain interfaceclass_6916.class_6939- Mappings:
Namespace Name Mixin selector official jLctp$u;j()Lgr;intermediary comp_471Lnet/minecraft/class_6916$class_6939;comp_471()Lnet/minecraft/class_6880;named noiseDataLnet/minecraft/class_6916$class_6939;noiseData()Lnet/minecraft/util/registry/RegistryEntry;
-
offsetNoise
- Specified by:
offsetNoisein interfaceclass_6916.class_6939- Mappings:
Namespace Name Mixin selector official kLctp$u;k()Ldib;intermediary comp_395Lnet/minecraft/class_6916$class_6939;comp_395()Lnet/minecraft/class_5216;named offsetNoiseLnet/minecraft/class_6916$class_6939;offsetNoise()Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
-