Package net.minecraft
Record Class class_9704.class_9705
java.lang.Object
java.lang.Record
net.minecraft.class_9704.class_9705
- Record Components:
value-min-max-
- All Implemented Interfaces:
class_9704
- Enclosing interface:
class_9704
public static record class_9704.class_9705(class_9704 value, float min, float max)
extends Record
implements class_9704
- Mappings:
Namespace Name named net/minecraft/class_9704$class_9705intermediary net/minecraft/class_9704$class_9705official czq$anamed valueintermediary comp_2691official dnamed minintermediary comp_2692official enamed maxintermediary comp_2693official f
-
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.MapCodec<class_9704.class_9705> private final floatThe field for themaxrecord component.private final floatThe field for theminrecord component.private final class_9704The 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.floatmax()Returns the value of themaxrecord component.com.mojang.serialization.MapCodec<class_9704.class_9705> floatmethod_60188(int int2) floatmin()Returns the value of theminrecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Field Details
-
value
The field for thevaluerecord component. -
min
private final float minThe field for theminrecord component. -
max
private final float maxThe field for themaxrecord component. -
field_51691
- Mappings:
Namespace Name Mixin selector named field_51691Lnet/minecraft/class_9704$class_9705;field_51691:Lcom/mojang/serialization/MapCodec;intermediary field_51691Lnet/minecraft/class_9704$class_9705;field_51691:Lcom/mojang/serialization/MapCodec;official cLczq$a;c:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_9705
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
min
public float min()Returns the value of theminrecord component.- Returns:
- the value of the
minrecord component
-
max
public float max()Returns the value of themaxrecord component.- Returns:
- the value of the
maxrecord component
-