Interface ReadableItemFilter

All Superinterfaces:
ItemFilter
All Known Subinterfaces:
ResolvableItemFilter
All Known Implementing Classes:
AggregateItemFilter, ConstantItemFilter, ExactItemFilter, ExactItemSetFilter, ExactItemStackFilter, InvertedItemFilter, ItemClassFilter, ItemTagFilter

public interface ReadableItemFilter extends ItemFilter
Marker interface for ItemFilter that indicates that object obtaining instances of this might be able to read the real contents.

NOTE: This can only be implemented by classes included in LibBlockAttributes!. (As many implementations must implement direct support for subclasses of this). Note, however, that LBA may add new implementing classes in the future - so it is a bad idea to crash if this list isn't complete.

As such you should pretend that this interface is "sealed", and the only valid subtypes are:

  1. ConstantItemFilter
  2. ExactItemFilter
  3. ExactItemSetFilter
  4. ExactItemStackFilter
  5. ItemClassFilter
  6. ExactItemSetFilter
  7. AggregateItemFilter
  8. ResolvableItemFilter
Note that ResolvableItemFilter is not sealed, but it must only return ReadableItemFilters that are ReadableItemFilters, other than ResolvableItemFilter.