Contents
Class PrefabBuffer.Builder
java.lang.Object
com.hypixel.hytale.server.core.prefab.selection.buffer.impl.PrefabBuffer.Builder
- Enclosing class:
PrefabBuffer
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddChildPrefab(int x, int y, int z, String path, boolean fitHeightmap, boolean inheritSeed, boolean inheritHeightCondition, PrefabWeights weights, PrefabRotation rotation) voidaddColumn(int x, int z, PrefabBufferBlockEntry[] entries, Holder<EntityStore>[] entityHolders) build()newBlockEntry(int y) voidsetAnchor(org.joml.Vector3i anchor)
-
Method Details
-
setAnchor
public void setAnchor(@Nonnull org.joml.Vector3i anchor) -
addColumn
public void addColumn(int x, int z, @Nonnull PrefabBufferBlockEntry[] entries, @Nullable Holder<EntityStore>[] entityHolders) -
addChildPrefab
public void addChildPrefab(int x, int y, int z, @Nonnull String path, boolean fitHeightmap, boolean inheritSeed, boolean inheritHeightCondition, @Nullable PrefabWeights weights, @Nonnull PrefabRotation rotation) -
newBlockEntry
-
build
-