Skip to content

BlockMask

Package: com.hypixel.hytale.builtin.hytalegenerator

public class BlockMask

Configures material-based placement rules that control which blocks can be placed and which existing blocks can be replaced.

ModifierReturn TypeSignature
publicbooleancanPlace(@Nonnull Material material)
publicbooleancanPlace(int materialHash)
publicbooleancanReplace(@Nonnull Material source, @Nonnull Material destination)
publicbooleancanReplace(int sourceHash, int destinationHash)
publicvoidsetSkippedBlocks(@Nonnull MaterialSet materialSet)
publicvoidputBlockMaskEntry(@Nonnull MaterialSet source, @Nonnull MaterialSet destination)
publicvoidsetDefaultMask(@Nonnull MaterialSet materialSet)
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.