Record Class ItemQuads
java.lang.Object
java.lang.Record
net.minecraft.client.resources.model.geometry.ItemQuads
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for theallrecord component.static final ItemQuadsThe field for thesolidrecord component.The field for thetranslucentrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionall()Returns the value of theallrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisEmpty()solid()Returns the value of thesolidrecord component.static ItemQuadsfinal StringtoString()Returns a string representation of this record class.Returns the value of thetranslucentrecord component.
-
Field Details
-
all
-
solid
-
translucent
-
EMPTY
-
-
Constructor Details
-
ItemQuads
Creates an instance of aItemQuadsrecord class.- Parameters:
all- the value for theallrecord componentsolid- the value for thesolidrecord componenttranslucent- the value for thetranslucentrecord component
-
-
Method Details
-
split
-
isEmpty
public boolean isEmpty() -
toString
-
hashCode
-
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). -
all
-
solid
-
translucent
-