Package net.minecraft
Record Class class_9704.class_9706
java.lang.Object
java.lang.Record
net.minecraft.class_9704.class_9706
- Record Components:
value-
- All Implemented Interfaces:
class_9704
- Enclosing interface:
class_9704
- Mappings:
Namespace Name named net/minecraft/class_9704$class_9706intermediary net/minecraft/class_9704$class_9706official czq$bnamed valueintermediary comp_2694official 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 TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_9704.class_9706> static final com.mojang.serialization.MapCodec<class_9704.class_9706> private final floatThe field for thevaluerecord component.Fields inherited from interface net.minecraft.class_9704
field_51689, field_51690 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal 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_9706> floatmethod_60188(int int2) final StringtoString()Returns a string representation of this record class.floatvalue()Returns the value of thevaluerecord component.
-
Field Details
-
value
private final float valueThe field for thevaluerecord component. -
field_51692
- Mappings:
Namespace Name Mixin selector named field_51692Lnet/minecraft/class_9704$class_9706;field_51692:Lcom/mojang/serialization/Codec;intermediary field_51692Lnet/minecraft/class_9704$class_9706;field_51692:Lcom/mojang/serialization/Codec;official cLczq$b;c:Lcom/mojang/serialization/Codec;
-
field_51693
- Mappings:
Namespace Name Mixin selector named field_51693Lnet/minecraft/class_9704$class_9706;field_51693:Lcom/mojang/serialization/MapCodec;intermediary field_51693Lnet/minecraft/class_9704$class_9706;field_51693:Lcom/mojang/serialization/MapCodec;official dLczq$b;d:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_9706
public class_9706(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 '=='. -
value
public float value()Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-