public class PrefabEntry
Class PrefabEntry. Provides prefabentry functionality for the Hytale server.
java.lang.Object > PrefabEntry
Field Summary
fileName
final
String
fileName
Field fileName.
Method Detail
PrefabEntry
public
record
PrefabEntry
(@Nonnull Path path, @Nonnull Path relativePath, @Nullable AssetPack pack, @Nonnull String displayName)
Method PrefabEntry.
- Parameters:
@Nonnull Pathpath@Nonnull PathrelativePath@Nullable AssetPackpack@Nonnull StringdisplayName
isFromBasePack
public
boolean
isFromBasePack
()
Method isFromBasePack.
isFromAssetPack
public
boolean
isFromAssetPack
()
Method isFromAssetPack.
getPackName
public
String
getPackName
()
Method getPackName.
getFileName
public
String
getFileName
()
Method getFileName.
getDisplayNameWithPack
public
String
getDisplayNameWithPack
()
Method getDisplayNameWithPack.
buildDisplayName
Method buildDisplayName.
- Parameters:
@Nonnull final PathrelativePath@Nullable final AssetPackpack
path
public
Path
path
()
Method path.
relativePath
public
Path
relativePath
()
Method relativePath.
displayName
public
String
displayName
()
Method displayName.