Contents
Record Class PrefabStore.AssetPackPrefabPath
java.lang.Object
java.lang.Record
com.hypixel.hytale.server.core.prefab.PrefabStore.AssetPackPrefabPath
- Enclosing class:
PrefabStore
-
Constructor Summary
ConstructorsConstructorDescriptionAssetPackPrefabPath(AssetPack pack, Path prefabsPath) Creates an instance of aAssetPackPrefabPathrecord class. -
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.booleanbooleanpack()Returns the value of thepackrecord component.Returns the value of theprefabsPathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AssetPackPrefabPath
-
-
Method Details
-
isBasePack
public boolean isBasePack() -
isFromAssetPack
public boolean isFromAssetPack() -
getPackName
-
getDisplayName
-
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). -
pack
Returns the value of thepackrecord component.- Returns:
- the value of the
packrecord component
-
prefabsPath
Returns the value of theprefabsPathrecord component.- Returns:
- the value of the
prefabsPathrecord component
-