Record Class ArmorItem
java.lang.Object
java.lang.Record
kr.toxicity.model.api.armor.ArmorItem
- Record Components:
tint- tint valuetype- armor typetrim- trimpalette- palette
-
Constructor Summary
Constructors -
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.@Nullable Stringpalette()Returns the value of thepaletterecord component.inttint()Returns the value of thetintrecord component.final StringtoString()Returns a string representation of this record class.@Nullable Stringtrim()Returns the value of thetrimrecord component.@NotNull Stringtype()Returns the value of thetyperecord component.
-
Constructor Details
-
ArmorItem
-
-
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. -
tint
-
type
-
trim
-
palette
-