Interface IItemConsumerFactory<C extends IItemConsumer<C>>

    • Method Detail

      • acceptType

        boolean acceptType​(IType<IItem> type)
        Parameters:
        type - an item type to check if the the factory can create consumers for
        Returns:
        true if the factory can create consumers for the supplied type, false otherwise
      • newItemConsumer

        C newItemConsumer​(IType<IItem> itemType)
        Parameters:
        itemType - an item type to get an item consumer for
        Returns:
        a new item consumer for the supplied type