Package net.minecraft
Record Class class_10707.class_10709
java.lang.Object
java.lang.Record
net.minecraft.class_10707.class_10709
- Record Components:
threshold-base-factor-
- Enclosing class:
class_10707
public static record class_10707.class_10709(float threshold, float base, float factor)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_10707$class_10709intermediary net/minecraft/class_10707$class_10709official dat$bnamed thresholdintermediary comp_3595official dnamed baseintermediary comp_3596official enamed factorintermediary comp_3597official f
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final floatThe field for thebaserecord component.private final floatThe field for thefactorrecord component.static final com.mojang.serialization.Codec<class_10707.class_10709> static final PacketCodec<ByteBuf, class_10707.class_10709> static final class_10707.class_10709private final floatThe field for thethresholdrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatbase()Returns the value of thebaserecord component.final booleanIndicates whether some other object is "equal to" this one.floatfactor()Returns the value of thefactorrecord component.final inthashCode()Returns a hash code value for this object.intmethod_67208(float float2) floatReturns the value of thethresholdrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
threshold
private final float thresholdThe field for thethresholdrecord component. -
base
private final float baseThe field for thebaserecord component. -
factor
private final float factorThe field for thefactorrecord component. -
field_56306
- Mappings:
Namespace Name Mixin selector named field_56306Lnet/minecraft/class_10707$class_10709;field_56306:Lcom/mojang/serialization/Codec;intermediary field_56306Lnet/minecraft/class_10707$class_10709;field_56306:Lcom/mojang/serialization/Codec;official aLdat$b;a:Lcom/mojang/serialization/Codec;
-
field_56307
- Mappings:
Namespace Name Mixin selector named field_56307Lnet/minecraft/class_10707$class_10709;field_56307:Lnet/minecraft/network/codec/PacketCodec;intermediary field_56307Lnet/minecraft/class_10707$class_10709;field_56307:Lnet/minecraft/class_9139;official bLdat$b;b:Lyu;
-
field_56308
- Mappings:
Namespace Name Mixin selector named field_56308Lnet/minecraft/class_10707$class_10709;field_56308:Lnet/minecraft/class_10707$class_10709;intermediary field_56308Lnet/minecraft/class_10707$class_10709;field_56308:Lnet/minecraft/class_10707$class_10709;official cLdat$b;c:Ldat$b;
-
-
Constructor Details
-
class_10709
public class_10709(float float2, float float3, float float4)
-
-
Method Details
-
method_67208
public int method_67208(float float2) - Mappings:
Namespace Name Mixin selector named method_67208Lnet/minecraft/class_10707$class_10709;method_67208(F)Iintermediary method_67208Lnet/minecraft/class_10707$class_10709;method_67208(F)Iofficial aLdat$b;a(F)I
-
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 with '=='. -
threshold
public float threshold()Returns the value of thethresholdrecord component.- Returns:
- the value of the
thresholdrecord component
-
base
public float base()Returns the value of thebaserecord component.- Returns:
- the value of the
baserecord component
-
factor
public float factor()Returns the value of thefactorrecord component.- Returns:
- the value of the
factorrecord component
-