Package net.minecraft
Record Class class_6686.class_6703
java.lang.Object
java.lang.Record
net.minecraft.class_6686.class_6703
- Record Components:
name-noise-minThreshold-maxThreshold-
- All Implemented Interfaces:
Function<class_6686.class_6694,,class_6686.class_6692> class_6686.class_6693
- Enclosing class:
- class_6686
private static record class_6686.class_6703(String name, DoublePerlinNoiseSampler.NoiseParameters noise, double minThreshold, double maxThreshold)
extends Record
implements class_6686.class_6693
- Mappings:
Namespace Name official csv$jintermediary net/minecraft/class_6686$class_6703named net/minecraft/class_6686$class_6703official bintermediary comp_200named nameofficial cintermediary comp_201named noiseofficial dintermediary comp_202named minThresholdofficial eintermediary comp_203named maxThreshold
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final com.mojang.serialization.Codec<class_6686.class_6703>private final doubleThe field for themaxThresholdrecord component.private final doubleThe field for theminThresholdrecord component.private final StringThe field for thenamerecord component.private final DoublePerlinNoiseSampler.NoiseParametersThe field for thenoiserecord component.Fields inherited from interface net.minecraft.class_6686.class_6693
field_35232 -
Constructor Summary
ConstructorsConstructorDescriptionclass_6703(String string, DoublePerlinNoiseSampler.NoiseParameters noiseParameters, double double2, double double3) -
Method Summary
Modifier and TypeMethodDescriptionapply(class_6686.class_6694 class_6694) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doubleReturns the value of themaxThresholdrecord component.com.mojang.serialization.Codec<? extends class_6686.class_6693>doubleReturns the value of theminThresholdrecord component.name()Returns the value of thenamerecord component.noise()Returns the value of thenoiserecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
name
The field for thenamerecord component. -
noise
The field for thenoiserecord component. -
minThreshold
private final double minThresholdThe field for theminThresholdrecord component. -
maxThreshold
private final double maxThresholdThe field for themaxThresholdrecord component. -
field_35248
- Mappings:
Namespace Name Mixin selector official fLcsv$j;f:Lcom/mojang/serialization/Codec;intermediary field_35248Lnet/minecraft/class_6686$class_6703;field_35248:Lcom/mojang/serialization/Codec;named field_35248Lnet/minecraft/class_6686$class_6703;field_35248:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_6703
class_6703(String string, DoublePerlinNoiseSampler.NoiseParameters noiseParameters, double double2, double double3)
-
-
Method Details
-
method_39064
- Specified by:
method_39064in interfaceclass_6686.class_6693- Mappings:
Namespace Name Mixin selector official aLcsv$e;a()Lcom/mojang/serialization/Codec;intermediary method_39064Lnet/minecraft/class_6686$class_6693;method_39064()Lcom/mojang/serialization/Codec;named method_39064Lnet/minecraft/class_6686$class_6693;method_39064()Lcom/mojang/serialization/Codec;
-
apply
- Specified by:
applyin interfaceFunction<class_6686.class_6694,class_6686.class_6692> - Mappings:
Namespace Name Mixin selector official aLcsv$j;a(Lcsv$f;)Lcsv$d;intermediary method_39082Lnet/minecraft/class_6686$class_6703;method_39082(Lnet/minecraft/class_6686$class_6694;)Lnet/minecraft/class_6686$class_6692;named applyLnet/minecraft/class_6686$class_6703;apply(Lnet/minecraft/class_6686$class_6694;)Lnet/minecraft/class_6686$class_6692;
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
noise
Returns the value of thenoiserecord component.- Returns:
- the value of the
noiserecord component
-
minThreshold
public double minThreshold()Returns the value of theminThresholdrecord component.- Returns:
- the value of the
minThresholdrecord component
-
maxThreshold
public double maxThreshold()Returns the value of themaxThresholdrecord component.- Returns:
- the value of the
maxThresholdrecord component
-