Package net.minecraft
Record Class class_11440.class_11441
java.lang.Object
java.lang.Record
net.minecraft.class_11440.class_11441
- Record Components:
start-end-initial-steps-
- Enclosing class:
class_11440
public static record class_11440.class_11441(double start, double end, Optional<Double> initial, int steps)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11440$class_11441intermediary net/minecraft/class_11440$class_11441official ask$anamed startintermediary comp_4340official bnamed endintermediary comp_4341official cnamed initialintermediary comp_4342official dnamed stepsintermediary comp_4343official e
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final doubleThe field for theendrecord component.static final com.mojang.serialization.MapCodec<class_11440.class_11441> The field for theinitialrecord component.private final doubleThe field for thestartrecord component.private final intThe field for thestepsrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11441(double double2, double double3, Optional<Double> optional, int int2) -
Method Summary
Modifier and TypeMethodDescriptiondoubleend()Returns the value of theendrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.initial()Returns the value of theinitialrecord component.doubledoublemethod_71724(double double2) doublemethod_71728(double double2) doublestart()Returns the value of thestartrecord component.intsteps()Returns the value of thestepsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
start
private final double startThe field for thestartrecord component. -
end
private final double endThe field for theendrecord component. -
initial
The field for theinitialrecord component. -
steps
private final int stepsThe field for thestepsrecord component. -
field_60646
- Mappings:
Namespace Name Mixin selector named field_60646Lnet/minecraft/class_11440$class_11441;field_60646:Lcom/mojang/serialization/MapCodec;intermediary field_60646Lnet/minecraft/class_11440$class_11441;field_60646:Lcom/mojang/serialization/MapCodec;official aLask$a;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_11441
-
-
Method Details
-
method_71724
public double method_71724(double double2) - Mappings:
Namespace Name Mixin selector named method_71724Lnet/minecraft/class_11440$class_11441;method_71724(D)Dintermediary method_71724Lnet/minecraft/class_11440$class_11441;method_71724(D)Dofficial aLask$a;a(D)D
-
method_71728
public double method_71728(double double2) - Mappings:
Namespace Name Mixin selector named method_71728Lnet/minecraft/class_11440$class_11441;method_71728(D)Dintermediary method_71728Lnet/minecraft/class_11440$class_11441;method_71728(D)Dofficial bLask$a;b(D)D
-
method_71723
public double method_71723()- Mappings:
Namespace Name Mixin selector named method_71723Lnet/minecraft/class_11440$class_11441;method_71723()Dintermediary method_71723Lnet/minecraft/class_11440$class_11441;method_71723()Dofficial aLask$a;a()D
-
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 '=='. -
start
public double start()Returns the value of thestartrecord component.- Returns:
- the value of the
startrecord component
-
end
public double end()Returns the value of theendrecord component.- Returns:
- the value of the
endrecord component
-
initial
Returns the value of theinitialrecord component.- Returns:
- the value of the
initialrecord component
-
steps
public int steps()Returns the value of thestepsrecord component.- Returns:
- the value of the
stepsrecord component
-