Class WorldGenPrefabSupplier
java.lang.Object
com.hypixel.hytale.server.worldgen.loader.WorldGenPrefabSupplier
- All Implemented Interfaces:
PrefabSupplier,Supplier<IPrefabBuffer>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ChunkBoundsstatic final WorldGenPrefabSupplier[]private final WorldGenPrefabLoaderprivate final Pathprivate final Stringprivate String -
Constructor Summary
ConstructorsConstructorDescriptionWorldGenPrefabSupplier(WorldGenPrefabLoader loader, String prefabKey, Path path) -
Method Summary
Modifier and TypeMethodDescriptionbooleanget()private ChunkBoundsgetBounds(int depth, int x, int z, IPrefabBuffer prefab, PrefabRotation rotation, ChunkBounds bounds) getBounds(IPrefabBuffer buffer) getName()getPath()inthashCode()toString()
-
Field Details
-
EMPTY_ARRAY
-
loader
-
prefabKey
-
path
-
prefabName
-
bounds
-
-
Constructor Details
-
WorldGenPrefabSupplier
-
-
Method Details
-
getLoader
-
getName
-
getPrefabName
-
getPath
-
get
- Specified by:
getin interfaceSupplier<IPrefabBuffer>
-
getBounds
-
equals
-
hashCode
public int hashCode() -
toString
-
getBounds
@Nonnull private ChunkBounds getBounds(int depth, int x, int z, @Nonnull IPrefabBuffer prefab, @Nonnull PrefabRotation rotation, @Nonnull ChunkBounds bounds)
-