Interface BlockMovementChecks.AttachedCheck

All Known Subinterfaces:
BlockMovementChecks.AllChecks
Enclosing class:
BlockMovementChecks

public static interface BlockMovementChecks.AttachedCheck
  • Method Summary

    Modifier and Type
    Method
    Description
    isBlockAttachedTowards(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction direction)
    Attached blocks will move if blocks they are attached to are moved
  • Method Details

    • isBlockAttachedTowards

      BlockMovementChecks.CheckResult isBlockAttachedTowards(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction direction)
      Attached blocks will move if blocks they are attached to are moved