Interface EngineItem.UseCallback

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

    Modifier and Type
    Method
    Description
    net.minecraft.world.InteractionResult
    run(net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand)
     
  • Method Details

    • run

      net.minecraft.world.InteractionResult run(net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand)