Contents
Record Class CommonAssetRegistry.PackAsset
java.lang.Object
java.lang.Record
com.hypixel.hytale.server.core.asset.common.CommonAssetRegistry.PackAsset
- Enclosing class:
CommonAssetRegistry
- Since:
- 6/11/17.
- Version:
- 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionPackAsset(String pack, CommonAsset asset) Creates an instance of aPackAssetrecord class. -
Method Summary
Modifier and TypeMethodDescriptionasset()Returns the value of theassetrecord component.booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.pack()Returns the value of thepackrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
PackAsset
Creates an instance of aPackAssetrecord class.- Parameters:
pack- the value for thepackrecord componentasset- the value for theassetrecord component
-
-
Method Details
-
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). -
toString
-
hashCode
-
pack
Returns the value of thepackrecord component.- Returns:
- the value of the
packrecord component
-
asset
Returns the value of theassetrecord component.- Returns:
- the value of the
assetrecord component
-