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_11932intermediary net/minecraft/class_11931$class_11932official hbd$anamed modelintermediary comp_4807official anamed poseStackintermediary comp_4808official bnamed renderTypeintermediary comp_4809official cnamed colorintermediary comp_4810official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for thecolorrecord component.The field for themodelrecord component.private final MatrixStackThe field for theposeStackrecord component.private final RenderLayerThe field for therenderTyperecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateclass_11932(Model<Unit> model, MatrixStack matrixStack, RenderLayer renderLayer, int int2) -
Method Summary
Modifier and TypeMethodDescriptionintcolor()Returns the value of thecolorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static class_11931.class_11932method_74277(class_11930 class_11930, Camera camera, float float2) model()Returns the value of themodelrecord component.Returns the value of theposeStackrecord component.Returns the value of therenderTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
model
The field for themodelrecord component. -
poseStack
The field for theposeStackrecord component. -
renderType
The field for therenderTyperecord component. -
color
private final int colorThe field for thecolorrecord component.
-
-
Constructor Details
-
class_11932
-
-
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_74277Lnet/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_74277Lnet/minecraft/class_11931$class_11932;method_74277(Lnet/minecraft/class_11930;Lnet/minecraft/class_4184;F)Lnet/minecraft/class_11931$class_11932;official aLhbd$a;a(Lhbc;Lfyk;F)Lhbd$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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
poseStack
Returns the value of theposeStackrecord component.- Returns:
- the value of the
poseStackrecord component
-
renderType
Returns the value of therenderTyperecord component.- Returns:
- the value of the
renderTyperecord component
-
color
public int color()Returns the value of thecolorrecord component.- Returns:
- the value of the
colorrecord component
-