Class BlockPlacementHelper

java.lang.Object
com.hypixel.hytale.server.npc.util.BlockPlacementHelper

public class BlockPlacementHelper extends Object
Created on 04/01/2019
  • Constructor Details

    • BlockPlacementHelper

      public BlockPlacementHelper()
  • Method Details

    • canPlaceUnitBlock

      public static boolean canPlaceUnitBlock(@Nonnull World world, BlockType placedBlockType, boolean allowEmptyMaterials, int x, int y, int z)
    • canPlaceBlock

      public static boolean canPlaceBlock(@Nonnull World world, @Nonnull BlockType placedBlockType, int rotationIndex, boolean allowEmptyMaterials, int x, int y, int z)
    • testBlock

      public static boolean testBlock(BlockType placedBlockType, @Nonnull BlockType blockType, boolean allowEmptyMaterials)
    • testSupportingBlock

      public static boolean testSupportingBlock(@Nonnull BlockType blockType, int rotation, int filler)