Record Class MultiNoiseUtil.ParameterRange
java.lang.Object
java.lang.Record
net.minecraft.world.biome.source.util.MultiNoiseUtil.ParameterRange
- Record Components:
- min-
- max-
- Enclosing class:
- MultiNoiseUtil
- Mappings:
- Namespace - Name - named - net/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange- intermediary - net/minecraft/class_6544$class_6546- official - dhu$b- named - min- intermediary - comp_103- official - b- named - max- intermediary - comp_104- official - c
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionCreates a newMultiNoiseUtil.ParameterRangethat combines the parameters.final booleanIndicates whether some other object is "equal to" this one.longgetDistance(long noise) longfinal inthashCode()Returns a hash code value for this object.longmax()Returns the value of themaxrecord component.longmin()Returns the value of theminrecord component.of(float point) of(float min, float max) toString()Returns a string representation of this record class.
- 
Field Details- 
minprivate final long minThe field for theminrecord component.
- 
maxprivate final long maxThe field for themaxrecord component.
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_34478- Lnet/minecraft/class_6544$class_6546;field_34478:Lcom/mojang/serialization/Codec;- official - a- Ldhu$b;a:Lcom/mojang/serialization/Codec;
 
 
- 
- 
Constructor Details- 
ParameterRangepublic ParameterRange(long long2, long long3) 
 
- 
- 
Method Details- 
of- Mappings:
- Namespace - Name - Mixin selector - named - of- Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;of(F)Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;- intermediary - method_38120- Lnet/minecraft/class_6544$class_6546;method_38120(F)Lnet/minecraft/class_6544$class_6546;- official - a- Ldhu$b;a(F)Ldhu$b;
 
- 
of- Mappings:
- Namespace - Name - Mixin selector - named - of- Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;of(FF)Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;- intermediary - method_38121- Lnet/minecraft/class_6544$class_6546;method_38121(FF)Lnet/minecraft/class_6544$class_6546;- official - a- Ldhu$b;a(FF)Ldhu$b;
 
- 
combinepublic static MultiNoiseUtil.ParameterRange combine(MultiNoiseUtil.ParameterRange min, MultiNoiseUtil.ParameterRange max) Creates a newMultiNoiseUtil.ParameterRangethat combines the parameters.- Parameters:
- min- this will be used for the created range's minimum value
- max- this will be used for the created range's maximum value
- Returns:
- the created parameter range.
- Mappings:
- Namespace - Name - Mixin selector - named - combine- Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;combine(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;)Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;- intermediary - method_38123- Lnet/minecraft/class_6544$class_6546;method_38123(Lnet/minecraft/class_6544$class_6546;Lnet/minecraft/class_6544$class_6546;)Lnet/minecraft/class_6544$class_6546;- official - a- Ldhu$b;a(Ldhu$b;Ldhu$b;)Ldhu$b;
 
- 
toStringReturns 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.
- 
getDistancepublic long getDistance(long noise) - Mappings:
- Namespace - Name - Mixin selector - named - getDistance- Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;getDistance(J)J- intermediary - method_38126- Lnet/minecraft/class_6544$class_6546;method_38126(J)J- official - a- Ldhu$b;a(J)J
 
- 
getDistance- Mappings:
- Namespace - Name - Mixin selector - named - getDistance- Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;getDistance(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;)J- intermediary - method_38122- Lnet/minecraft/class_6544$class_6546;method_38122(Lnet/minecraft/class_6544$class_6546;)J- official - a- Ldhu$b;a(Ldhu$b;)J
 
- 
combinepublic MultiNoiseUtil.ParameterRange combine(@Nullable @Nullable MultiNoiseUtil.ParameterRange other) - Mappings:
- Namespace - Name - Mixin selector - named - combine- Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;combine(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;)Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;- intermediary - method_38127- Lnet/minecraft/class_6544$class_6546;method_38127(Lnet/minecraft/class_6544$class_6546;)Lnet/minecraft/class_6544$class_6546;- official - b- Ldhu$b;b(Ldhu$b;)Ldhu$b;
 
- 
hashCodepublic 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.
- 
equalsIndicates 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 with '=='.
- 
minpublic long min()Returns the value of theminrecord component.- Returns:
- the value of the minrecord component
 
- 
maxpublic long max()Returns the value of themaxrecord component.- Returns:
- the value of the maxrecord component
 
 
-