PrefabEntry

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 Path path
@Nonnull Path relativePath
@Nullable AssetPack pack
@Nonnull String displayName

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

static String buildDisplayName (@Nonnull final Path relativePath, @Nullable final AssetPack pack)

Method buildDisplayName.

Parameters:
@Nonnull final Path relativePath
@Nullable final AssetPack pack

path

public Path path ()

Method path.

relativePath

public Path relativePath ()

Method relativePath.

pack

public AssetPack pack ()

Method pack.

displayName

public String displayName ()

Method displayName.