Interface BattleItemScanner.ItemConsumer

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

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

    • consume

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