Interface BattleItemScanner.ItemFinder

Enclosing class:
BattleItemScanner
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 BattleItemScanner.ItemFinder
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.item.ItemStack
    find(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.item.ItemStack inventory, net.minecraft.world.item.ItemStack toMatch)
     
  • Method Details

    • find

      net.minecraft.world.item.ItemStack find(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.item.ItemStack inventory, net.minecraft.world.item.ItemStack toMatch)