Interface EngineItem.OnUseTickCallback

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.OnUseTickCallback
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run(net.minecraft.world.level.Level level, net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.item.ItemStack stack, int ticksRemaining)
     
  • Method Details

    • run

      void run(net.minecraft.world.level.Level level, net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.item.ItemStack stack, int ticksRemaining)