Package net.minecraft

Record Class class_11931.class_11932

java.lang.Object
java.lang.Record
net.minecraft.class_11931.class_11932
Record Components:
model -
poseStack -
renderType -
color -
Enclosing class:
class_11931

@Environment(CLIENT) private static record class_11931.class_11932(Model<Unit> model, MatrixStack poseStack, RenderLayer renderType, int color) extends Record
Mappings:
Namespace Name
named net/minecraft/class_11931$class_11932
intermediary net/minecraft/class_11931$class_11932
official hbd$a
named model
intermediary comp_4807
official a
named poseStack
intermediary comp_4808
official b
named renderType
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.
    • poseStack

      private final MatrixStack poseStack
      The field for the poseStack record component.
    • renderType

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

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

  • Method Details

    • method_74277

      public static class_11931.class_11932 method_74277(class_11930 class_11930, Camera camera, float float2)
      Mappings:
      Namespace Name Mixin selector
      named method_74277 Lnet/minecraft/class_11931$class_11932;method_74277(Lnet/minecraft/class_11930;Lnet/minecraft/client/render/Camera;F)Lnet/minecraft/class_11931$class_11932;
      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 Lhbd$a;a(Lhbc;Lfyk;F)Lhbd$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
    • poseStack

      public MatrixStack poseStack()
      Returns the value of the poseStack record component.
      Returns:
      the value of the poseStack record component
    • renderType

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

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