Record Class BedrockOwnedSkinPacks.Item
java.lang.Object
java.lang.Record
com.viaversion.viafabricplus.bedrock.appearance.BedrockOwnedSkinPacks.Item
- Enclosing class:
BedrockOwnedSkinPacks
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreator()Returns the value of thecreatorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.packId()Returns the value of thepackIdrecord component.Returns the value of theproductIdrecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
Item
Creates an instance of aItemrecord class.- Parameters:
productId- the value for theproductIdrecord componentpackId- the value for thepackIdrecord componentversion- the value for theversionrecord componentname- the value for thenamerecord componentcreator- the value for thecreatorrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
productId
Returns the value of theproductIdrecord component.- Returns:
- the value of the
productIdrecord component
-
packId
Returns the value of thepackIdrecord component.- Returns:
- the value of the
packIdrecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
creator
Returns the value of thecreatorrecord component.- Returns:
- the value of the
creatorrecord component
-