WorldGenPrefabSupplier

public class WorldGenPrefabSupplier implements PrefabSupplier

Class WorldGenPrefabSupplier. Provides worldgenprefabsupplier functionality for the Hytale server.

java.lang.Object > WorldGenPrefabSupplier

Field Summary

prefabName

private String prefabName

Field prefabName.

bounds

private ChunkBounds bounds

Field bounds.

that

final WorldGenPrefabSupplier that

Field that.

minX

final int minX

Field minX.

minZ

final int minZ

Field minZ.

maxX

final int maxX

Field maxX.

maxZ

final int maxZ

Field maxZ.

childX

final int childX

Field childX.

childZ

final int childZ

Field childZ.

childPrefab

final IPrefabBuffer childPrefab

Field childPrefab.

childRotation

final PrefabRotation childRotation

Field childRotation.

Method Detail

WorldGenPrefabSupplier

public public WorldGenPrefabSupplier (final WorldGenPrefabLoader loader, final String prefabKey, final Path path)

Method WorldGenPrefabSupplier.

Parameters:
final WorldGenPrefabLoader loader
final String prefabKey
final Path path

getLoader

public WorldGenPrefabLoader getLoader ()

Method getLoader.

getName

public String getName ()

Method getName.

getPrefabName

public String getPrefabName ()

Method getPrefabName.

getPath

public Path getPath ()

Method getPath.

get

public IPrefabBuffer get ()

Method get.

getBounds

public IChunkBounds getBounds (@Nonnull final IPrefabBuffer buffer)

Method getBounds.

Parameters:
@Nonnull final IPrefabBuffer buffer

ChunkBounds

public new ChunkBounds ()

Method ChunkBounds.

equals

public boolean equals (@Nullable final Object o)

Method equals.

Parameters:
@Nullable final Object o

hashCode

public int hashCode ()

Method hashCode.

toString

public String toString ()

Method toString.