Record Class ItemMeta
java.lang.Object
java.lang.Record
de.chojo.universalis.entities.ItemMeta
- Record Components:
hq- hq qualitycrafted- true if craftedstainId- stain idmateria- materia views
public record ItemMeta(boolean hq, boolean crafted, int stainId, List<MateriaView> materia)
extends Record
Meta of an item
-
Constructor Summary
ConstructorsConstructorDescriptionItemMeta(boolean hq, boolean crafted, int stainId, List<MateriaView> materia) Creates an instance of aItemMetarecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleancrafted()Returns the value of thecraftedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanhq()Returns the value of thehqrecord component.materia()Returns the value of themateriarecord component.intstainId()Returns the value of thestainIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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. -
hq
-
crafted
-
stainId
-
materia
-