Interface RealBlockBreakingEvents.DropResourcesEvent

Enclosing class:
RealBlockBreakingEvents
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 RealBlockBreakingEvents.DropResourcesEvent
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    drop(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, @Nullable net.minecraft.world.level.block.entity.BlockEntity blockEntity, @Nullable net.minecraft.world.entity.Entity entity, net.minecraft.world.item.ItemStack stack)
     
  • Method Details

    • drop

      boolean drop(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, @Nullable net.minecraft.world.level.block.entity.BlockEntity blockEntity, @Nullable net.minecraft.world.entity.Entity entity, net.minecraft.world.item.ItemStack stack)