Interface BlockEvent.FallingLand

Enclosing interface:
BlockEvent

public static interface BlockEvent.FallingLand
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onLand(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState fallState, net.minecraft.world.level.block.state.BlockState landOn, net.minecraft.world.entity.item.FallingBlockEntity entity)
    Invoked when a falling block is about to land.
  • Method Details

    • onLand

      void onLand(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState fallState, net.minecraft.world.level.block.state.BlockState landOn, net.minecraft.world.entity.item.FallingBlockEntity entity)
      Invoked when a falling block is about to land.
      Parameters:
      level - The level the block is in.
      pos - The position of the block.
      fallState - The current state of the falling block.
      landOn - The current state of the block the falling one is landing on.
      entity - The falling block entity.