Class BlockUtil

java.lang.Object
ac.boar.anticheat.util.block.BlockUtil

public final class BlockUtil extends Object
  • Constructor Details

    • BlockUtil

      public BlockUtil()
  • Method Details

    • restoreCorrectBlock

      public static void restoreCorrectBlock(BoarPlayer player, org.cloudburstmc.math.vector.Vector3i vector, BoarBlockState blockState)
    • syncBlock

      public static void syncBlock(BoarPlayer player, org.cloudburstmc.math.vector.Vector3i vector)
    • syncBlock

      public static void syncBlock(BoarPlayer player, org.cloudburstmc.math.vector.Vector3i vector, BoarBlockState blockState)
    • getBlockPosition

      public static org.cloudburstmc.math.vector.Vector3i getBlockPosition(org.cloudburstmc.math.vector.Vector3i blockPos, int face)
    • restoreCorrectBlock

      public static void restoreCorrectBlock(BoarPlayer player, org.cloudburstmc.math.vector.Vector3i blockPos)
    • getPlacementState

      public static BoarBlockState getPlacementState(BoarPlayer player, Block block, org.cloudburstmc.math.vector.Vector3i position)
    • determineCanBreak

      public static boolean determineCanBreak(BoarPlayer player, BoarBlockState state)