HyCodeYourTale
classpublicPriority 3

PrefabLoader

com.hypixel.hytale.server.core.prefab.selection.buffer.PrefabLoader

6

Methods

6

Public Methods

1

Fields

1

Constructors

Constants

charJSON_FILEPATH_SEPARATOR= '.'

Constructors

public
PrefabLoader(Path rootFolder)

Methods

Public Methods (6)

public
Path getRootFolder()
publicstatic
void resolvePrefabFolder(Path rootFolder, String prefabName, Consumer<Path> pathConsumer)

throws IOException

public
void resolvePrefabs(String prefabName, Consumer<Path> pathConsumer)

throws IOException

publicstatic
void resolvePrefabs(Path rootFolder, String prefabName, Consumer<Path> pathConsumer)

throws IOException

publicstatic
String resolveRelativeJsonPath(String prefabName, Path prefabPath, Path rootPrefabDir)
@Nonnull
public
FileVisitResult visitFile(Path file, BasicFileAttributes attrs)
@Nonnull

Fields

Private/Package Fields (1)

privatePath rootFolder

Related Classes

Used By