Class ItemPredicateArgument.TagPredicate

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

    static class ItemPredicateArgument.TagPredicate
    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

      • TagPredicate

        public TagPredicate​(ITag<Item> p_i48220_1_,
                            @Nullable
                            CompoundNBT p_i48220_2_)
    • Method Detail

      • test

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