Record Class ElderGuardianParticleRenderer.State

java.lang.Object
java.lang.Record
net.minecraft.client.particle.ElderGuardianParticleRenderer.State
Record Components:
model -
matrices -
renderLayer -
color -
Enclosing class:
ElderGuardianParticleRenderer

@Environment(CLIENT) private static record ElderGuardianParticleRenderer.State(Model<Unit> model, MatrixStack matrices, RenderLayer renderLayer, int color) extends Record
Mappings:
Namespace Name
named net/minecraft/client/particle/ElderGuardianParticleRenderer$State
intermediary net/minecraft/class_11931$class_11932
official hcb$a
named model
intermediary comp_4807
official a
named matrices
intermediary comp_4808
official b
named renderLayer
intermediary comp_4809
official c
named color
intermediary comp_4810
official d
  • Field Details

    • model

      private final Model<Unit> model
      The field for the model record component.
    • matrices

      private final MatrixStack matrices
      The field for the matrices record component.
    • renderLayer

      private final RenderLayer renderLayer
      The field for the renderLayer record component.
    • color

      private final int color
      The field for the color record component.
  • Constructor Details

  • Method Details

    • create

      public static ElderGuardianParticleRenderer.State create(ElderGuardianParticle particle, Camera camera, float tickProgress)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/client/particle/ElderGuardianParticleRenderer$State;create(Lnet/minecraft/client/particle/ElderGuardianParticle;Lnet/minecraft/client/render/Camera;F)Lnet/minecraft/client/particle/ElderGuardianParticleRenderer$State;
      intermediary method_74277 Lnet/minecraft/class_11931$class_11932;method_74277(Lnet/minecraft/class_11930;Lnet/minecraft/class_4184;F)Lnet/minecraft/class_11931$class_11932;
      official a Lhcb$a;a(Lhca;Lfzh;F)Lhcb$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. Reference components are compared with Objects::equals(Object,Object); primitive components 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.
    • model

      public Model<Unit> model()
      Returns the value of the model record component.
      Returns:
      the value of the model record component
    • matrices

      public MatrixStack matrices()
      Returns the value of the matrices record component.
      Returns:
      the value of the matrices record component
    • renderLayer

      public RenderLayer renderLayer()
      Returns the value of the renderLayer record component.
      Returns:
      the value of the renderLayer record component
    • color

      public int color()
      Returns the value of the color record component.
      Returns:
      the value of the color record component