Record Class Lancing.class_12153
java.lang.Object
java.lang.Record
net.minecraft.client.entity.render.state.Lancing.class_12153
- Record Components:
raiseProgress-raiseProgressStart-raiseProgressMiddle-raiseProgressEnd-swayProgress-lowerProgress-raiseBackProgress-swayIntensity-swayScaleSlow-swayScaleFast-
- Enclosing class:
Lancing
@Environment(CLIENT)
static record Lancing.class_12153(float raiseProgress, float raiseProgressStart, float raiseProgressMiddle, float raiseProgressEnd, float swayProgress, float lowerProgress, float raiseBackProgress, float swayIntensity, float swayScaleSlow, float swayScaleFast)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/entity/render/state/Lancing$class_12153intermediary net/minecraft/class_12152$class_12153official hat$anamed raiseProgressintermediary comp_5056official anamed raiseProgressStartintermediary comp_5057official bnamed raiseProgressMiddleintermediary comp_5058official cnamed raiseProgressEndintermediary comp_5059official dnamed swayProgressintermediary comp_5060official enamed lowerProgressintermediary comp_5061official fnamed raiseBackProgressintermediary comp_5062official gnamed swayIntensityintermediary comp_5063official hnamed swayScaleSlowintermediary comp_5064official inamed swayScaleFastintermediary comp_5065official j
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final floatThe field for thelowerProgressrecord component.private final floatThe field for theraiseBackProgressrecord component.private final floatThe field for theraiseProgressrecord component.private final floatThe field for theraiseProgressEndrecord component.private final floatThe field for theraiseProgressMiddlerecord component.private final floatThe field for theraiseProgressStartrecord component.private final floatThe field for theswayIntensityrecord component.private final floatThe field for theswayProgressrecord component.private final floatThe field for theswayScaleFastrecord component.private final floatThe field for theswayScaleSlowrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_12153(float raiseProgress, float raiseProgressStart, float raiseProgressMiddle, float raiseProgressEnd, float swayProgress, float lowerProgress, float raiseBackProgress, float swayIntensity, float swayScaleSlow, float swayScaleFast) Creates an instance of aclass_12153record class. -
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.floatReturns the value of thelowerProgressrecord component.static Lancing.class_12153method_75397(KineticWeaponComponent kineticWeaponComponent, float float2) floatReturns the value of theraiseBackProgressrecord component.floatReturns the value of theraiseProgressrecord component.floatReturns the value of theraiseProgressEndrecord component.floatReturns the value of theraiseProgressMiddlerecord component.floatReturns the value of theraiseProgressStartrecord component.floatReturns the value of theswayIntensityrecord component.floatReturns the value of theswayProgressrecord component.floatReturns the value of theswayScaleFastrecord component.floatReturns the value of theswayScaleSlowrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
raiseProgress
private final float raiseProgressThe field for theraiseProgressrecord component. -
raiseProgressStart
private final float raiseProgressStartThe field for theraiseProgressStartrecord component. -
raiseProgressMiddle
private final float raiseProgressMiddleThe field for theraiseProgressMiddlerecord component. -
raiseProgressEnd
private final float raiseProgressEndThe field for theraiseProgressEndrecord component. -
swayProgress
private final float swayProgressThe field for theswayProgressrecord component. -
lowerProgress
private final float lowerProgressThe field for thelowerProgressrecord component. -
raiseBackProgress
private final float raiseBackProgressThe field for theraiseBackProgressrecord component. -
swayIntensity
private final float swayIntensityThe field for theswayIntensityrecord component. -
swayScaleSlow
private final float swayScaleSlowThe field for theswayScaleSlowrecord component. -
swayScaleFast
private final float swayScaleFastThe field for theswayScaleFastrecord component.
-
-
Constructor Details
-
class_12153
class_12153(float raiseProgress, float raiseProgressStart, float raiseProgressMiddle, float raiseProgressEnd, float swayProgress, float lowerProgress, float raiseBackProgress, float swayIntensity, float swayScaleSlow, float swayScaleFast) Creates an instance of aclass_12153record class.- Parameters:
raiseProgress- the value for theraiseProgressrecord componentraiseProgressStart- the value for theraiseProgressStartrecord componentraiseProgressMiddle- the value for theraiseProgressMiddlerecord componentraiseProgressEnd- the value for theraiseProgressEndrecord componentswayProgress- the value for theswayProgressrecord componentlowerProgress- the value for thelowerProgressrecord componentraiseBackProgress- the value for theraiseBackProgressrecord componentswayIntensity- the value for theswayIntensityrecord componentswayScaleSlow- the value for theswayScaleSlowrecord componentswayScaleFast- the value for theswayScaleFastrecord component
-
-
Method Details
-
method_75397
public static Lancing.class_12153 method_75397(KineticWeaponComponent kineticWeaponComponent, float float2) - Mappings:
Namespace Name Mixin selector named method_75397Lnet/minecraft/client/entity/render/state/Lancing$class_12153;method_75397(Lnet/minecraft/component/type/KineticWeaponComponent;F)Lnet/minecraft/client/entity/render/state/Lancing$class_12153;intermediary method_75397Lnet/minecraft/class_12152$class_12153;method_75397(Lnet/minecraft/class_12123;F)Lnet/minecraft/class_12152$class_12153;official aLhat$a;a(Ldnb;F)Lhat$a;
-
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 '=='. -
raiseProgress
public float raiseProgress()Returns the value of theraiseProgressrecord component.- Returns:
- the value of the
raiseProgressrecord component
-
raiseProgressStart
public float raiseProgressStart()Returns the value of theraiseProgressStartrecord component.- Returns:
- the value of the
raiseProgressStartrecord component
-
raiseProgressMiddle
public float raiseProgressMiddle()Returns the value of theraiseProgressMiddlerecord component.- Returns:
- the value of the
raiseProgressMiddlerecord component
-
raiseProgressEnd
public float raiseProgressEnd()Returns the value of theraiseProgressEndrecord component.- Returns:
- the value of the
raiseProgressEndrecord component
-
swayProgress
public float swayProgress()Returns the value of theswayProgressrecord component.- Returns:
- the value of the
swayProgressrecord component
-
lowerProgress
public float lowerProgress()Returns the value of thelowerProgressrecord component.- Returns:
- the value of the
lowerProgressrecord component
-
raiseBackProgress
public float raiseBackProgress()Returns the value of theraiseBackProgressrecord component.- Returns:
- the value of the
raiseBackProgressrecord component
-
swayIntensity
public float swayIntensity()Returns the value of theswayIntensityrecord component.- Returns:
- the value of the
swayIntensityrecord component
-
swayScaleSlow
public float swayScaleSlow()Returns the value of theswayScaleSlowrecord component.- Returns:
- the value of the
swayScaleSlowrecord component
-
swayScaleFast
public float swayScaleFast()Returns the value of theswayScaleFastrecord component.- Returns:
- the value of the
swayScaleFastrecord component
-