Record Class CubeFace.Corner
java.lang.Object
java.lang.Record
net.minecraft.client.render.model.CubeFace.Corner
- Record Components:
xSide-ySide-zSide-
- Enclosing class:
CubeFace
@Environment(CLIENT)
public static record CubeFace.Corner(CubeFace.class_12350 xSide, CubeFace.class_12350 ySide, CubeFace.class_12350 zSide)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/model/CubeFace$Cornerintermediary net/minecraft/class_753$class_755official hoa$bnamed xSideintermediary comp_5233official anamed ySideintermediary comp_5234official bnamed zSideintermediary comp_5235official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CubeFace.class_12350The field for thexSiderecord component.private final CubeFace.class_12350The field for theySiderecord component.private final CubeFace.class_12350The field for thezSiderecord component. -
Constructor Summary
ConstructorsConstructorDescriptionCorner(CubeFace.class_12350 xSide, CubeFace.class_12350 ySide, CubeFace.class_12350 zSide) Creates an instance of aCornerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.method_76646(Vector3fc vector3fc, Vector3fc vector3fc2) final StringtoString()Returns a string representation of this record class.xSide()Returns the value of thexSiderecord component.ySide()Returns the value of theySiderecord component.zSide()Returns the value of thezSiderecord component.
-
Field Details
-
Constructor Details
-
Method Details
-
method_76646
- Mappings:
Namespace Name Mixin selector named method_76646Lnet/minecraft/client/render/model/CubeFace$Corner;method_76646(Lorg/joml/Vector3fc;Lorg/joml/Vector3fc;)Lorg/joml/Vector3f;intermediary method_76646Lnet/minecraft/class_753$class_755;method_76646(Lorg/joml/Vector3fc;Lorg/joml/Vector3fc;)Lorg/joml/Vector3f;official aLhoa$b;a(Lorg/joml/Vector3fc;Lorg/joml/Vector3fc;)Lorg/joml/Vector3f;
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
xSide
Returns the value of thexSiderecord component.- Returns:
- the value of the
xSiderecord component
-
ySide
Returns the value of theySiderecord component.- Returns:
- the value of the
ySiderecord component
-
zSide
Returns the value of thezSiderecord component.- Returns:
- the value of the
zSiderecord component
-