Interface IItemStackQuery.IItemStackNBTQuery

All Superinterfaces:
IItemStackQuery, Predicate<net.minecraft.world.item.ItemStack>
Enclosing interface:
IItemStackQuery
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 IItemStackQuery.IItemStackNBTQuery extends IItemStackQuery
  • Method Details

    • matches

      default boolean matches(net.minecraft.world.item.ItemStack itemStack)
      Specified by:
      matches in interface IItemStackQuery
    • matches

      boolean matches(net.minecraft.nbt.CompoundTag compound)