Package net.minecraft
Record Class class_9704.class_9708
java.lang.Object
java.lang.Record
net.minecraft.class_9704.class_9708
- Record Components:
added-
- All Implemented Interfaces:
class_9704
- Enclosing interface:
class_9704
- Mappings:
Namespace Name named net/minecraft/class_9704$class_9708intermediary net/minecraft/class_9704$class_9708official czq$dnamed addedintermediary comp_2697official d
-
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 theaddedrecord component.static final com.mojang.serialization.MapCodec<class_9704.class_9708> Fields inherited from interface net.minecraft.class_9704
field_51689, field_51690 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatadded()Returns the value of theaddedrecord 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_9708> floatmethod_60188(int int2) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
added
private final float addedThe field for theaddedrecord component. -
field_51695
- Mappings:
Namespace Name Mixin selector named field_51695Lnet/minecraft/class_9704$class_9708;field_51695:Lcom/mojang/serialization/MapCodec;intermediary field_51695Lnet/minecraft/class_9704$class_9708;field_51695:Lcom/mojang/serialization/MapCodec;official cLczq$d;c:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_9708
public class_9708(float float2)
-
-
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 '=='. -
added
public float added()Returns the value of theaddedrecord component.- Returns:
- the value of the
addedrecord component
-