WorldGenPrefabLoader

public class WorldGenPrefabLoader

Class WorldGenPrefabLoader. Provides worldgenprefabloader functionality for the Hytale server.

java.lang.Object > WorldGenPrefabLoader

Field Summary

storePath

final Path storePath

Field storePath.

suppliers

final ArrayList suppliers

Field suppliers.

Method Detail

WorldGenPrefabLoader

public public WorldGenPrefabLoader (@Nonnull final PrefabStoreRoot store, @Nonnull final Path dataFolder)

Method WorldGenPrefabLoader.

Parameters:
@Nonnull final PrefabStoreRoot store
@Nonnull final Path dataFolder

WorldGenPrefabSupplier

public new WorldGenPrefabSupplier (this, key, path)

Method WorldGenPrefabSupplier.

Parameters:
this this
key key
path path

getStore

public PrefabStoreRoot getStore ()

Method getStore.

getRootFolder

public Path getRootFolder ()

Method getRootFolder.

get

public WorldGenPrefabSupplier[] get (final String prefabName)

Method get.

Parameters:
final String prefabName

resolve

private void resolve (@Nonnull final String prefabName, @Nonnull final Consumer consumer)

Method resolve.

Parameters:
@Nonnull final String prefabName
@Nonnull final Consumer consumer