Interface ItemFactoryPredicate

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 interface ItemFactoryPredicate
Represents a item factory, which is tested in areas of the game for certain predicates.
Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(net.minecraft.world.item.ItemStack stack)
     
  • Method Details

    • test

      boolean test(net.minecraft.world.item.ItemStack stack)