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 official bzt$bintermediary net/minecraft/class_6544$class_6546named net/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRangeofficial bintermediary comp_103named minofficial cintermediary comp_104named max
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.longgetDistance(long long2) longfinal inthashCode()Returns a hash code value for this object.longmax()Returns the value of themaxrecord component.method_38120(float float2) method_38121(float float2, float float3) method_38123(MultiNoiseUtil.ParameterRange parameterRange, MultiNoiseUtil.ParameterRange parameterRange2) longmin()Returns the value of theminrecord component.toString()Returns a string representation of this record class.
-
Field Details
-
min
private final long minThe field for theminrecord component. -
max
private final long maxThe field for themaxrecord component. -
CODEC
- Mappings:
Namespace Name Mixin selector official aLbzt$b;a:Lcom/mojang/serialization/Codec;intermediary field_34478Lnet/minecraft/class_6544$class_6546;field_34478:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;CODEC:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
ParameterRange
public ParameterRange(long long2, long long3)
-
-
Method Details
-
method_38120
- Mappings:
Namespace Name Mixin selector official aLbzt$b;a(F)Lbzt$b;intermediary method_38120Lnet/minecraft/class_6544$class_6546;method_38120(F)Lnet/minecraft/class_6544$class_6546;named method_38120Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;method_38120(F)Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;
-
method_38121
- Mappings:
Namespace Name Mixin selector official aLbzt$b;a(FF)Lbzt$b;intermediary method_38121Lnet/minecraft/class_6544$class_6546;method_38121(FF)Lnet/minecraft/class_6544$class_6546;named method_38121Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;method_38121(FF)Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;
-
method_38123
public static MultiNoiseUtil.ParameterRange method_38123(MultiNoiseUtil.ParameterRange parameterRange, MultiNoiseUtil.ParameterRange parameterRange2) - Mappings:
Namespace Name Mixin selector official aLbzt$b;a(Lbzt$b;Lbzt$b;)Lbzt$b;intermediary method_38123Lnet/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;named method_38123Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;method_38123(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;)Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;
-
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. -
getDistance
public long getDistance(long long2) - Mappings:
Namespace Name Mixin selector official aLbzt$b;a(J)Jintermediary method_38126Lnet/minecraft/class_6544$class_6546;method_38126(J)Jnamed getDistanceLnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;getDistance(J)J
-
getDistance
- Mappings:
Namespace Name Mixin selector official aLbzt$b;a(Lbzt$b;)Jintermediary method_38122Lnet/minecraft/class_6544$class_6546;method_38122(Lnet/minecraft/class_6544$class_6546;)Jnamed getDistanceLnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;getDistance(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;)J
-
combine
public MultiNoiseUtil.ParameterRange combine(@Nullable @Nullable MultiNoiseUtil.ParameterRange other) - Mappings:
Namespace Name Mixin selector official bLbzt$b;b(Lbzt$b;)Lbzt$b;intermediary method_38127Lnet/minecraft/class_6544$class_6546;method_38127(Lnet/minecraft/class_6544$class_6546;)Lnet/minecraft/class_6544$class_6546;named combineLnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;combine(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;)Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$ParameterRange;
-
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 with '=='. -
min
public long min()Returns the value of theminrecord component.- Returns:
- the value of the
minrecord component
-
max
public long max()Returns the value of themaxrecord component.- Returns:
- the value of the
maxrecord component
-