Class MultiBlockMask

java.lang.Object
com.hypixel.hytale.server.core.prefab.selection.mask.BlockMask
com.hypixel.hytale.server.core.prefab.selection.mask.MultiBlockMask

public class MultiBlockMask extends BlockMask
  • Constructor Details

    • MultiBlockMask

      public MultiBlockMask(BlockMask[] masks)
  • Method Details

    • isExcluded

      public boolean isExcluded(@Nonnull BlockReader accessor, int x, int y, int z, @Nullable org.joml.Vector3i selectionMin, @Nullable org.joml.Vector3i selectionMax, int blockId)
      Overrides:
      isExcluded in class BlockMask
    • isExcluded

      public boolean isExcluded(@Nonnull BlockReader accessor, int x, int y, int z, @Nullable org.joml.Vector3i selectionMin, @Nullable org.joml.Vector3i selectionMax, int blockId, int fluidId)
      Description copied from class: BlockMask
      Tests whether the mask excludes the given position. The selectionMin and selectionMax bounds are the area that the # filter matches against, so callers must pass the player's selection rather than the area their own operation happens to cover. Pass null when there is no selection.
      Overrides:
      isExcluded in class BlockMask
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class BlockMask
    • informativeToString

      @Nonnull public String informativeToString()
      Overrides:
      informativeToString in class BlockMask