Record Class BakedQuad
java.lang.Object
java.lang.Record
net.minecraft.client.render.model.BakedQuad
- Record Components:
position0-position1-position2-position3-packedUV0-packedUV1-packedUV2-packedUV3-tintIndex-face-sprite-shade-lightEmission-
@Environment(CLIENT)
public record BakedQuad(Vector3fc position0, Vector3fc position1, Vector3fc position2, Vector3fc position3, long packedUV0, long packedUV1, long packedUV2, long packedUV3, int tintIndex, Direction face, Sprite sprite, boolean shade, int lightEmission)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/model/BakedQuadintermediary net/minecraft/class_777official hmcnamed position0intermediary comp_5238official bnamed position1intermediary comp_5239official cnamed position2intermediary comp_5240official dnamed position3intermediary comp_5241official enamed packedUV0intermediary comp_5242official fnamed packedUV1intermediary comp_5243official gnamed packedUV2intermediary comp_5244official hnamed packedUV3intermediary comp_5245official inamed tintIndexintermediary comp_3722official jnamed faceintermediary comp_3723official knamed spriteintermediary comp_3724official lnamed shadeintermediary comp_3725official mnamed lightEmissionintermediary comp_3726official n
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DirectionThe field for thefacerecord component.static final intprivate final intThe field for thelightEmissionrecord component.private final longThe field for thepackedUV0record component.private final longThe field for thepackedUV1record component.private final longThe field for thepackedUV2record component.private final longThe field for thepackedUV3record component.private final Vector3fcThe field for theposition0record component.private final Vector3fcThe field for theposition1record component.private final Vector3fcThe field for theposition2record component.private final Vector3fcThe field for theposition3record component.private final booleanThe field for theshaderecord component.private final SpriteThe field for thespriterecord component.private final intThe field for thetintIndexrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionBakedQuad(Vector3fc position0, Vector3fc position1, Vector3fc position2, Vector3fc position3, long packedUV0, long packedUV1, long packedUV2, long packedUV3, int tintIndex, Direction face, Sprite sprite, boolean shade, int lightEmission) Creates an instance of aBakedQuadrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.face()Returns the value of thefacerecord component.final inthashCode()Returns a hash code value for this object.booleanhasTint()intReturns the value of thelightEmissionrecord component.method_76648(int int2) longmethod_76649(int int2) longReturns the value of thepackedUV0record component.longReturns the value of thepackedUV1record component.longReturns the value of thepackedUV2record component.longReturns the value of thepackedUV3record component.Returns the value of theposition0record component.Returns the value of theposition1record component.Returns the value of theposition2record component.Returns the value of theposition3record component.booleanshade()Returns the value of theshaderecord component.sprite()Returns the value of thespriterecord component.intReturns the value of thetintIndexrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
position0
The field for theposition0record component. -
position1
The field for theposition1record component. -
position2
The field for theposition2record component. -
position3
The field for theposition3record component. -
packedUV0
private final long packedUV0The field for thepackedUV0record component. -
packedUV1
private final long packedUV1The field for thepackedUV1record component. -
packedUV2
private final long packedUV2The field for thepackedUV2record component. -
packedUV3
private final long packedUV3The field for thepackedUV3record component. -
tintIndex
private final int tintIndexThe field for thetintIndexrecord component. -
face
The field for thefacerecord component. -
sprite
The field for thespriterecord component. -
shade
private final boolean shadeThe field for theshaderecord component. -
lightEmission
private final int lightEmissionThe field for thelightEmissionrecord component. -
field_64572
public static final int field_64572- See Also:
- Mappings:
Namespace Name Mixin selector named field_64572Lnet/minecraft/client/render/model/BakedQuad;field_64572:Iintermediary field_64572Lnet/minecraft/class_777;field_64572:Iofficial aLhmc;a:I
-
-
Constructor Details
-
BakedQuad
public BakedQuad(Vector3fc position0, Vector3fc position1, Vector3fc position2, Vector3fc position3, long packedUV0, long packedUV1, long packedUV2, long packedUV3, int tintIndex, Direction face, Sprite sprite, boolean shade, int lightEmission) Creates an instance of aBakedQuadrecord class.- Parameters:
position0- the value for theposition0record componentposition1- the value for theposition1record componentposition2- the value for theposition2record componentposition3- the value for theposition3record componentpackedUV0- the value for thepackedUV0record componentpackedUV1- the value for thepackedUV1record componentpackedUV2- the value for thepackedUV2record componentpackedUV3- the value for thepackedUV3record componenttintIndex- the value for thetintIndexrecord componentface- the value for thefacerecord componentsprite- the value for thespriterecord componentshade- the value for theshaderecord componentlightEmission- the value for thelightEmissionrecord component
-
-
Method Details
-
hasTint
public boolean hasTint()- Mappings:
Namespace Name Mixin selector named hasTintLnet/minecraft/client/render/model/BakedQuad;hasTint()Zintermediary method_3360Lnet/minecraft/class_777;method_3360()Zofficial aLhmc;a()Z
-
method_76648
- Mappings:
Namespace Name Mixin selector named method_76648Lnet/minecraft/client/render/model/BakedQuad;method_76648(I)Lorg/joml/Vector3fc;intermediary method_76648Lnet/minecraft/class_777;method_76648(I)Lorg/joml/Vector3fc;official aLhmc;a(I)Lorg/joml/Vector3fc;
-
method_76649
public long method_76649(int int2) - Mappings:
Namespace Name Mixin selector named method_76649Lnet/minecraft/client/render/model/BakedQuad;method_76649(I)Jintermediary method_76649Lnet/minecraft/class_777;method_76649(I)Jofficial bLhmc;b(I)J
-
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 '=='. -
position0
Returns the value of theposition0record component.- Returns:
- the value of the
position0record component
-
position1
Returns the value of theposition1record component.- Returns:
- the value of the
position1record component
-
position2
Returns the value of theposition2record component.- Returns:
- the value of the
position2record component
-
position3
Returns the value of theposition3record component.- Returns:
- the value of the
position3record component
-
packedUV0
public long packedUV0()Returns the value of thepackedUV0record component.- Returns:
- the value of the
packedUV0record component
-
packedUV1
public long packedUV1()Returns the value of thepackedUV1record component.- Returns:
- the value of the
packedUV1record component
-
packedUV2
public long packedUV2()Returns the value of thepackedUV2record component.- Returns:
- the value of the
packedUV2record component
-
packedUV3
public long packedUV3()Returns the value of thepackedUV3record component.- Returns:
- the value of the
packedUV3record component
-
tintIndex
public int tintIndex()Returns the value of thetintIndexrecord component.- Returns:
- the value of the
tintIndexrecord component
-
face
Returns the value of thefacerecord component.- Returns:
- the value of the
facerecord component
-
sprite
Returns the value of thespriterecord component.- Returns:
- the value of the
spriterecord component
-
shade
public boolean shade()Returns the value of theshaderecord component.- Returns:
- the value of the
shaderecord component
-
lightEmission
public int lightEmission()Returns the value of thelightEmissionrecord component.- Returns:
- the value of the
lightEmissionrecord component
-