Class ItemFilters.BooleanFilter

    • Field Detail

      • value

        public boolean value
    • Constructor Detail

      • BooleanFilter

        protected BooleanFilter​(boolean value)
    • Method Detail

      • getPredicate

        public Predicate<IItem> getPredicate​(IType<IItem> type)
        Specified by:
        getPredicate in interface IItemFilter
        Parameters:
        type - the item type to get a predicate for
        Returns:
        a predicate to use for items of the supplied type