Interface ClientPlayerBlockBreakEvents.After

Enclosing class:
ClientPlayerBlockBreakEvents
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 ClientPlayerBlockBreakEvents.After
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterBlockBreak(net.minecraft.client.multiplayer.ClientLevel level, net.minecraft.client.player.LocalPlayer player, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
    Called after a block is successfully broken.
  • Method Details

    • afterBlockBreak

      void afterBlockBreak(net.minecraft.client.multiplayer.ClientLevel level, net.minecraft.client.player.LocalPlayer player, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
      Called after a block is successfully broken.
      Parameters:
      level - the level where the block was broken
      player - the player who broke the block
      pos - the position where the block was broken
      state - the block state before the block was broken