Record Class GuiOpenTypeValidator.Metadata
java.lang.Object
java.lang.Record
com.render.api.gui.GuiOpenTypeValidator.Metadata
- Enclosing class:
GuiOpenTypeValidator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thecollectionFaceCountrecord component.intReturns the value of thecollectionIndexrecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of thefaceOffsetrecord component.intflavor()Returns the value of theflavorrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of thetableCountrecord component.Returns the value of thetableTagsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Metadata
public Metadata(int collectionFaceCount, int collectionIndex, int faceOffset, int flavor, int tableCount, Set<Integer> tableTags) Creates an instance of aMetadatarecord class.- Parameters:
collectionFaceCount- the value for thecollectionFaceCountrecord componentcollectionIndex- the value for thecollectionIndexrecord componentfaceOffset- the value for thefaceOffsetrecord componentflavor- the value for theflavorrecord componenttableCount- the value for thetableCountrecord componenttableTags- the value for thetableTagsrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
collectionFaceCount
public int collectionFaceCount()Returns the value of thecollectionFaceCountrecord component.- Returns:
- the value of the
collectionFaceCountrecord component
-
collectionIndex
public int collectionIndex()Returns the value of thecollectionIndexrecord component.- Returns:
- the value of the
collectionIndexrecord component
-
faceOffset
public int faceOffset()Returns the value of thefaceOffsetrecord component.- Returns:
- the value of the
faceOffsetrecord component
-
flavor
public int flavor()Returns the value of theflavorrecord component.- Returns:
- the value of the
flavorrecord component
-
tableCount
public int tableCount()Returns the value of thetableCountrecord component.- Returns:
- the value of the
tableCountrecord component
-
tableTags
-