Interface IFallableExtension


public interface IFallableExtension
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    fallingTick(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos currentPosition, net.minecraft.world.entity.item.FallingBlockEntity entity)
    Called in FallingBlockEntity.tick() after vanilla processing on both server and client.
  • Method Details

    • fallingTick

      default void fallingTick(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos currentPosition, net.minecraft.world.entity.item.FallingBlockEntity entity)
      Called in FallingBlockEntity.tick() after vanilla processing on both server and client.

      This is not called in the tick where the entity lands, see Fallable.

      Parameters:
      level - The current level.
      currentPosition - The current position of the entity as a BlockPos.
      entity - The falling entity.