Package net.minecraft
Record Class class_6916.class_6922
java.lang.Object
java.lang.Record
net.minecraft.class_6916.class_6922
- Record Components:
input-minValue-maxValue-
- All Implemented Interfaces:
class_6910,class_6916.class_6932
- Enclosing class:
class_6916
protected static record class_6916.class_6922(class_6910 input, double minValue, double maxValue)
extends Record
implements class_6916.class_6932
- Mappings:
Namespace Name official ctp$gintermediary net/minecraft/class_6916$class_6922named net/minecraft/class_6916$class_6922official eintermediary comp_380named inputofficial fintermediary comp_377named minValueofficial gintermediary comp_378named maxValue
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_6910
class_6910.class_6911, class_6910.class_6912, class_6910.class_6913, class_6910.class_6914, class_6910.class_6915 -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_6916.class_6922>private static final com.mojang.serialization.MapCodec<class_6916.class_6922>private final class_6910The field for theinputrecord component.private final doubleThe field for themaxValuerecord component.private final doubleThe field for theminValuerecord component.Fields inherited from interface net.minecraft.class_6910
field_37057, field_37058, field_37059 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedclass_6922(class_6910 class_6910, double double2, double double3) -
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.input()doublemaxValue()method_40469(class_6910.class_6915 class_6915) doublemethod_40520(double double2) com.mojang.serialization.Codec<? extends class_6910>doubleminValue()final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.class_6910
method_40468, method_40471, method_40472, method_40473, method_40474, method_40475, method_40476Methods inherited from interface net.minecraft.class_6916.class_6932
method_40464, method_40470
-
Field Details
-
input
The field for theinputrecord component. -
minValue
private final double minValueThe field for theminValuerecord component. -
maxValue
private final double maxValueThe field for themaxValuerecord component. -
field_37083
- Mappings:
Namespace Name Mixin selector official hLctp$g;h:Lcom/mojang/serialization/MapCodec;intermediary field_37083Lnet/minecraft/class_6916$class_6922;field_37083:Lcom/mojang/serialization/MapCodec;named field_37083Lnet/minecraft/class_6916$class_6922;field_37083:Lcom/mojang/serialization/MapCodec;
-
field_37082
- Mappings:
Namespace Name Mixin selector official aLctp$g;a:Lcom/mojang/serialization/Codec;intermediary field_37082Lnet/minecraft/class_6916$class_6922;field_37082:Lcom/mojang/serialization/Codec;named field_37082Lnet/minecraft/class_6916$class_6922;field_37082:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_6922
-
-
Method Details
-
method_40520
public double method_40520(double double2) - Specified by:
method_40520in interfaceclass_6916.class_6932- Mappings:
Namespace Name Mixin selector official aLctp$p;a(D)Dintermediary method_40520Lnet/minecraft/class_6916$class_6932;method_40520(D)Dnamed method_40520Lnet/minecraft/class_6916$class_6932;method_40520(D)D
-
method_40469
- Specified by:
method_40469in interfaceclass_6910- Mappings:
Namespace Name Mixin selector official aLcto;a(Lcto$e;)Lcto;intermediary method_40469Lnet/minecraft/class_6910;method_40469(Lnet/minecraft/class_6910$class_6915;)Lnet/minecraft/class_6910;named method_40469Lnet/minecraft/class_6910;method_40469(Lnet/minecraft/class_6910$class_6915;)Lnet/minecraft/class_6910;
-
method_41062
- Specified by:
method_41062in interfaceclass_6910- Mappings:
Namespace Name Mixin selector official cLcto;c()Lcom/mojang/serialization/Codec;intermediary method_41062Lnet/minecraft/class_6910;method_41062()Lcom/mojang/serialization/Codec;named method_41062Lnet/minecraft/class_6910;method_41062()Lcom/mojang/serialization/Codec;
-
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 '=='. -
input
- Specified by:
inputin interfaceclass_6916.class_6932- Mappings:
Namespace Name Mixin selector official ac_Lctp$p;ac_()Lcto;intermediary comp_380Lnet/minecraft/class_6916$class_6932;comp_380()Lnet/minecraft/class_6910;named inputLnet/minecraft/class_6916$class_6932;input()Lnet/minecraft/class_6910;
-
minValue
public double minValue()- Specified by:
minValuein interfaceclass_6910- Mappings:
Namespace Name Mixin selector official aLcto;a()Dintermediary comp_377Lnet/minecraft/class_6910;comp_377()Dnamed minValueLnet/minecraft/class_6910;minValue()D
-
maxValue
public double maxValue()- Specified by:
maxValuein interfaceclass_6910- Mappings:
Namespace Name Mixin selector official bLcto;b()Dintermediary comp_378Lnet/minecraft/class_6910;comp_378()Dnamed maxValueLnet/minecraft/class_6910;maxValue()D
-