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_12153
intermediary net/minecraft/class_12152$class_12153
official hat$a
named raiseProgress
intermediary comp_5056
official a
named raiseProgressStart
intermediary comp_5057
official b
named raiseProgressMiddle
intermediary comp_5058
official c
named raiseProgressEnd
intermediary comp_5059
official d
named swayProgress
intermediary comp_5060
official e
named lowerProgress
intermediary comp_5061
official f
named raiseBackProgress
intermediary comp_5062
official g
named swayIntensity
intermediary comp_5063
official h
named swayScaleSlow
intermediary comp_5064
official i
named swayScaleFast
intermediary comp_5065
official j
  • Field Details

    • raiseProgress

      private final float raiseProgress
      The field for the raiseProgress record component.
    • raiseProgressStart

      private final float raiseProgressStart
      The field for the raiseProgressStart record component.
    • raiseProgressMiddle

      private final float raiseProgressMiddle
      The field for the raiseProgressMiddle record component.
    • raiseProgressEnd

      private final float raiseProgressEnd
      The field for the raiseProgressEnd record component.
    • swayProgress

      private final float swayProgress
      The field for the swayProgress record component.
    • lowerProgress

      private final float lowerProgress
      The field for the lowerProgress record component.
    • raiseBackProgress

      private final float raiseBackProgress
      The field for the raiseBackProgress record component.
    • swayIntensity

      private final float swayIntensity
      The field for the swayIntensity record component.
    • swayScaleSlow

      private final float swayScaleSlow
      The field for the swayScaleSlow record component.
    • swayScaleFast

      private final float swayScaleFast
      The field for the swayScaleFast record 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 a class_12153 record class.
      Parameters:
      raiseProgress - the value for the raiseProgress record component
      raiseProgressStart - the value for the raiseProgressStart record component
      raiseProgressMiddle - the value for the raiseProgressMiddle record component
      raiseProgressEnd - the value for the raiseProgressEnd record component
      swayProgress - the value for the swayProgress record component
      lowerProgress - the value for the lowerProgress record component
      raiseBackProgress - the value for the raiseBackProgress record component
      swayIntensity - the value for the swayIntensity record component
      swayScaleSlow - the value for the swayScaleSlow record component
      swayScaleFast - the value for the swayScaleFast record component
  • Method Details

    • method_75397

      public static Lancing.class_12153 method_75397(KineticWeaponComponent kineticWeaponComponent, float float2)
      Mappings:
      Namespace Name Mixin selector
      named method_75397 Lnet/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_75397 Lnet/minecraft/class_12152$class_12153;method_75397(Lnet/minecraft/class_12123;F)Lnet/minecraft/class_12152$class_12153;
      official a Lhat$a;a(Ldnb;F)Lhat$a;
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • raiseProgress

      public float raiseProgress()
      Returns the value of the raiseProgress record component.
      Returns:
      the value of the raiseProgress record component
    • raiseProgressStart

      public float raiseProgressStart()
      Returns the value of the raiseProgressStart record component.
      Returns:
      the value of the raiseProgressStart record component
    • raiseProgressMiddle

      public float raiseProgressMiddle()
      Returns the value of the raiseProgressMiddle record component.
      Returns:
      the value of the raiseProgressMiddle record component
    • raiseProgressEnd

      public float raiseProgressEnd()
      Returns the value of the raiseProgressEnd record component.
      Returns:
      the value of the raiseProgressEnd record component
    • swayProgress

      public float swayProgress()
      Returns the value of the swayProgress record component.
      Returns:
      the value of the swayProgress record component
    • lowerProgress

      public float lowerProgress()
      Returns the value of the lowerProgress record component.
      Returns:
      the value of the lowerProgress record component
    • raiseBackProgress

      public float raiseBackProgress()
      Returns the value of the raiseBackProgress record component.
      Returns:
      the value of the raiseBackProgress record component
    • swayIntensity

      public float swayIntensity()
      Returns the value of the swayIntensity record component.
      Returns:
      the value of the swayIntensity record component
    • swayScaleSlow

      public float swayScaleSlow()
      Returns the value of the swayScaleSlow record component.
      Returns:
      the value of the swayScaleSlow record component
    • swayScaleFast

      public float swayScaleFast()
      Returns the value of the swayScaleFast record component.
      Returns:
      the value of the swayScaleFast record component