Package net.minecraft
Record Class class_9704.class_9709
java.lang.Object
java.lang.Record
net.minecraft.class_9704.class_9709
- Record Components:
base-perLevelAboveFirst-
- All Implemented Interfaces:
class_9704
- Enclosing interface:
class_9704
public static record class_9704.class_9709(float base, float perLevelAboveFirst)
extends Record
implements class_9704
- Mappings:
Namespace Name named net/minecraft/class_9704$class_9709intermediary net/minecraft/class_9704$class_9709official czq$enamed baseintermediary comp_2698official dnamed perLevelAboveFirstintermediary comp_2699official e
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_9704
class_9704.class_9705, class_9704.class_9706, class_9704.class_9707, class_9704.class_9708, class_9704.class_9709 -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final floatThe field for thebaserecord component.static final com.mojang.serialization.MapCodec<class_9704.class_9709> private final floatThe field for theperLevelAboveFirstrecord component.Fields inherited from interface net.minecraft.class_9704
field_51689, field_51690 -
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.final inthashCode()Returns a hash code value for this object.com.mojang.serialization.MapCodec<class_9704.class_9709> floatmethod_60188(int int2) floatReturns the value of theperLevelAboveFirstrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
base
private final float baseThe field for thebaserecord component. -
perLevelAboveFirst
private final float perLevelAboveFirstThe field for theperLevelAboveFirstrecord component. -
field_51696
- Mappings:
Namespace Name Mixin selector named field_51696Lnet/minecraft/class_9704$class_9709;field_51696:Lcom/mojang/serialization/MapCodec;intermediary field_51696Lnet/minecraft/class_9704$class_9709;field_51696:Lcom/mojang/serialization/MapCodec;official cLczq$e;c:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_9709
public class_9709(float float2, float float3)
-
-
Method Details
-
method_60188
public float method_60188(int int2) - Specified by:
method_60188in interfaceclass_9704- Mappings:
Namespace Name Mixin selector named method_60188Lnet/minecraft/class_9704;method_60188(I)Fintermediary method_60188Lnet/minecraft/class_9704;method_60188(I)Fofficial aLczq;a(I)F
-
method_60185
- Specified by:
method_60185in interfaceclass_9704- Mappings:
Namespace Name Mixin selector named method_60185Lnet/minecraft/class_9704;method_60185()Lcom/mojang/serialization/MapCodec;intermediary method_60185Lnet/minecraft/class_9704;method_60185()Lcom/mojang/serialization/MapCodec;official aLczq;a()Lcom/mojang/serialization/MapCodec;
-
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 '=='. -
base
public float base()Returns the value of thebaserecord component.- Returns:
- the value of the
baserecord component
-
perLevelAboveFirst
public float perLevelAboveFirst()Returns the value of theperLevelAboveFirstrecord component.- Returns:
- the value of the
perLevelAboveFirstrecord component
-