Interface ItemBehavior.FinishUsingCallback

Enclosing class:
ItemBehavior
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 ItemBehavior.FinishUsingCallback
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.item.ItemStack
    finishUsingItem(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.Level level, net.minecraft.world.entity.LivingEntity livingEntity)
     
  • Method Details

    • finishUsingItem

      net.minecraft.world.item.ItemStack finishUsingItem(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.Level level, net.minecraft.world.entity.LivingEntity livingEntity)