Package net.minecraft
Record Class class_6916.class_6944
java.lang.Object
java.lang.Record
net.minecraft.class_6916.class_6944
- Record Components:
input-noise-rarityValueMapper-maxRarity-
- All Implemented Interfaces:
class_6910,class_6916.class_6943
- Enclosing class:
class_6916
private static record class_6916.class_6944(class_6910 input, DoublePerlinNoiseSampler noise, Double2DoubleFunction rarityValueMapper, double maxRarity)
extends Record
implements class_6916.class_6943
- Mappings:
Namespace Name official ctk$xintermediary net/minecraft/class_6916$class_6944named net/minecraft/class_6916$class_6944official aintermediary comp_379named inputofficial bintermediary comp_407named noiseofficial cintermediary comp_408named rarityValueMapperofficial dintermediary comp_409named maxRarity
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_6910
class_6910.class_6911, class_6910.class_6912, class_6910.class_6913, class_6910.class_6914, class_6910.class_6915 -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_6910The field for theinputrecord component.private final doubleThe field for themaxRarityrecord component.private final DoublePerlinNoiseSamplerThe field for thenoiserecord component.private final Double2DoubleFunctionThe field for therarityValueMapperrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_6944(class_6910 class_6910, DoublePerlinNoiseSampler doublePerlinNoiseSampler, Double2DoubleFunction double2DoubleFunction, double double2) -
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.input()doubleReturns the value of themaxRarityrecord component.doublemaxValue()method_40469(class_6910.class_6915 class_6915) doublemethod_40518(class_6910.class_6912 class_6912, double double2) doubleminValue()noise()Returns the value of thenoiserecord component.Returns the value of therarityValueMapperrecord component.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_6910
method_40468, method_40471, method_40472, method_40473, method_40474, method_40475, method_40476Methods inherited from interface net.minecraft.class_6916.class_6943
method_40464, method_40470
-
Field Details
-
input
The field for theinputrecord component. -
noise
The field for thenoiserecord component. -
rarityValueMapper
The field for therarityValueMapperrecord component. -
maxRarity
private final double maxRarityThe field for themaxRarityrecord component.
-
-
Constructor Details
-
class_6944
class_6944(class_6910 class_6910, DoublePerlinNoiseSampler doublePerlinNoiseSampler, Double2DoubleFunction double2DoubleFunction, double double2)
-
-
Method Details
-
method_40518
- Specified by:
method_40518in interfaceclass_6916.class_6943- Mappings:
Namespace Name Mixin selector official aLctk$w;a(Lctj$b;D)Dintermediary method_40518Lnet/minecraft/class_6916$class_6943;method_40518(Lnet/minecraft/class_6910$class_6912;D)Dnamed method_40518Lnet/minecraft/class_6916$class_6943;method_40518(Lnet/minecraft/class_6910$class_6912;D)D
-
method_40469
- Specified by:
method_40469in interfaceclass_6910- Mappings:
Namespace Name Mixin selector official aLctj;a(Lctj$e;)Lctj;intermediary method_40469Lnet/minecraft/class_6910;method_40469(Lnet/minecraft/class_6910$class_6915;)Lnet/minecraft/class_6910;named method_40469Lnet/minecraft/class_6910;method_40469(Lnet/minecraft/class_6910$class_6915;)Lnet/minecraft/class_6910;
-
minValue
public double minValue()- Specified by:
minValuein interfaceclass_6910- Mappings:
Namespace Name Mixin selector official aLctj;a()Dintermediary comp_377Lnet/minecraft/class_6910;comp_377()Dnamed minValueLnet/minecraft/class_6910;minValue()D
-
maxValue
public double maxValue()- Specified by:
maxValuein interfaceclass_6910- Mappings:
Namespace Name Mixin selector official bLctj;b()Dintermediary comp_378Lnet/minecraft/class_6910;comp_378()Dnamed maxValueLnet/minecraft/class_6910;maxValue()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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
input
- Specified by:
inputin interfaceclass_6916.class_6943- Mappings:
Namespace Name Mixin selector official iLctk$w;i()Lctj;intermediary comp_379Lnet/minecraft/class_6916$class_6943;comp_379()Lnet/minecraft/class_6910;named inputLnet/minecraft/class_6916$class_6943;input()Lnet/minecraft/class_6910;
-
noise
Returns the value of thenoiserecord component.- Returns:
- the value of the
noiserecord component
-
rarityValueMapper
Returns the value of therarityValueMapperrecord component.- Returns:
- the value of the
rarityValueMapperrecord component
-
maxRarity
public double maxRarity()Returns the value of themaxRarityrecord component.- Returns:
- the value of the
maxRarityrecord component
-