Interface BlockMovementChecks.BrittleCheck

Enclosing class:
BlockMovementChecks
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface BlockMovementChecks.BrittleCheck
  • Method Summary

    Modifier and Type
    Method
    Description
    isBrittle(net.minecraft.world.level.block.state.BlockState state)
    Brittle blocks are blocks that require another block for support, like torches or ladders.
  • Method Details

    • isBrittle

      BlockMovementChecks.CheckResult isBrittle(net.minecraft.world.level.block.state.BlockState state)
      Brittle blocks are blocks that require another block for support, like torches or ladders. They're collected first to avoid them breaking when their support block is removed.