Class ItemPredicateArgument.ItemPredicate

  • All Implemented Interfaces:
    java.util.function.Predicate<ItemStack>
    Enclosing class:
    ItemPredicateArgument

    static class ItemPredicateArgument.ItemPredicate
    extends java.lang.Object
    implements java.util.function.Predicate<ItemStack>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean test​(ItemStack p_test_1_)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or
    • Constructor Detail

      • ItemPredicate

        public ItemPredicate​(Item p_i48221_1_,
                             @Nullable
                             CompoundNBT p_i48221_2_)
    • Method Detail

      • test

        public boolean test​(ItemStack p_test_1_)
        Specified by:
        test in interface java.util.function.Predicate<ItemStack>