Interface ItemBuilder.UseCallback

Enclosing class:
ItemBuilder
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 ItemBuilder.UseCallback
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    use(net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand interactionHand)
     
  • Method Details

    • use

      boolean use(net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand interactionHand)