Skip to content

PrefabBufferValidator

Package: com.hypixel.hytale.builtin.blockphysics

public class PrefabBufferValidator

Validates prefab buffer contents including block types, filler blocks, entity components, and block states.

int x, int y, int z, int blockId, int support, int rotation, int filler, @Nullable Holder<ChunkStore> holder, StringBuilder reason
ModifierReturn TypeSignature
publicintgetBlock(@Nonnull IPrefabBuffer iPrefabBuffer, Void unused, int x, int y, int z)
publicintgetFiller(@Nonnull IPrefabBuffer iPrefabBuffer, Void unused, int x, int y, int z)
publicintgetRotationIndex(@Nonnull IPrefabBuffer iPrefabBuffer, Void unused, int x, int y, int z)
public staticList<String>validateAllPrefabs(@Nonnull List<ValidationOption> list)
public staticList<String>validatePrefabsInPath(@Nonnull Path dataFolder, @Nonnull Set<ValidationOption> options)
public staticStringvalidate(@Nonnull IPrefabBuffer prefab, @Nonnull Set<ValidationOption> options)
publicrecordValidateBlockEvent(int x, int y, int z, int blockId, int support, int rotation, int filler, @Nullable Holder<ChunkStore> holder, StringBuilder reason)
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.